From f80ef2bc119b53e48aaf50bd261cb5596283022a Mon Sep 17 00:00:00 2001 From: Nuno Pereira Date: Mon, 29 Apr 2024 22:41:50 +0100 Subject: [PATCH] Added crusterfuck --- src/components/Icons/Rust.astro | 9 +++++++++ src/components/Icons/index.astro | 2 ++ src/components/Project/Card.astro | 2 +- src/content/project/crusterfuck.md | 8 ++++++++ src/pages/projects/[project].astro | 2 +- 5 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 src/components/Icons/Rust.astro create mode 100644 src/content/project/crusterfuck.md diff --git a/src/components/Icons/Rust.astro b/src/components/Icons/Rust.astro new file mode 100644 index 0000000..a6a5ee2 --- /dev/null +++ b/src/components/Icons/Rust.astro @@ -0,0 +1,9 @@ +--- +import Icon, { type Props as IconProps } from "./Icon.astro"; + +type Props = Pick; + +const { iconClasses } = Astro.props; +--- + + diff --git a/src/components/Icons/index.astro b/src/components/Icons/index.astro index 3570f59..f260375 100644 --- a/src/components/Icons/index.astro +++ b/src/components/Icons/index.astro @@ -21,6 +21,7 @@ import KTor from "./KTor.astro"; import Kotlin from "./Kotlin.astro"; import ThreeJS from "./ThreeJS.astro"; import Blender from "./Blender.astro"; +import Rust from "./Rust.astro"; import type { Props as IconProps } from "./Icon.astro"; @@ -47,6 +48,7 @@ export const icons = { kotlin: Kotlin, threejs: ThreeJS, blender: Blender, + rust: Rust, }; export type IconTags = keyof typeof icons; diff --git a/src/components/Project/Card.astro b/src/components/Project/Card.astro index 758a127..97c74d4 100644 --- a/src/components/Project/Card.astro +++ b/src/components/Project/Card.astro @@ -42,7 +42,7 @@ const project = projectMetadata.data;
{ project.previewImage === undefined ? ( diff --git a/src/content/project/crusterfuck.md b/src/content/project/crusterfuck.md new file mode 100644 index 0000000..c401ebb --- /dev/null +++ b/src/content/project/crusterfuck.md @@ -0,0 +1,8 @@ +--- +name: "Crusterfuck" +description: "Crusterfuck is a simple interpreter for the Brainfuck Language." +shortDescription: "Rust interpreter for Brainfuck" +upstreamLink: "https://github.com/naapperas/crusterfuck" +techStack: + - rust +--- diff --git a/src/pages/projects/[project].astro b/src/pages/projects/[project].astro index a1ea743..cb02a6c 100644 --- a/src/pages/projects/[project].astro +++ b/src/pages/projects/[project].astro @@ -26,7 +26,7 @@ const { --- -
+