Skip to content

Commit

Permalink
Added logo to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold-Anderson committed May 23, 2024
1 parent b7ab546 commit 79b1c80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Logo.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import { SITE } from 'astrowind:config';
// import { SITE } from 'astrowind:config';
import { Image } from 'astro:assets';
import ACFOLogo from '../assets/images/Logo_Blue.png'
Expand Down
3 changes: 2 additions & 1 deletion src/components/widgets/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
import { Icon } from 'astro-icon/components';
import { SITE } from 'astrowind:config';
import Logo from '../Logo.astro';
import { getHomePermalink } from '~/utils/permalinks';
interface Link {
Expand Down Expand Up @@ -32,7 +33,7 @@ const { socialLinks = [], secondaryLinks = [], links = [], footNote = '', theme
<div class="grid grid-cols-12 gap-4 gap-y-8 sm:gap-8 py-8 md:py-12">
<div class="col-span-12 lg:col-span-4">
<div class="mb-2">
<a class="inline-block font-bold text-xl" href={getHomePermalink()}>{SITE?.name}</a>
<a class="inline-block font-bold text-xl" href={getHomePermalink()}><Logo /></a>
</div>
<div class="text-sm text-muted flex gap-1">
{
Expand Down
4 changes: 2 additions & 2 deletions src/components/widgets/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Icon } from 'astro-icon/components';
import Logo from '~/components/Logo.astro';
import ToggleTheme from '~/components/common/ToggleTheme.astro';
import ToggleMenu from '~/components/common/ToggleMenu.astro';
import Button from '~/components/ui/Button.astro';
// import Button from '~/components/ui/Button.astro';
import { getHomePermalink } from '~/utils/permalinks';
import { trimSlash, getAsset } from '~/utils/permalinks';
Expand Down Expand Up @@ -37,7 +37,7 @@ export interface Props {
const {
id = 'header',
links = [],
actions = [],
// actions = [],
isSticky = false,
isDark = false,
isFullWidth = false,
Expand Down

0 comments on commit 79b1c80

Please sign in to comment.