|
1 | 1 | --- |
2 | | -import { useTranslations } from "../i18n/utils"; |
3 | 2 | import ProjectCard, { type Project } from "./ProjectCard.astro"; |
4 | 3 |
|
5 | | -const tr = useTranslations(Astro.params.lang as never || "en"); |
6 | | -
|
7 | | -const projects: Array<Project> = [ |
8 | | - { |
9 | | - title: "colorshell", |
10 | | - developer: "retrozinndev", |
11 | | - description: "Super cool desktop shell for Hyprland!", |
12 | | - href: "https://github.com/retrozinndev/colorshell" |
13 | | - }, |
14 | | - { |
15 | | - title: "retrozinndev.github.io", |
16 | | - developer: "retrozinndev", |
17 | | - description: "My personal website", |
18 | | - href: "https://github.com/retrozinndev/retrozinndev.github.io" |
19 | | - }, |
20 | | - { |
21 | | - title: "parceirtoti.github.io", |
22 | | - developer: "parceiroti", |
23 | | - description: "ParceiroTI's website redesign", |
24 | | - href: "https://github.com/parceiroti/parceiroti.github.io" |
25 | | - }, |
26 | | - { |
27 | | - title: "UpDateN'Time", |
28 | | - developer: "retrozinndev", |
29 | | - description: "A Tool that synchronizes your date and time with the internet", |
30 | | - href: "https://github.com/retrozinndev/UpDateNTime" |
31 | | - }, |
32 | | - { |
33 | | - title: "The Traveler", |
34 | | - developer: "notestudios", |
35 | | - description: "A two-dimensional shooter game", |
36 | | - href: "https://github.com/notestudios/TheTraveler" |
37 | | - }, |
38 | | - { |
39 | | - title: "Space Shooter", |
40 | | - developer: "notestudios", |
41 | | - description: "Shoot meteors in Space!", |
42 | | - href: "https://github.com/notestudios/SpaceShooter" |
43 | | - } |
44 | | -]; |
| 4 | +interface Props { |
| 5 | + projects: Array<Project>; |
| 6 | +} |
45 | 7 |
|
| 8 | +const { projects } = Astro.props; |
46 | 9 | --- |
47 | 10 |
|
48 | 11 | <div class="projects"> { |
|
0 commit comments