diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..74f7dab --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,8 @@ +--- + +--- + + diff --git a/src/components/MainHeader.astro b/src/components/Header.astro similarity index 100% rename from src/components/MainHeader.astro rename to src/components/Header.astro diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 69cb8f6..4bb0f4e 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,6 +1,6 @@ --- interface Props { - title: string; + title: string; } const { title } = Astro.props; @@ -8,28 +8,29 @@ const { title } = Astro.props; - - - - - - - {title} - - - - + + + + + + + {title} + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro index 8945d1e..0407cda 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,11 +1,13 @@ --- -import MainHeader from "../components/MainHeader.astro"; +import Header from "../components/Header.astro"; +import Footer from "../components/Footer.astro"; import Layout from "../layouts/Layout.astro"; import "../styles/gol.css"; ---
- +
+
diff --git a/src/styles/gol.css b/src/styles/gol.css index 791be53..07cce3e 100644 --- a/src/styles/gol.css +++ b/src/styles/gol.css @@ -63,3 +63,15 @@ margin: 0; padding: 0; } + +.footer { + display: flex; + flex-direction: row; + align-items: center; + gap: 10px; + color: gray; +} + +.footer a { + color: inherit; +}