diff --git a/src/components/BlogItem.astro b/src/components/BlogItem.astro index ae67d30..6cff714 100644 --- a/src/components/BlogItem.astro +++ b/src/components/BlogItem.astro @@ -19,7 +19,7 @@ interface Props { const { title, description, date, href, header } = Astro.props; --- - + { href ? ( diff --git a/src/components/TerminalBorder.astro b/src/components/TerminalBorder.astro index eae9cc0..42cf5af 100644 --- a/src/components/TerminalBorder.astro +++ b/src/components/TerminalBorder.astro @@ -2,13 +2,13 @@ interface Props { header?: string; footer?: string; - margin?: string; + extra?: string; } -const { header = "", footer = "", margin = "-0.1vw" } = Astro.props; +const { header = "", footer = "", extra = "m-[-0.1vw]" } = Astro.props; --- -
+
{header} {footer} diff --git a/src/pages/404.astro b/src/pages/404.astro index 2e24449..9d3910e 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -1,14 +1,17 @@ --- -import TerminalBorder from "@components/TerminalBorder.astro" -import Terminal from "@layouts/Terminal.astro" +import TerminalBorder from "@components/TerminalBorder.astro"; +import Terminal from "@layouts/Terminal.astro"; const url = new URL(Astro.request.url).pathname.substring(1); --- + - +

$ cd ~/{url}

-

"{url}": No such file or directory (os error 2)

+

+ "{url}": No such file or directory (os error 2) +

@@ -16,6 +19,7 @@ const url = new URL(Astro.request.url).pathname.substring(1); document.addEventListener("DOMContentLoaded", () => { const url = window.location.pathname.substring(1); document.getElementById("cd")!.textContent = `$ cd ~/${url}`; - document.getElementById("err")!.textContent = `"${url}": No such file or directory (os error 2)`; + document.getElementById("err")!.textContent = + `"${url}": No such file or directory (os error 2)`; }); diff --git a/src/pages/blogs.astro b/src/pages/blogs.astro index 400dde0..ce10eae 100644 --- a/src/pages/blogs.astro +++ b/src/pages/blogs.astro @@ -15,7 +15,7 @@ const blogs = (await getCollection("blogs")) --- - +

$ ls -lah -t --color=auto ~/blogs

diff --git a/src/pages/index.astro b/src/pages/index.astro index 816bd91..25b7b5e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -117,7 +117,7 @@ watching Anime or solving Rubik's cubes fast.`.trimStart(); | Learning Golang & Backend | Available for hire

- +

{aboutMe}

{lang}

)}
- +
{frameworks.map((framework) =>

{framework}

)}