Skip to content

Commit

Permalink
add buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
mudkipdev committed May 11, 2024
1 parent bfe8b7e commit 6aeb871
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 4 deletions.
Binary file added public/buttons/astro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/buttons/firefox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/buttons/mat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/buttons/mudkip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/buttons/nixos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/buttons/vsc.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Card.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { title, description, url } = Astro.props
<h2>{
url == null
? title
: <a data-astro-prefetch="false" href={url}>{title}</a>
: <a href={url}>{title}</a>
}</h2>

<p>{description}</p>
Expand Down
17 changes: 17 additions & 0 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
---
<footer>
<a href="https://mudkip.dev"><img src="/buttons/mudkip.png"></a>
<a href="https://matdoes.dev"><img src="/buttons/mat.png" /></a>
<a href="https://mozilla.org/firefox/"><img src="/buttons/firefox.png" /></a>
<a href="https://code.visualstudio.com"><img src="/buttons/vsc.gif" /></a>
<a href="https://nixos.org/"><img src="/buttons/nixos.png" /></a>
</footer>

<style>
.button {
width: 88;
height: 31;
image-rendering: pixelated;
}
</style>
File renamed without changes.
5 changes: 2 additions & 3 deletions src/layouts/Page.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import Navigation from "@components/Navigation.astro";
import Header from "@components/Header.astro";
import "@styles/global.css";
const { title } = Astro.props;
---
Expand All @@ -11,7 +11,6 @@ const { title } = Astro.props;
rel="alternate" type="application/rss+xml"
title="mudkip's blog" href="/rss.xml"
/>

<meta charset="utf-8">
<meta name="generator" content={Astro.generator} />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand All @@ -22,7 +21,7 @@ const { title } = Astro.props;
</head>
<body>
<h1>{title}</h1>
<Navigation />
<Header />
<main>
<slot />
</main>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
import Page from "@layouts/Page.astro";
import Footer from "@components/Footer.astro";
---
<Page title="mudkip">
<p>i use NixOS btw</p>
Expand All @@ -8,4 +9,5 @@ import Page from "@layouts/Page.astro";
<li>GitHub: <a href="https://github.com/mudkipdev" target="_blank">mudkipdev</a></li>
<li>Email: <a href="mailto:[email protected]">[email protected]</a></li>
</ul>
<Footer />
</Page>

0 comments on commit 6aeb871

Please sign in to comment.