mirror of
https://github.com/Kyren223/website.git
synced 2026-03-31 02:01:44 +00:00
Added import alises and also fixed font issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
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);
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import Terminal from "../layouts/Terminal.astro";
|
||||
import TerminalBorder from "../components/TerminalBorder.astro";
|
||||
import BlogItem from "../components/BlogItem.astro";
|
||||
import Terminal from "@layouts/Terminal.astro";
|
||||
import TerminalBorder from "@components/TerminalBorder.astro";
|
||||
import BlogItem from "@components/BlogItem.astro";
|
||||
import { getCollection } from "astro:content";
|
||||
|
||||
const blogs = (await getCollection("blogs"))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import Blog from "../../layouts/Blog.astro";
|
||||
import Blog from "@layouts/Blog.astro";
|
||||
import { getCollection } from "astro:content";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
import { getCollection } from "astro:content";
|
||||
import Terminal from "../layouts/Terminal.astro";
|
||||
import TerminalBorder from "../components/TerminalBorder.astro";
|
||||
import Link from "../components/Link.astro";
|
||||
import BlogItem from "../components/BlogItem.astro";
|
||||
import Terminal from "@layouts/Terminal.astro";
|
||||
import TerminalBorder from "@components/TerminalBorder.astro";
|
||||
import Link from "@components/Link.astro";
|
||||
import BlogItem from "@components/BlogItem.astro";
|
||||
|
||||
const latestBlog = (await getCollection("blogs")).reduce((latest, blog) => {
|
||||
const blogDate = new Date(blog.data.date);
|
||||
@@ -123,7 +123,9 @@ watching Anime or solving Rubik's cubes fast.`.trimStart();
|
||||
<BlogItem
|
||||
header="Latest Blog Post"
|
||||
title={latestBlog.data.title}
|
||||
description={latestBlog.data.description ? latestBlog.data.description : ""}
|
||||
description={latestBlog.data.description
|
||||
? latestBlog.data.description
|
||||
: ""}
|
||||
date={latestBlog.data.date}
|
||||
href={"/blogs/" + latestBlog.slug}
|
||||
/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import Terminal from "../layouts/Terminal.astro";
|
||||
import Project from "../components/Project.astro";
|
||||
import Terminal from "@layouts/Terminal.astro";
|
||||
import Project from "@components/Project.astro";
|
||||
---
|
||||
|
||||
<Terminal path="skills">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import Terminal from "../layouts/Terminal.astro";
|
||||
import RadarChart from "../components/RadarChart.astro";
|
||||
import TerminalBorder from "../components/TerminalBorder.astro";
|
||||
import Terminal from "@layouts/Terminal.astro";
|
||||
import RadarChart from "@components/RadarChart.astro";
|
||||
import TerminalBorder from "@components/TerminalBorder.astro";
|
||||
|
||||
const max = 100;
|
||||
const data = [
|
||||
|
||||
Reference in New Issue
Block a user