Skip to content

Commit

Permalink
deploy: bbf71ad
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 committed Apr 1, 2024
1 parent e2d74c4 commit 252ced6
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion components/submission-box.ftd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- import: fifthtry.github.io/easy-contest/records/submissions as s
-- import: fifthtry.github.io/easy-contest/records/submission as s

-- component submission-box:
s.submission sub:
Expand Down
18 changes: 9 additions & 9 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
},
"components/submission-box.ftd": {
"name": "components/submission-box.ftd",
"checksum": "3F8991B84CD1A4CC4DBCE1319C54C4CCE271CD4EA1A2BACD36848A7867FA9C66",
"size": 675
"checksum": "6589A00B7A0D1CD0726019895E929AF8ECB16953BBDDBB7141CBBF332169EF4D",
"size": 674
},
"ds.ftd": {
"name": "ds.ftd",
Expand Down Expand Up @@ -82,13 +82,13 @@
},
"pages/admin.ftd": {
"name": "pages/admin.ftd",
"checksum": "C4D680BAE534DA9DF854517822EF7EBB4340E54B71601C7C4193DEF312AAD2F7",
"size": 764
"checksum": "8530CBF56DAA4B06EC288DCBE8345184FB3BAD7F64077DEE47E8F520DC67D760",
"size": 733
},
"pages/landing.ftd": {
"name": "pages/landing.ftd",
"checksum": "4937C118B12C34F17C6D675B1F01E741B84B009B4B1641C4CF8A1CEB3F6C83B0",
"size": 3704
"checksum": "FB5EB9DF44E8AA8E7470BEF557963E7BF3BCB7C87AF3E5BFABA2A79C8EDBF073",
"size": 3698
},
"pages/new-submission.ftd": {
"name": "pages/new-submission.ftd",
Expand All @@ -97,8 +97,8 @@
},
"pages/submissions.ftd": {
"name": "pages/submissions.ftd",
"checksum": "ABEF3DE1CCB274BD58B7DCC75E0908AD12417CF034B608AD0C354387FB20BEEB",
"size": 824
"checksum": "BCCCDCD2504E5A99691CF6A66547C05CF9800B7B00019DC2C7ADFAC5B18E30E2",
"size": 874
},
"records/submission.ftd": {
"name": "records/submission.ftd",
Expand All @@ -117,5 +117,5 @@
}
},
"zip_url": "https://codeload.github.com/fifthtry/easy-contest/zip/refs/heads/main",
"checksum": "564EA2B2FAA85CAF971163D961507D3DE1E10C3FC36500980FDBA9BAD298DB09"
"checksum": "65470F80A0F090B1AB1DE582B711312B6E2B9188DA374B27A221B43627AC8F4E"
}
12 changes: 6 additions & 6 deletions pages/admin.ftd
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
-- import: ui.fifthtry.com/components/page as p
-- import: ui.fifthtry.com/records/user-data as ud
-- import: fifthtry.github.io/easy-contest/components/submission-box as box
-- import: fifthtry.github.io/easy-contest/records/submissions as s
-- import: fifthtry.github.io/easy-contest/records/submission as s

-- component admin-page:
-- component page:
caption page-title:
ud.user-data user-data:
s.submission list submissions:

-- p.page: $admin-page.page-title
user-data: $admin-page.user-data
-- p.page: $page.page-title
user-data: $page.user-data

-- ds.heading-medium: Review Submissions

Expand All @@ -21,7 +21,7 @@ align-content: top-left
spacing: $ds.spaces.vertical-gap.extra-large

-- box.submission-box:
for: $sub in $admin-page.submissions
for: $sub in $page.submissions
sub: $sub

-- end: ds.column
Expand All @@ -30,4 +30,4 @@ sub: $sub

-- end: p.page

-- end: admin-page
-- end: page
6 changes: 3 additions & 3 deletions pages/landing.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ caption page-title:
string submissions-link: /contest/submissions/
ud.user-data user-data:
string start-date: TBD
string end-data: TBD
string end-date: TBD

-- p.page: $page.page-title
user-data: $page.user-data
Expand Down Expand Up @@ -71,13 +71,13 @@ shot at winning a free domain for your website.
-- ds.heading-medium: Ready to Win Your Free Domain?

-- ds.primary-button: **Signup for a Fifthtry account now!**
if: { !just-user-data.ud.is-logged-in }
if: { !page.user-data.is-logged-in }
link: /-/auth/create-account/?next=/contest/
size: large
radius: curved

-- ds.primary-button: **Submit your website**
if: { just-user-data.ud.is-logged-in }
if: { page.user-data.is-logged-in }
link: $page.submissions-link
size: large
radius: curved
Expand Down
3 changes: 2 additions & 1 deletion pages/submissions.ftd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-- import: ui.fifthtry.com/components/page as p
-- import: fifthtry.github.io/easy-contest/records/submissions as s
-- import: fifthtry.github.io/easy-contest/records/submission as s
-- import: fifthtry.github.io/easy-contest/components/submission-box as box
-- import: ui.fifthtry.com/records/user-data as ud

-- component page:
caption page-title:
Expand Down

0 comments on commit 252ced6

Please sign in to comment.