Setup a very basic starting point for the website
This commit is contained in:
parent
f1f454b6f9
commit
99f8089b6d
20 changed files with 324 additions and 22 deletions
4
src/components/Favicon.astro
Normal file
4
src/components/Favicon.astro
Normal file
|
@ -0,0 +1,4 @@
|
|||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
18
src/components/Footer.astro
Normal file
18
src/components/Footer.astro
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
const buttonFormat = "gif";
|
||||
|
||||
import Social from './Social.astro';
|
||||
---
|
||||
|
||||
<style>
|
||||
footer {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
<footer>
|
||||
<img class="badge" src={`/static/img/buttons/aria.${buttonFormat}`} decoding="async" />
|
||||
<Social />
|
||||
</footer>
|
4
src/components/FriendLink.astro
Normal file
4
src/components/FriendLink.astro
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
const { name, image, target } = Astro.props;
|
||||
---
|
||||
<a href={`${target}`}><img class="badge" src={`${image}`} alt={`${name}`} decoding="async" /></a>
|
6
src/components/Navigation.astro
Normal file
6
src/components/Navigation.astro
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div class="nav-links">
|
||||
<a href="/">Home</a>
|
||||
<a href="/about">About</a>
|
||||
<a href="/blog">Blog</a>
|
||||
<a href="/friends">Friends</a>
|
||||
</div>
|
12
src/components/Social.astro
Normal file
12
src/components/Social.astro
Normal file
|
@ -0,0 +1,12 @@
|
|||
<a href="https://bsky.app/profile/did:plc:bzrn33tcfgjxnsanvg6py3xn">Bluesky</a>
|
||||
<a href="https://buymymojo.net/twitter/">Twitter(Archive)</a>
|
||||
|
||||
<style>
|
||||
a {
|
||||
padding: 0.5rem 1rem;
|
||||
color: white;
|
||||
background-color: #4c1d95;
|
||||
text-decoration: none;
|
||||
border-radius: 8px;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue