feat: add footer

This commit is contained in:
log101 2024-05-04 10:34:55 +03:00
parent 345d0bed05
commit 229d29a882
5 changed files with 48 additions and 25 deletions

View File

@ -0,0 +1,8 @@
---
---
<div class="footer">
<p class="copyright">© 2024 Furkan Erdem</p>
<a class="about-me" href="#">Hakkımda</a>
</div>

View File

@ -24,8 +24,9 @@ const { title } = Astro.props;
:root { :root {
--h1-desktop: 3.815rem; --h1-desktop: 3.815rem;
--h6-desktop: 1.25rem; --h6-desktop: 1.25rem;
--small-desktop: 0.8rem;
font-size: 18px; font-size: 18px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
sans-serif; sans-serif;
} }
body { body {

View File

@ -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 Layout from "../layouts/Layout.astro";
import "../styles/gol.css"; import "../styles/gol.css";
--- ---
<Layout title="log101"> <Layout title="log101">
<div class="container"> <div class="container">
<MainHeader /> <Header />
<Footer />
</div> </div>
</Layout> </Layout>

View File

@ -63,3 +63,15 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
.footer {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
color: gray;
}
.footer a {
color: inherit;
}