diff --git a/src/components/sections/why/why.module.css b/src/components/sections/why/why.module.css index ffe9a77..c1abf91 100644 --- a/src/components/sections/why/why.module.css +++ b/src/components/sections/why/why.module.css @@ -51,5 +51,13 @@ color: var(--color-foreground-subtle); line-height: 1.6; } + + & .link { + display: block; + margin-top: 8px; + color: var(--color-foreground); + font-size: var(--font-sm); + text-decoration: none; + } } } diff --git a/src/components/sections/why/why.tsx b/src/components/sections/why/why.tsx index 23512b2..4ef9443 100644 --- a/src/components/sections/why/why.tsx +++ b/src/components/sections/why/why.tsx @@ -24,6 +24,10 @@ export function Why() { icon: , id: 'open-source', label: 'Open Source', + link: { + label: 'Source Code', + url: 'https://github.com/remvze/moodist', + }, }, ]; @@ -43,6 +47,11 @@ export function Why() {

{reason.body}

+ {reason.link && ( + + {reason.link.label} → + + )} ))}