diff --git a/src/components/projects/ProjectLeft.astro b/src/components/projects/Project.astro similarity index 57% rename from src/components/projects/ProjectLeft.astro rename to src/components/projects/Project.astro index 7792143..c913b08 100644 --- a/src/components/projects/ProjectLeft.astro +++ b/src/components/projects/Project.astro @@ -8,8 +8,9 @@ interface Tag { } interface Props { - image: ImageMetadata; - alt: string; + position?: "left" | "right"; + image?: ImageMetadata; + alt?: string; href: string; title: string; description: string; @@ -25,35 +26,50 @@ const { description, label = "View Repository", tags = [], + position = "left", } = Astro.props; + +const leftProject = position == "left"; ---
{description}
- {description} -
-- Used by 100+ Twitch streamers, allow viewers and streamers - to add their own tasks to the widget for accountability! - Easy to setup and the customization possibilities are - endless! -
-