diff --git a/public/logos/figma.svg b/public/logos/figma.svg new file mode 100644 index 0000000..b3edc6d --- /dev/null +++ b/public/logos/figma.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/stack-builder-figma-screenshot.png b/public/stack-builder-figma-screenshot.png new file mode 100644 index 0000000..783be2f Binary files /dev/null and b/public/stack-builder-figma-screenshot.png differ diff --git a/src/components/sections/home-page/hero.tsx b/src/components/sections/home-page/hero.tsx index b8f9592..685efd2 100644 --- a/src/components/sections/home-page/hero.tsx +++ b/src/components/sections/home-page/hero.tsx @@ -13,7 +13,7 @@ export function Hero() {
-
+
Your diff --git a/src/components/ui/home-button.stories.tsx b/src/components/ui/home-button.stories.tsx index 0f3f744..2ff3821 100644 --- a/src/components/ui/home-button.stories.tsx +++ b/src/components/ui/home-button.stories.tsx @@ -31,15 +31,26 @@ export const StackBuilder: Story = { }, parameters: { design: { - url: 'https://www.figma.com/design/xild6bwrsygnvphzpwqqke/zenith-design-system?node-id=67-2411&t=1cojdzrd9retw6wv-11', + url: 'https://www.figma.com/design/XILd6bWRSYGnvpHzPWqqkE/Zenith-Design-System?node-id=67-2411&t=helPlLiU9UcstWzx-11', }, }, } -export const Storybook: Story = { +export const Figma: Story = { args: { ...buttons[1], }, + parameters: { + design: { + url: 'https://www.figma.com/design/XILd6bWRSYGnvpHzPWqqkE/Zenith-Design-System?node-id=135-93&t=helPlLiU9UcstWzx-11', + }, + }, +} + +export const Storybook: Story = { + args: { + ...buttons[2], + }, parameters: { design: { url: 'https://www.figma.com/design/XILd6bWRSYGnvpHzPWqqkE/Zenith-Design-System?node-id=67-2413&t=1CoJdZrd9retW6WV-11', @@ -49,7 +60,7 @@ export const Storybook: Story = { export const EslintConfigInspector: Story = { args: { - ...buttons[2], + ...buttons[3], }, parameters: { design: { @@ -60,7 +71,7 @@ export const EslintConfigInspector: Story = { export const Github: Story = { args: { - ...buttons[3], + ...buttons[4], }, parameters: { design: { @@ -71,7 +82,7 @@ export const Github: Story = { export const Fumadocs: Story = { args: { - ...buttons[4], + ...buttons[5], }, parameters: { design: { diff --git a/src/content/web/buttons.ts b/src/content/web/buttons.ts index 7380a16..805c032 100644 --- a/src/content/web/buttons.ts +++ b/src/content/web/buttons.ts @@ -7,6 +7,14 @@ export const buttons = [ text: 'Stack Builder', className: 'text-2xl text-black bg-custom-gradient-ltr w-full mb-4 hover:bg-custom-gradient-rtl', }, + { + href: 'https://www.figma.com/design/XILd6bWRSYGnvpHzPWqqkE/Zenith-Design-System?node-id=6-48&t=helPlLiU9UcstWzx-1', + imgSrc: '/stack-builder-figma-screenshot.png', + imgAlt: 'Stack Builder Figma screenshot', + logoSrc: '/logos/figma.svg', + text: 'Figma', + className: 'bg-indigo-500 hover:bg-indigo-400', + }, { href: '/story/zenith-design-system-home-page-buttons--stack-builder', imgSrc: '/stack-builder-storybook-screenshot.png',