use logo #52

Merged
jakob.scheid merged 8 commits from feature/use-logo into main 2026-05-15 18:53:04 +02:00
Showing only changes of commit 8eab67b78f - Show all commits
+2 -2
View File
@@ -16,9 +16,9 @@ limitations under the License.
<script setup> <script setup>
import Searchbar from '../features/search/components/Searchbar.vue'; import Searchbar from '../features/search/components/Searchbar.vue';
import { ref } from 'vue'; import { ref } from 'vue';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import logo from '@/assets/logo.svg'; // ← HIER hin verschieben
const router = useRouter(); const router = useRouter();
@@ -32,7 +32,7 @@ const submitSearch = function () {
<template> <template>
<div class="search-content"> <div class="search-content">
<header class="global-header"> <header class="global-header">
<img src="@/assets/logo.svg" alt="Seekra" class="header-logo" /> <img :src="logo" alt="Seekra" class="header-logo" />
jakob.scheid marked this conversation as resolved Outdated
Outdated
Review

Using an alias in an <img> src usually works. But there is no guarantee that it will actually work 100% of the time. That is why I would ask you to import the image in the <script> (such as import logo from '@/assets/logo.svg';) and using it dynamically with :src (such as :src="logo").

Using an alias in an `<img>` `src` usually works. But there is no guarantee that it will actually work 100% of the time. That is why I would ask you to import the image in the `<script>` (such as `import logo from '@/assets/logo.svg';`) and using it dynamically with `:src` (such as `:src="logo"`).
Outdated
Review

Is done!

Is done!
<span class="slogan"> <span class="slogan">
Built to search. Built to search.
</span> </span>