diff --git a/showcase.json b/showcase.json index f088bb87..665080f9 100644 --- a/showcase.json +++ b/showcase.json @@ -34,7 +34,8 @@ "title": "Bicycle to Dfinity", "url": "https://m5rwi-daaaa-aaaal-acrpq-cai.icp0.io", "description": "An adventure around the world to meet great souls and promote good stuff.", - "img": "/showcase/aegir.jpg" + "img": "/showcase/aegir.jpg", + "github":"https://github.com/Kyliux/Icloud" }, { "title": "ICPFA", diff --git a/src/components/Spotlight/index.module.scss b/src/components/Spotlight/index.module.scss index 124747bc..7a9bdc66 100644 --- a/src/components/Spotlight/index.module.scss +++ b/src/components/Spotlight/index.module.scss @@ -60,4 +60,19 @@ word-break: break-word; white-space: pre-wrap; } + + h4 { + display: flex; + align-items: center; + justify-content: space-between; /* This pushes items to the edges */ + } + + .githubLogo { + width: 40px; /* Adjust the size of the logo */ + height: 40px; + } +} + +.githubLink { + margin-left: auto; /* Pushes the link to the right */ } diff --git a/src/components/Spotlight/index.tsx b/src/components/Spotlight/index.tsx index c6dcea20..650dbb7a 100644 --- a/src/components/Spotlight/index.tsx +++ b/src/components/Spotlight/index.tsx @@ -6,7 +6,8 @@ export default function Spotlight({ title, description, img, - url + url, + github }: ShowcaseSpotlight): JSX.Element { return ( @@ -22,7 +23,14 @@ export default function Spotlight({
{description}