diff options
author | Valentin Popov <valentin@popov.link> | 2024-10-24 22:45:26 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-10-24 22:45:26 +0300 |
commit | ef6185eb00b578c10034fe94be5131f0342a4d82 (patch) | |
tree | d2301d496182683203c20f5e8c8070e9aae79083 | |
parent | 2aa8042e3db6d7bdb72cf14669bcd27c74620911 (diff) | |
download | popov.link-ef6185eb00b578c10034fe94be5131f0342a4d82.tar.xz popov.link-ef6185eb00b578c10034fe94be5131f0342a4d82.zip |
Deleted the footer of the pages
-rw-r--r-- | src/components/Footer.astro | 60 | ||||
-rw-r--r-- | src/layouts/BaseLayout.astro | 2 |
2 files changed, 0 insertions, 62 deletions
diff --git a/src/components/Footer.astro b/src/components/Footer.astro deleted file mode 100644 index 3dd3745..0000000 --- a/src/components/Footer.astro +++ /dev/null @@ -1,60 +0,0 @@ ---- -import { Icon } from "astro-icon/components"; -import dayjs from "dayjs"; ---- - -<style lang="scss"> - @import "../scss/_variables.scss"; - - footer { - bottom: 0; - height: 4em; - left: 0; - padding: 1em 4em; - position: absolute; - right: 0; - } - - a { - color: $colorText; - - &:visited { - color: $colorText; - } - } - - .left-nav, - .right-nav { - display: inline-block; - vertical-align: top; - width: 49%; - } - - .left-nav { - float: left; - font-size: $fontSizeBase * 0.75; - text-align: left; - } - - .right-nav { - float: right; - text-align: right; - } - - @media (width <=684px) { - footer { - padding: 4em 1em 2em; - } - } -</style> - -<footer> - <div class="left-nav"> - <span>© {dayjs().year()} <a href="mailto:valentin@popov.link">Valentin Popov</a></span> - </div> - <div class="right-nav"> - <a href="https://github.com/valentineus" target="_blank"><Icon name="hugeicons:github-01" /></a> - <a href="https://analytics.popov.link" target="_blank"><Icon name="hugeicons:analytics-up" /></a> - <a href="/feed.xml" target="_blank"><Icon name="hugeicons:rss" /></a> - </div> -</footer> diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 4a4efe6..ca8826a 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,6 +1,5 @@ --- import Analytics from "../components/Analytics.astro"; -import Footer from "../components/Footer.astro"; import Head from "../components/Head.astro"; import "../scss/global.scss"; @@ -22,7 +21,6 @@ const { description, title } = Astro.props; <main> <slot /> </main> - <Footer /> <Analytics title={title ?? import.meta.env.DEFAULT_TITLE} /> </body> </html> |