Skip to content

Commit

Permalink
fix: import paths and missions imports
Browse files Browse the repository at this point in the history
rename admin.admin-page to admin.page
  • Loading branch information
siddhantk232 committed Apr 1, 2024
1 parent f75b19d commit bbf71ad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 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
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
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 bbf71ad

Please sign in to comment.