Skip to content

Commit

Permalink
deploy: 8ac8a28
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 committed Mar 27, 2024
1 parent b8084a7 commit c2922dc
Show file tree
Hide file tree
Showing 26 changed files with 14,961 additions and 39 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions -/ui.fifthtry.com/assets/auto-mode-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions -/ui.fifthtry.com/assets/auto-mode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions -/ui.fifthtry.com/assets/dark-mode-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions -/ui.fifthtry.com/assets/light-mode-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions -/ui.fifthtry.com/assets/light-mode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions -/ui.fifthtry.com/assets/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions -/ui.fifthtry.com/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions FASTN.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
-- fastn.package: fifthtry.github.io/easy-contest
favicon: /favicon.ico

-- fastn.dependency: ui.fifthtry.com
-- fastn.dependency: fastn-community.github.io/dark-flame-cs
-- fastn.dependency: fastn-community.github.io/midnight-storm-typography
-- fastn.dependency: fastn-community.github.io/doc-site

-- fastn.dependency: fastn-community.github.io/design-system
provided-via: fifthtry.github.io/easy-contest/ds
Expand Down
40 changes: 40 additions & 0 deletions components/header.ftd
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
-- import: ui.fifthtry.com/components/dark-mode-toggle
-- import: ui.fifthtry.com/site-data

-- component header:
module site-data: site-data
ds.gap margin: $ds.spaces.vertical-gap.zero
boolean theme-toggle: true

-- ds.section-column:
margin: $ds.spaces.vertical-gap.zero
inset: $ds.spaces.inset-wide.medium

-- ds.row:
inset: $ds.spaces.inset-tall.zero-small
spacing: $ds.spaces.horizontal-gap.space-between
border: $ds.borders.bottom.small
radius: $ds.radius.zero

-- ftd.image:
src: $header.site-data.logo
link: $header.site-data.homepage

-- ds.row:
width: hug-content
spacing: $ds.spaces.horizontal-gap.medium

-- ds.copy-regular: Rules
link: /rules/

-- dark-mode-toggle.dark-mode-toggle:
if: { header.theme-toggle }

-- end: ds.row

-- end: ds.row

-- end: ds.section-column

-- end: header

Loading

0 comments on commit c2922dc

Please sign in to comment.