Skip to content

Commit

Permalink
Added crusterfuck
Browse files Browse the repository at this point in the history
  • Loading branch information
Naapperas committed Apr 29, 2024
1 parent 9b6eb98 commit f80ef2b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/components/Icons/Rust.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
import Icon, { type Props as IconProps } from "./Icon.astro";
type Props = Pick<IconProps, "iconClasses">;
const { iconClasses } = Astro.props;
---

<Icon pack="logos" name="rust" iconClasses={iconClasses} title="Rust" />
2 changes: 2 additions & 0 deletions src/components/Icons/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -47,6 +48,7 @@ export const icons = {
kotlin: Kotlin,
threejs: ThreeJS,
blender: Blender,
rust: Rust,
};
export type IconTags = keyof typeof icons;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Project/Card.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const project = projectMetadata.data;
<article class="rounded bg-color-background md:max-w-96">
<a
href=`/projects/${projectMetadata.slug}`
class="h-full inline-flex flex-col"
class="h-full inline-flex flex-col w-full"
>
{
project.previewImage === undefined ? (
Expand Down
8 changes: 8 additions & 0 deletions src/content/project/crusterfuck.md
Original file line number Diff line number Diff line change
@@ -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
---
2 changes: 1 addition & 1 deletion src/pages/projects/[project].astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const {
---

<Layout title={`Project - ${project.name}`} bgColor="bg-color-background-light">
<div class="flex flex-col flex-1 lg:flex-row">
<div class="flex flex-col flex-1 lg:flex-row w-full">
<Banner
bannerImage={project.previewImage}
alt={project.name}
Expand Down

0 comments on commit f80ef2b

Please sign in to comment.