Skip to content

Commit 79b1c80

Browse files
Added logo to footer
1 parent b7ab546 commit 79b1c80

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/components/Logo.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { SITE } from 'astrowind:config';
2+
// import { SITE } from 'astrowind:config';
33
import { Image } from 'astro:assets';
44
import ACFOLogo from '../assets/images/Logo_Blue.png'
55

src/components/widgets/Footer.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
import { Icon } from 'astro-icon/components';
33
import { SITE } from 'astrowind:config';
4+
import Logo from '../Logo.astro';
45
import { getHomePermalink } from '~/utils/permalinks';
56
67
interface Link {
@@ -32,7 +33,7 @@ const { socialLinks = [], secondaryLinks = [], links = [], footNote = '', theme
3233
<div class="grid grid-cols-12 gap-4 gap-y-8 sm:gap-8 py-8 md:py-12">
3334
<div class="col-span-12 lg:col-span-4">
3435
<div class="mb-2">
35-
<a class="inline-block font-bold text-xl" href={getHomePermalink()}>{SITE?.name}</a>
36+
<a class="inline-block font-bold text-xl" href={getHomePermalink()}><Logo /></a>
3637
</div>
3738
<div class="text-sm text-muted flex gap-1">
3839
{

src/components/widgets/Header.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Icon } from 'astro-icon/components';
33
import Logo from '~/components/Logo.astro';
44
import ToggleTheme from '~/components/common/ToggleTheme.astro';
55
import ToggleMenu from '~/components/common/ToggleMenu.astro';
6-
import Button from '~/components/ui/Button.astro';
6+
// import Button from '~/components/ui/Button.astro';
77
88
import { getHomePermalink } from '~/utils/permalinks';
99
import { trimSlash, getAsset } from '~/utils/permalinks';
@@ -37,7 +37,7 @@ export interface Props {
3737
const {
3838
id = 'header',
3939
links = [],
40-
actions = [],
40+
// actions = [],
4141
isSticky = false,
4242
isDark = false,
4343
isFullWidth = false,

0 commit comments

Comments
 (0)