-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a52364
commit 6f6a52a
Showing
4 changed files
with
74 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,32 @@ | ||
--- | ||
import { siteConfig } from "@/site-config"; | ||
import Icon from "node_modules/astro-icon/components/Icon.astro"; | ||
const year = new Date().getFullYear(); | ||
--- | ||
|
||
<footer class="border-b"> | ||
<footer class="h-12 border-b sm:h-24"> | ||
<div | ||
class="container mx-auto border-x border-l border-r px-0 py-8 text-sm font-normal sm:flex-row sm:justify-between sm:text-xs" | ||
class="container mx-auto flex h-full items-end justify-between border-x border-l border-r text-sm font-normal" | ||
> | ||
<div class="me-0 sm:me-4"> | ||
© {siteConfig.author} | ||
{year} | ||
</div> | ||
<div class="flex w-7 justify-center"> | ||
<button | ||
class="relative h-7 w-7 text-textProminent" | ||
type="button" | ||
x-data | ||
@click.window="window.scrollTo({top: 0, behavior: 'smooth'})" | ||
> | ||
<Icon | ||
aria-hidden="true" | ||
class="h-4 w-4 sm:h-7 sm:w-7" | ||
focusable="false" | ||
name="mdi:arrow-up-thin-circle-outline" | ||
/> | ||
</button> | ||
</div> | ||
</div> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters