diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..8551294 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,18 @@ +--- +const platform = "github"; +const username = "withastro"; +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..aa83679 --- /dev/null +++ b/src/components/Hamburger.astro @@ -0,0 +1,7 @@ +--- +--- +
+ + + +
\ No newline at end of file diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 0000000..7935af7 --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,10 @@ +--- +import Hamburger from './Hamburger.astro'; +import Navigation from './Navigation.astro'; +--- +
+ +
diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro new file mode 100644 index 0000000..cf6026f --- /dev/null +++ b/src/components/Navigation.astro @@ -0,0 +1,7 @@ +--- +--- + \ No newline at end of file diff --git a/src/components/Social.astro b/src/components/Social.astro new file mode 100644 index 0000000..20979f4 --- /dev/null +++ b/src/components/Social.astro @@ -0,0 +1,13 @@ +--- +const { platform, username } = Astro.props; +--- +{platform} + + \ No newline at end of file diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro new file mode 100644 index 0000000..9938436 --- /dev/null +++ b/src/layouts/BaseLayout.astro @@ -0,0 +1,25 @@ +--- +import Header from '../components/Header.astro'; +import Footer from '../components/Footer.astro'; +import '../styles/global.css'; +const { pageTitle } = Astro.props; +--- + + + + + + + + {pageTitle} + + +
+

{pageTitle}

+ +