Skip to content

Commit

Permalink
whatsapp link + tab fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Heulitig committed May 16, 2024
1 parent 0f8c081 commit 4838995
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ds.ftd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- import: fastn-community.github.io/design-system
export: borders, button, icon-button, primary-button, secondary-button,tertiary-button, circle-text-button, phosphor-icon-button, inline-row, footer-link, copyright-text, page-widths, header-link, page, heading-hero, heading-large, heading-medium, heading-small, heading-tiny, copy-large, copy-regular, copy-small, fine-print, source-code, link, section-row, section-column, column, element-radius, radius, row, flush, gap, hv, spaces, border-data, border-bottom, alert, container, text-input, danger-button, checkbox, link-button, floater, copy-to-clipboard-text, copy-to-clipboard-icon, label-text, package-info, storybook, tab-button
export: borders, code, button, icon-button, primary-button, secondary-button,tertiary-button, circle-text-button, phosphor-icon-button, inline-row, footer-link, copyright-text, page-widths, header-link, page, heading-hero, heading-large, heading-medium, heading-small, heading-tiny, copy-large, copy-regular, copy-small, fine-print, source-code, link, section-row, section-column, column, element-radius, radius, row, flush, gap, hv, spaces, border-data, border-bottom, alert, container, text-input, danger-button, checkbox, link-button, floater, copy-to-clipboard-text, copy-to-clipboard-icon, label-text, package-info, storybook, tab-button
exposing: page-widths


Expand Down
31 changes: 25 additions & 6 deletions page/dashboard.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
-- import: fifthtry.github.io/today-has-been-ui/components/blog-post as blog
-- import: fifthtry.github.io/today-has-been-ui/record/user-data as ud
-- import: fifthtry.github.io/today-has-been-ui/storybook/dashboard as dashboard
-- import: fastn-community.github.io/design-system/record as r

-- component page:
ud.user-data user-data:
Expand All @@ -14,12 +15,7 @@ user-data: $page.user-data
spacing: $ds.spaces.vertical-gap.large

-- ds.tab-button:
cta-text-1: Older
cta-text-2: Random
cta-text-3: Newer
cta-link-1: storybook/dashboard/
cta-link-2: storybook/dashboard/
cta-link-3: storybook/dashboard/
tab: $tab-list

-- blog.blog: Friday, Apr 13, 2012

Expand All @@ -45,3 +41,26 @@ Lorem ipsum

-- end: page



-- r.tab-button list tab-list:

-- r.tab-button:
cta-text: Older
cta-link: /storybook/dashboard/
index: 1
active: false

-- r.tab-button:
cta-text: Random
cta-link: /storybook/dashboard/
index: 2
active: false

-- r.tab-button:
cta-text: Newer
cta-link: /storybook/dashboard/
index: 3
active: false

-- end: tab-list
3 changes: 2 additions & 1 deletion page/homepage.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

-- component page:
ud.user-data user-data:
string whatsapp-link:

-- p.page: Today Has Been
user-data: $page.user-data
Expand Down Expand Up @@ -31,7 +32,7 @@ random entry from the past - right there in WhatsApp!
-- ds.column:

-- ds.secondary-button: Say "Hi" on WhatsApp
link: storybook/homepage/
link: $page.whatsapp-link
size: large

-- ds.heading-small: Pricing
Expand Down
3 changes: 2 additions & 1 deletion storybook/homepage.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
-- import: fifthtry.github.io/today-has-been-ui/storybook/john-doe

-- homepage.page:
user-data: $john-doe.anon
user-data: $john-doe.anon
whatsapp-link: /storybook/homepage/

0 comments on commit 4838995

Please sign in to comment.