-
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.
Merge pull request #84 from mudkipdev/redesign
Redesign
- Loading branch information
Showing
32 changed files
with
206 additions
and
261 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,26 +1,22 @@ | ||
--- | ||
const year = new Date().getFullYear(); | ||
--- | ||
<footer> | ||
<a href="https://mudkip.dev"><img alt="mudkip" src="/buttons/mudkip.png"></a> | ||
<a href="https://matdoes.dev/retro"><img src="/buttons/mat.png"></a> | ||
<a href="https://zeffo.me"><img src="/buttons/aman.webp" /></a> | ||
<a href="https://goldenstack.net"><img src="/buttons/golden.png"></a> | ||
<a href="https://damcraft.de"><img src="/buttons/dam.png"></a> | ||
<a href="https://nikolan.xyz"><img src="/buttons/niko.png"></a> | ||
<a href="https://paddyk45.de"><img src="/buttons/paddy.png"></a> | ||
<a href="https://emortaldev.github.io"><img src="/buttons/emortal.png"></a> | ||
<a href="https://aubrey.rs"><img src="/buttons/aubrey.png"></a> | ||
<a href="https://redcatho.de"><img src="/buttons/red.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://ublockorigin.com"><img src="/buttons/ublock.png"></a> | ||
<a href="https://512kb.club"><img src="/buttons/512kb-club.gif"></a> | ||
<span id="footer"> | ||
copyright (c) mudkip {year}. all rights reserved. | ||
<br> | ||
website inspired by <a href="https://zptr.cc">zptr</a> | ||
</span> | ||
</footer> | ||
|
||
<style> | ||
footer a { | ||
width: 88px; | ||
height: 31px; | ||
image-rendering: pixelated; | ||
span#footer { | ||
color: var(--surface-5); | ||
user-select: none; | ||
} | ||
|
||
span#footer a { | ||
--color: var(--surface-5); | ||
font-size: inherit; | ||
} | ||
</style> |
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,30 +1,44 @@ | ||
--- | ||
--- | ||
<nav> | ||
<a href="/">home</a> | ||
<a href="/about">about</a> | ||
<a href="/projects">projects</a> | ||
<a href="/blog">blog</a> | ||
<a href="/">/home</a> | ||
<span class="divider">|</span> | ||
<a href="/about">/about</a> | ||
<span class="divider">|</span> | ||
<a href="/projects">/projects</a> | ||
<span class="divider">|</span> | ||
<a href="/blog">/blog</a> | ||
</nav> | ||
|
||
<style> | ||
a:nth-child(1) { | ||
color: #ED8796; | ||
nav { | ||
display: flex; | ||
flex-direction: row; | ||
user-select: none; | ||
gap: 1em; | ||
} | ||
|
||
a:nth-child(2) { | ||
color: #F5A97F; | ||
nav span.divider { | ||
color: var(--surface-5); | ||
} | ||
|
||
a:nth-child(3) { | ||
color: #EED49E; | ||
nav a:nth-of-type(1) { | ||
--color: var(--ctp-macchiato-red); | ||
} | ||
|
||
a:nth-child(4) { | ||
color: #A6DA95; | ||
nav a:nth-of-type(2) { | ||
--color: var(--ctp-macchiato-peach); | ||
} | ||
|
||
a:nth-child(5) { | ||
color: #8AADF4; | ||
nav a:nth-of-type(3) { | ||
--color: var(--ctp-macchiato-yellow); | ||
} | ||
|
||
nav a:nth-of-type(4) { | ||
--color: var(--ctp-macchiato-green); | ||
} | ||
|
||
nav a:nth-of-type(5) { | ||
--color: var(--ctp-macchiato-blue); | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
interface Props { | ||
path: string; | ||
} | ||
const { path } = Astro.props; | ||
--- | ||
<div id="profile"> | ||
<img src="https://avatars.githubusercontent.com/u/86132148" width="80" height="80"> | ||
<div id="text"> | ||
<h1>mudkip</h1> | ||
<p>{path}</p> | ||
</div> | ||
</div> | ||
|
||
<hr> | ||
|
||
<style> | ||
#profile { | ||
display: flex; | ||
flex-direction: row; | ||
user-select: none; | ||
gap: 1.25em; | ||
} | ||
|
||
/* fix all this */ | ||
#profile #text { | ||
margin-top: -1em; | ||
flex-direction: column; | ||
gap: 0; | ||
} | ||
|
||
#profile p { | ||
margin-top: -0.5em; | ||
color: var(--surface-5); | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
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,30 +1,42 @@ | ||
--- | ||
import Header from "@components/Header.astro"; | ||
import Footer from "@components/Footer.astro"; | ||
import Profile from "@components/Profile.astro"; | ||
import "../style.css"; | ||
const { title } = Astro.props; | ||
interface Props { | ||
title: string; | ||
path?: string; | ||
} | ||
const { title, path = "~/" + title.toLowerCase().replaceAll(" ", "-") } = Astro.props; | ||
--- | ||
<html lang="en"> | ||
<head> | ||
<title>{title}</title> | ||
<title>{path}</title> | ||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> | ||
<link | ||
rel="alternate" type="application/rss+xml" | ||
title="mudkip's blog" href="/rss.xml" | ||
rel="alternate" type="application/rss+xml" | ||
title="mudkip's blog" href="/rss.xml" | ||
/> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
<meta name="theme-color" content="#C6A0F6" /> | ||
<slot name="metadata"> | ||
<meta property="og:title" content={title} /> | ||
</slot> | ||
<meta property="og:title" content={title} /> | ||
<slot name="metadata" /> | ||
</head> | ||
<body> | ||
<h1>{title}</h1> | ||
<Header /> | ||
<main> | ||
<slot name="profile"> | ||
<Profile path={path} /> | ||
</slot> | ||
|
||
<Header /> | ||
<hr> | ||
<slot /> | ||
<hr> | ||
<Footer /> | ||
</main> | ||
<script is:inline type="text/javascript" src="/oneko.js"></script> | ||
</body> | ||
</html> |
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
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 |
---|---|---|
|
@@ -3,19 +3,19 @@ import Page from "@layouts/Page.astro"; | |
const bio = "I'm a software developer and security researcher, my interests include programming, video games, and music."; | ||
--- | ||
<Page title="mudkip"> | ||
<Page title="mudkip" path="~/"> | ||
<Fragment slot="metadata"> | ||
<title>~/</title> | ||
<meta property="og:title" content="mudkip" /> | ||
<meta property="og:description" content={bio} /> | ||
</Fragment> | ||
|
||
<p> | ||
{bio}<br> | ||
<span style="color: var(--surface-2)">(I also use NixOS btw)</span> | ||
</p> | ||
<ul> | ||
<p>{bio}</p> | ||
<span style="color: var(--surface-5)">(I also use NixOS btw)</span> | ||
|
||
<!-- <ul> | ||
<li>Matrix: <a href="https://matrix.to/#/@mudkip:nope.chat" target="_blank">@mudkip:nope.chat</a></li> | ||
<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> | ||
</ul> --> | ||
</Page> |
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
Oops, something went wrong.