Skip to content

Commit

Permalink
Update the logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbrandB committed Jul 2, 2024
1 parent 42353d1 commit af42b88
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion resources/js/Components/ApplicationLogo.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<template>
Sports toolkit v1
<img class="rounded" src="/storage/logo.jpg" alt="Application logo" />
</template>
2 changes: 1 addition & 1 deletion resources/js/CustomComponents/TailwindWidth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ window.addEventListener(
'resize',
debounce(() => {
w.value = window.innerWidth
}, 200),
}, 100),
false
)

Expand Down
2 changes: 1 addition & 1 deletion resources/js/Layouts/AuthenticatedLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (usePage().props.auth.user !== null) {
<div class="flex">
<!-- Logo -->
<div class="shrink-0 flex items-center">
<Link :href="route('dashboard')">
<Link :href="route('items.index')">
<ApplicationLogo
class="block h-9 w-auto fill-current text-gray-800 dark:text-gray-200"
/>
Expand Down
7 changes: 4 additions & 3 deletions resources/js/Layouts/GuestLayout.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<script setup lang="ts">
import { Link } from '@inertiajs/vue3';
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
</script>

<template>
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100 dark:bg-gray-900">
<div>
<Link href="/">
Sports toolkit v1
<div class="max-w-[10%]">
<Link :href="route('items.index')">
<ApplicationLogo/>
</Link>
</div>

Expand Down

0 comments on commit af42b88

Please sign in to comment.