Skip to content

Commit 6b790d1

Browse files
committed
amend
1 parent d6153ba commit 6b790d1

File tree

7 files changed

+56
-7
lines changed

7 files changed

+56
-7
lines changed

components.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
},
1313
"aliases": {
1414
"components": "$lib/components",
15-
"utils": "$lib/lib/utils",
15+
"utils": "$lib/utils",
1616
"ui": "$lib/components/ui",
1717
"lib": "$lib/lib",
1818
"hooks": "$lib/hooks"
1919
},
2020
"iconLibrary": "lucide"
21-
}
21+
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@
4545
"vite": "^5.4.19"
4646
},
4747
"dependencies": {
48+
"@lucide/svelte": "^0.511.0",
4849
"@tabler/icons-svelte": "^3.33.0",
4950
"@tanstack/table-core": "^8.21.3",
5051
"class-variance-authority": "^0.7.1",
5152
"lucide-react": "^0.511.0",
5253
"path-browserify": "^1.0.1",
53-
"tailwindcss-animate": "^1.0.7"
54+
"tailwindcss-animate": "^1.0.7",
55+
"tw-animate-css": "^1.3.0"
5456
}
5557
}

pnpm-lock.yaml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
<script lang="ts">
2+
import {
3+
Card,
4+
CardContent,
5+
CardDescription,
6+
CardFooter,
7+
CardHeader,
8+
CardTitle
9+
} from '$lib/components/ui/card';
210
</script>
311

4-
<div></div>
12+
<div>
13+
<Card>
14+
<CardHeader>
15+
<CardTitle>Card Title</CardTitle>
16+
<CardDescription>Card Description</CardDescription>
17+
</CardHeader>
18+
<CardContent>
19+
<p>Card Content</p>
20+
</CardContent>
21+
<CardFooter>
22+
<p>Card Footer</p>
23+
</CardFooter>
24+
</Card>
25+
</div>

src/routes/blog/+page.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
<script lang="ts"></script>
1+
<script lang="ts">
2+
import ArticleCard from '$lib/components/blog/ArticleCard.svelte';
3+
</script>
24

35
<div class="flex flex-col space-y-4">
46
<p class="text-2xl font-bold text-foreground">Blog</p>
57
<p>
68
For now, this page is empty. I will add articles once I have something interesting to write
79
about.
810
</p>
11+
<ArticleCard />
912
</div>

svelte.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ const config = {
1414
}),
1515
prerender: {
1616
handleHttpError: 'warn'
17-
}
17+
},
18+
alias: {
19+
"@/*": "./src/lib/*",
20+
},
1821
}
1922
};
2023

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"skipLibCheck": true,
1010
"sourceMap": true,
1111
"strict": true,
12-
"moduleResolution": "bundler"
12+
"moduleResolution": "bundler",
1313
}
1414
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
1515
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files

0 commit comments

Comments
 (0)