generated from fastn-stack/fastn-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pages setup: main (/) and rules (/rules/)
- Loading branch information
1 parent
72edd04
commit 8ac8a28
Showing
8 changed files
with
3,124 additions
and
75 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
-- ds.page: smth | ||
-- import: fifthtry.github.io/easy-contest/pages/main | ||
|
||
-- ds.heading-large: wo | ||
|
||
-- end: ds.page | ||
-- main.page: 100 domains contest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-- import: fifthtry.github.io/easy-contest/components/header as h | ||
|
||
-- component page: | ||
caption page-title: Easy Contest | ||
|
||
-- ds.page: $page.page-title | ||
|
||
-- h.header: | ||
|
||
-- end: ds.page | ||
|
||
-- end: page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
-- import: fifthtry.github.io/easy-contest/components/header as h | ||
|
||
-- component page: | ||
caption page-title: Rules | Easy Contest | ||
|
||
-- ds.page: $page.page-title | ||
|
||
-- h.header: | ||
|
||
-- ds.section-column: | ||
|
||
-- ds.markdown: | ||
|
||
Could be a section in the main page itself? depends on the final content we end up with | ||
|
||
A place for Nandhini to write content related to the 100 domains contest | ||
|
||
-- end: ds.section-column | ||
|
||
-- end: ds.page | ||
|
||
-- end: page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- import: fifthtry.github.io/easy-contest/pages/rules | ||
|
||
-- rules.page: Rules | 100 domains contest |