From 56e79f187c71eaadca5ae0a1e717793175c04671 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 12 Nov 2024 09:59:40 +0200 Subject: Fixed the formatting issue --- src/components/Nav.astro | 76 ++++++++-------- src/layouts/Layout.astro | 161 ++++++++++++++++----------------- src/pages/index.astro | 231 +++++++++++++++++++++++++++++------------------ 3 files changed, 264 insertions(+), 204 deletions(-) (limited to 'src') diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 3c41d0d..60f2f14 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -5,46 +5,50 @@ interface Props { const { path } = Astro.props; -const directories = ["about", "works", "links"] - +const directories = ["about", "works", "links"]; --- + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index bed38f4..9c1584c 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,6 +1,6 @@ --- interface Props { - title: string; + title: string; } const { title } = Astro.props; @@ -8,97 +8,96 @@ const { title } = Astro.props; - - - - - - - {title} - - - - + + + + + + + {title} + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro index 172be47..2afde87 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,9 +1,9 @@ --- -import Layout from '../layouts/Layout.astro'; -import TerminalBorder from '../components/TerminalBorder.astro' -import Nav from '../components/Nav.astro' +import Layout from "../layouts/Layout.astro"; +import TerminalBorder from "../components/TerminalBorder.astro"; +import Nav from "../components/Nav.astro"; -const sshKey = `ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsrdN6e4XbkJfV/FbH3GY8ujWgxSCSbYiwzQ4rKyren` +const sshKey = `ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsrdN6e4XbkJfV/FbH3GY8ujWgxSCSbYiwzQ4rKyren`; const fingerprint = ` +--[ED25519 256]--+ |+o.+oE*B%* o | @@ -15,7 +15,7 @@ const fingerprint = ` |. . . | |.. | |. | -+----[SHA256]-----+`.trimStart() ++----[SHA256]-----+`.trimStart(); const aboutMe = ` Hi! I'm Kyren, a software engineer and Minecraft plugin freelancer, @@ -23,99 +23,156 @@ I love working with Rust, Golang and Java. I am also a terminal nerd and linux enthusiast who uses NVIM btw. And when I am not coding I am most likely playing video games, watching Anime or solving Rubik's cubes fast. -Test`.trimStart() +Test`.trimStart(); --- + -
-
+
+
-- cgit v1.3.1