Skip to content

Commit d165b71

Browse files
committed
Comments code that's unneeded for now
1 parent 574fd03 commit d165b71

File tree

4 files changed

+30
-30
lines changed

4 files changed

+30
-30
lines changed

src/components/BaseHead.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { ViewTransitions } from "astro:transitions"
2+
// import { ViewTransitions } from "astro:transitions"
33
44
interface Props {
55
title: string

src/components/StackCard.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ const { text, icon, href } = Astro.props
1515
<span class="text-sm capitalize text-neutral-500 dark:text-neutral-400 group-hover:text-black group-hover:dark:text-white blend">
1616
{text}
1717
</span>
18-
</a>
18+
</a>

src/pages/about/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { getCollection } from "astro:content";
2+
// import { getCollection } from "astro:content";
33
import PageLayout from "@layouts/PageLayout.astro";
44
import TopLayout from "@layouts/TopLayout.astro";
55
import BottomLayout from "@layouts/BottomLayout.astro";

src/pages/index.astro

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { getCollection } from "astro:content"
33
import PageLayout from "@layouts/PageLayout.astro"
44
import ArrowCard from "@components/ArrowCard"
5-
import StackCard from "@components/StackCard.astro"
5+
// import StackCard from "@components/StackCard.astro"
66
import { SITE, SOCIALS } from "@consts"
77
import TwinklingStars from "@components/TwinklingStars.astro"
88
import MeteorShower from "@components/MeteorShower.astro"
@@ -13,33 +13,33 @@ const posts = (await getCollection("blog"))
1313
.sort((a, b) => b.data.date.getTime() - a.data.date.getTime())
1414
.slice(0,3)
1515
16-
const projects = (await getCollection("projects"))
17-
.filter(project => !project.data.draft)
18-
.sort((a, b) => b.data.date.getTime() - a.data.date.getTime())
19-
.slice(0,3)
16+
// const projects = (await getCollection("projects"))
17+
// .filter(project => !project.data.draft)
18+
// .sort((a, b) => b.data.date.getTime() - a.data.date.getTime())
19+
// .slice(0,3)
2020
21-
const stack = [
22-
{
23-
text: "Astro",
24-
icon: "astro",
25-
href: "https://astro.build"
26-
},
27-
{
28-
text: "JavaScript",
29-
icon: "javascript",
30-
href: "https://www.javascript.com"
31-
},
32-
{
33-
text: "TypeScript",
34-
icon: "typescript",
35-
href: "https://www.typescriptlang.org"
36-
},
37-
{
38-
text: "Tailwind",
39-
icon: "tailwind",
40-
href: "https://tailwindcss.com"
41-
},
42-
]
21+
// const stack = [
22+
// {
23+
// text: "Astro",
24+
// icon: "astro",
25+
// href: "https://astro.build"
26+
// },
27+
// {
28+
// text: "JavaScript",
29+
// icon: "javascript",
30+
// href: "https://www.javascript.com"
31+
// },
32+
// {
33+
// text: "TypeScript",
34+
// icon: "typescript",
35+
// href: "https://www.typescriptlang.org"
36+
// },
37+
// {
38+
// text: "Tailwind",
39+
// icon: "tailwind",
40+
// href: "https://tailwindcss.com"
41+
// },
42+
// ]
4343
---
4444

4545
<PageLayout title="Home" description={SITE.DESCRIPTION}>

0 commit comments

Comments
 (0)