diff --git a/src/layouts/HeadFavicon.astro b/src/layouts/HeadFavicon.astro new file mode 100644 index 0000000..f0f13c9 --- /dev/null +++ b/src/layouts/HeadFavicon.astro @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 20b8297..bc74ec4 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,7 +1,8 @@ --- -import '../../assets/css/main.css'; -import BgParticles from '../components/BgParticles.astro'; -import BgGrid from '../components/BgGrid.astro'; +import '../../assets/css/main.css' +import BgParticles from '../components/BgParticles.astro' +import BgGrid from '../components/BgGrid.astro' +import HeadFavicon from './HeadFavicon.astro' interface Props { title?: string @@ -10,12 +11,16 @@ interface Props { hasGrid?: boolean } -const { title = "Home", hasParticles = true, hasGrid = true } = Astro.props; +const { title = "Home", hasParticles = true, hasGrid = true } = Astro.props const baseTitle = 'Alexis Pelé' const renderedTitle = `${title} · ${baseTitle}` -const { description = baseTitle } = Astro.props; +const { description = baseTitle } = Astro.props + +const authorName = "Alexis Pelé" +const authorUsername = "AlexisNP" +const websiteDomain = "alexcreates.fr" --- @@ -33,50 +38,20 @@ const { description = baseTitle } = Astro.props; - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + +