Skip to content

Commit

Permalink
add social and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
skamansam authored Apr 10, 2024
1 parent 6963854 commit d1c9f0c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Binary file added public/eight-social-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/octagonal-design-favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions src/layouts/DefaultLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import Header from '../components/Header.astro'
import Footer from '../components/Footer.astro'
const {
title = 'Astro',
description = 'A starter project with accessibility features using Astro static site builder. Contains accessible landmarks, skip links, a dark mode color scheme, better focus outline and keyboard menu navigation.',
title = 'Story of The Eight',
description = 'A Collection of stories as told by Samuel C Tyler, concerning the collected lore of The Eight.',
url,
image = '/social-preview-image.png',
author = 'Mark Teekman',
image = '/eight-social-preview.png',
author = 'Samuel C Tyler',
} = Astro.props
---

Expand All @@ -21,14 +21,14 @@ const {
<meta http-equiv="X-UA-Compatible" content="ie=edge" />

<!-- favicon -->
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/octagonal-design-favicon.svg" />

<SiteMeta
title={title}
description={description.substring(0, 100)}
url={Astro.site
? `${Astro.site}/${title.toLowerCase().replaceAll(' ', '-')}`
: `https://accessible-astro.dev/${title.toLowerCase().replaceAll(' ', '-')}`}
: `https://story-of-the-eight.vercel.app/${title.toLowerCase().replaceAll(' ', '-')}`}
image={image}
author={author}
/>
Expand Down

0 comments on commit d1c9f0c

Please sign in to comment.