diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..7887c28 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,8 @@ +--- +import Social from './Social.astro'; +--- + + \ No newline at end of file diff --git a/src/components/Hamburger.astro b/src/components/Hamburger.astro new file mode 100644 index 0000000..1423acf --- /dev/null +++ b/src/components/Hamburger.astro @@ -0,0 +1,7 @@ +--- +--- +
+ + + +
\ No newline at end of file diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro new file mode 100644 index 0000000..87a5510 --- /dev/null +++ b/src/components/Navigation.astro @@ -0,0 +1,10 @@ +--- + +--- + + \ No newline at end of file diff --git a/src/components/Social.astro b/src/components/Social.astro new file mode 100644 index 0000000..22086a7 --- /dev/null +++ b/src/components/Social.astro @@ -0,0 +1,4 @@ +--- +const { platform, tld, username } = Astro.props; +--- +{platform} \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 7b552be..a8171b9 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,13 +1,18 @@ --- +import Navigation from '../components/Navigation.astro'; +import Footer from '../components/Footer.astro'; +import Hamburger from '../components/Hamburger.astro'; + interface Props { title: string; + lang: string; } -const { title } = Astro.props; +const { title, lang } = Astro.props; --- - + @@ -17,35 +22,10 @@ const { title } = Astro.props; {title} + + +