feat: add footer
This commit is contained in:
parent
345d0bed05
commit
229d29a882
8
src/components/Footer.astro
Normal file
8
src/components/Footer.astro
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
<p class="copyright">© 2024 Furkan Erdem</p>
|
||||||
|
<a class="about-me" href="#">Hakkımda</a>
|
||||||
|
</div>
|
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user