From e2d74c4dae9e257fbe7581e622a402d8a7d498f1 Mon Sep 17 00:00:00 2001 From: siddhantk232 Date: Sat, 30 Mar 2024 17:53:25 +0000 Subject: [PATCH] deploy: 2f32764b8699933c0a993533cf9e1405f15fa5b3 --- .../static/dark-mode-active-dark.png | Bin 722 -> 0 bytes .../static/light-mode-active-dark.png | Bin 718 -> 0 bytes .../static/light-mode-active.png | Bin 718 -> 0 bytes .../static/system-mode-active-dark.png | Bin 423 -> 0 bytes .../static/system-mode-active.png | Bin 423 -> 0 bytes .../design-system/assets/powered-by-dark.svg | 20 - .../design-system/assets/powered-by.svg | 20 - .../easy-contest/scripts/auto.sh | 11 + -/ui.fifthtry.com/assets/auto-mode-dark.svg | 3 - -/ui.fifthtry.com/assets/auto-mode.svg | 3 - -/ui.fifthtry.com/assets/dark-mode-dark.svg | 7 - -/ui.fifthtry.com/assets/light-mode-dark.svg | 3 - -/ui.fifthtry.com/assets/light-mode.svg | 3 - -/ui.fifthtry.com/assets/logo-dark.svg | 4 - -/ui.fifthtry.com/assets/logo.svg | 4 - FASTN.ftd | 4 + action/new-contest.ftd | 18 + {pages/main => action/new-contest}/index.html | 0 components/submission-box.ftd | 38 + .../submission-box}/index.html | 0 index.ftd | 15 +- index.html | 2934 +--------------- manifest.json | 68 +- pages/admin.ftd | 33 + {rules => pages/admin}/index.html | 3011 +---------------- pages/landing.ftd | 182 + pages/landing/index.html | 2757 +++++++++++++++ pages/main.ftd | 12 - pages/new-submission.ftd | 153 + pages/new-submission/index.html | 2757 +++++++++++++++ pages/rules.ftd | 22 - pages/submissions.ftd | 40 + pages/submissions/index.html | 2757 +++++++++++++++ records/submission.ftd | 9 + records/submission/index.html | 2757 +++++++++++++++ rules.ftd | 3 - scripts/auto.sh | 11 + 37 files changed, 11589 insertions(+), 6070 deletions(-) delete mode 100644 -/fastn-community.github.io/dark-mode-switcher/static/dark-mode-active-dark.png delete mode 100644 -/fastn-community.github.io/dark-mode-switcher/static/light-mode-active-dark.png delete mode 100644 -/fastn-community.github.io/dark-mode-switcher/static/light-mode-active.png delete mode 100644 -/fastn-community.github.io/dark-mode-switcher/static/system-mode-active-dark.png delete mode 100644 -/fastn-community.github.io/dark-mode-switcher/static/system-mode-active.png delete mode 100644 -/fastn-community.github.io/design-system/assets/powered-by-dark.svg delete mode 100644 -/fastn-community.github.io/design-system/assets/powered-by.svg delete mode 100644 -/ui.fifthtry.com/assets/auto-mode-dark.svg delete mode 100644 -/ui.fifthtry.com/assets/auto-mode.svg delete mode 100644 -/ui.fifthtry.com/assets/dark-mode-dark.svg delete mode 100644 -/ui.fifthtry.com/assets/light-mode-dark.svg delete mode 100644 -/ui.fifthtry.com/assets/light-mode.svg delete mode 100644 -/ui.fifthtry.com/assets/logo-dark.svg delete mode 100644 -/ui.fifthtry.com/assets/logo.svg create mode 100644 action/new-contest.ftd rename {pages/main => action/new-contest}/index.html (100%) create mode 100644 components/submission-box.ftd rename {pages/rules => components/submission-box}/index.html (100%) create mode 100644 pages/admin.ftd rename {rules => pages/admin}/index.html (50%) create mode 100644 pages/landing.ftd create mode 100644 pages/landing/index.html delete mode 100644 pages/main.ftd create mode 100644 pages/new-submission.ftd create mode 100644 pages/new-submission/index.html delete mode 100644 pages/rules.ftd create mode 100644 pages/submissions.ftd create mode 100644 pages/submissions/index.html create mode 100644 records/submission.ftd create mode 100644 records/submission/index.html delete mode 100644 rules.ftd diff --git a/-/fastn-community.github.io/dark-mode-switcher/static/dark-mode-active-dark.png b/-/fastn-community.github.io/dark-mode-switcher/static/dark-mode-active-dark.png deleted file mode 100644 index ba1e66571ce830fa3432484d1fee3da01b22c569..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 722 zcmV;@0xkWCP)X z(=ZU;l}!7>49OIj;R$mB%n3*yJEbi-L6jT736h?G^akPt=?@H#F(<&BpnhYfkVzhR zU}$VrS~*IbIBxBJGmaFm^l7!L{bYnYATEEmK(PRL63T<;5mbOzPRjeBphYhdFVw$n zcnG-|T{VC|897pi^fOch=81p#z<0;G>*q!>l=5A(2Nl7#5YM!yhAbwdnpgJPU>O#+ zGjPNl+weaH;LQAw<>9jsYJfZ!7k>mGcI~V5qdaIv;1RL*8h%1eWS+CWZA@&RN=u5q zwW&(SZxu|8t^-&kki&_yC}>cNDu$Y1z_`fBBDvp;odr!&VPyw($Pr)LuKJ#{B+8O= z_7ZBsBs8ENX2;Hfht#C11rH#%v4zaj46;KZGLKJEP?J2~YE{Y>kMjCZlRP6rf5V!x zAyBodR`1KS3pL2IBEewYs6%6j>3FJC4aGMt5!J|5Xu0977)=`+3molf@9_*wZfA)26P-__+qQ}E&cBY_e-XnSpd`=vdp&oNix?hZ8#e}?PX;T4 zNQMD#PK$1Sx^KP50bS(a?%Yrl_lyW)p(n+0jr9{bnNYeeknD?)%ydPc%HzGkVnQML z+9KT*uZlpVrkdAJSt+?iC!9?-|p>LtR{sO&@O7Fr$WCP<7V-T(jq07*qoM6N<$ Eg6Qc%I{*Lx diff --git a/-/fastn-community.github.io/dark-mode-switcher/static/light-mode-active-dark.png b/-/fastn-community.github.io/dark-mode-switcher/static/light-mode-active-dark.png deleted file mode 100644 index 9e45a2a40f45e5daca4dfda98b821a753ffd628b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 718 zcmV;<0x|uGP)vH8D0w~XgLAp1P;@5c*I9ACm?SO_Iicn zIEkIciQAd#Wyf0Wr@v1!LQ4tn(w-%V(7|YO>R-2c<3USFbLjEWA*62GH?6@RBf9$W zex6+d(mx?1Ff&?SOy?q^XL)zkMC#C*g+Dz56;uEW5h zI|rgcW8^y3Lu)c|(6h!~u_{=D9Qy)r1Y2TF`WXOUB0{3lJgDB)BIi;pbY|FqzHWm^ zgzuO!a#r<-_+|wh2G5e(9UPD_`rEZea~9O!078-joPAnmQ#h8uw%_6*;M`Y{^np!h z9A!czy(k?K2GbKWYkIHuffo@A7}3S_#1B{c@$J8m!~cjLNnc(xy~puw)_1gFhM$|6 z&`?t4=KhfqOpg6~0ONTUNd^w#NXjEwrb_kK2FxzaypFs|aWXIc&d0!N+bc4sCceAh zQdPB_+*q>oDt!Thh2~u`td6v?*^Qjq+Qb?qR=wTe-g7}9ES)?20_c9MOTt0zZ72`N zFFtzQ$Z&FOE>`*vKkZwWyX&TstsU$I=YB}p3PT3sXlFIHIPYwFs&5_zzH%U}Skke4 z#E!_}a32jD!DR{YRd@Q@1hp&(J6gGvH8D0w~XgLAp1P;@5c*I9ACm?SO_Iicn zIEkIciQAd#Wyf0Wr@v1!LQ4tn(w-%V(7|YO>R-2c<3USFbLjEWA*62GH?6@RBf9$W zex6+d(mx?1Ff&?SOy?q^XL)zkMC#C*g+Dz56;uEW5h zI|rgcW8^y3Lu)c|(6h!~u_{=D9Qy)r1Y2TF`WXOUB0{3lJgDB)BIi;pbY|FqzHWm^ zgzuO!a#r<-_+|wh2G5e(9UPD_`rEZea~9O!078-joPAnmQ#h8uw%_6*;M`Y{^np!h z9A!czy(k?K2GbKWYkIHuffo@A7}3S_#1B{c@$J8m!~cjLNnc(xy~puw)_1gFhM$|6 z&`?t4=KhfqOpg6~0ONTUNd^w#NXjEwrb_kK2FxzaypFs|aWXIc&d0!N+bc4sCceAh zQdPB_+*q>oDt!Thh2~u`td6v?*^Qjq+Qb?qR=wTe-g7}9ES)?20_c9MOTt0zZ72`N zFFtzQ$Z&FOE>`*vKkZwWyX&TstsU$I=YB}p3PT3sXlFIHIPYwFs&5_zzH%U}Skke4 z#E!_}a32jD!DR{YRd@Q@1hp&(J6gG*@lQq< zCjBjjdBFVUF)w)#N-`DSdaIFm^x=pp2a_aX$|@K?NhTF%>^~mH-Y|oBPrhBP?yP zfD?S5HN}}en8QU&2{x^vDNZ4{gaZOz=or+SR6{(=mwIvTY#U5rhjqq=h)Utj_SYnQ z+fEYwr}aAwGfH!?#H*UIBRCbiKlJ R%?|(o002ovPDHLkV1g<mps$ diff --git a/-/fastn-community.github.io/dark-mode-switcher/static/system-mode-active.png b/-/fastn-community.github.io/dark-mode-switcher/static/system-mode-active.png deleted file mode 100644 index cf1bd6c825091a0672fd1c06956e780042fc4559..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 423 zcmV;Y0a*TtP)*@lQq< zCjBjjdBFVUF)w)#N-`DSdaIFm^x=pp2a_aX$|@K?NhTF%>^~mH-Y|oBPrhBP?yP zfD?S5HN}}en8QU&2{x^vDNZ4{gaZOz=or+SR6{(=mwIvTY#U5rhjqq=h)Utj_SYnQ z+fEYwr}aAwGfH!?#H*UIBRCbiKlJ R%?|(o002ovPDHLkV1g<mps$ diff --git a/-/fastn-community.github.io/design-system/assets/powered-by-dark.svg b/-/fastn-community.github.io/design-system/assets/powered-by-dark.svg deleted file mode 100644 index d4b5512..0000000 --- a/-/fastn-community.github.io/design-system/assets/powered-by-dark.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/-/fastn-community.github.io/design-system/assets/powered-by.svg b/-/fastn-community.github.io/design-system/assets/powered-by.svg deleted file mode 100644 index d4b5512..0000000 --- a/-/fastn-community.github.io/design-system/assets/powered-by.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/-/fifthtry.github.io/easy-contest/scripts/auto.sh b/-/fifthtry.github.io/easy-contest/scripts/auto.sh index 987f9be..b6ca32a 100644 --- a/-/fifthtry.github.io/easy-contest/scripts/auto.sh +++ b/-/fifthtry.github.io/easy-contest/scripts/auto.sh @@ -6,3 +6,14 @@ function build-wasm() { popd || return 1 } +function upload-frontend-debug() { + DEBUG_USE_TEJAR_FOLDER="/home/sidd/projects/work/ft/tejar-cache/" \ + FIFTHTRY_SITE_WRITE_TOKEN="fifthtry-write-token" \ + DEBUG_API_FIFTHTRY_COM="http://127.0.0.1" \ + clift upload localhost + + DEBUG_USE_TEJAR_FOLDER="/home/sidd/projects/work/ft/tejar-cache/" \ + FIFTHTRY_SITE_WRITE_TOKEN="fifthtry-write-token" \ + DEBUG_API_FIFTHTRY_COM="http://127.0.0.1" \ + clift upload localhost --file ec.wasm +} diff --git a/-/ui.fifthtry.com/assets/auto-mode-dark.svg b/-/ui.fifthtry.com/assets/auto-mode-dark.svg deleted file mode 100644 index ba03771..0000000 --- a/-/ui.fifthtry.com/assets/auto-mode-dark.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/-/ui.fifthtry.com/assets/auto-mode.svg b/-/ui.fifthtry.com/assets/auto-mode.svg deleted file mode 100644 index 8603de3..0000000 --- a/-/ui.fifthtry.com/assets/auto-mode.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/-/ui.fifthtry.com/assets/dark-mode-dark.svg b/-/ui.fifthtry.com/assets/dark-mode-dark.svg deleted file mode 100644 index 3ee10b6..0000000 --- a/-/ui.fifthtry.com/assets/dark-mode-dark.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/-/ui.fifthtry.com/assets/light-mode-dark.svg b/-/ui.fifthtry.com/assets/light-mode-dark.svg deleted file mode 100644 index 40f8edc..0000000 --- a/-/ui.fifthtry.com/assets/light-mode-dark.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/-/ui.fifthtry.com/assets/light-mode.svg b/-/ui.fifthtry.com/assets/light-mode.svg deleted file mode 100644 index 22606c2..0000000 --- a/-/ui.fifthtry.com/assets/light-mode.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/-/ui.fifthtry.com/assets/logo-dark.svg b/-/ui.fifthtry.com/assets/logo-dark.svg deleted file mode 100644 index c9b276c..0000000 --- a/-/ui.fifthtry.com/assets/logo-dark.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/-/ui.fifthtry.com/assets/logo.svg b/-/ui.fifthtry.com/assets/logo.svg deleted file mode 100644 index 47ae8db..0000000 --- a/-/ui.fifthtry.com/assets/logo.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/FASTN.ftd b/FASTN.ftd index 42b966b..0824532 100644 --- a/FASTN.ftd +++ b/FASTN.ftd @@ -13,3 +13,7 @@ provided-via: fifthtry.github.io/easy-contest/ds -- fastn.auto-import: fifthtry.github.io/easy-contest/assets -- fastn.auto-import: fifthtry.github.io/easy-contest/ds + +-- fastn.url-mappings: + +/b/* -> wasm+proxy://ec.wasm/* diff --git a/action/new-contest.ftd b/action/new-contest.ftd new file mode 100644 index 0000000..7223356 --- /dev/null +++ b/action/new-contest.ftd @@ -0,0 +1,18 @@ +-- optional string $title-error: +-- optional string $deploy-url-error: +-- optional string $source-url-error: +-- optional string $message-error: + +-- ftd.http-options opts: +redirect: follow +method: POST +fastn-module: www.fifthtry.com/action/new-contest + +-- void submit-values(title, deploy-url, source-url, message): +string title: +string deploy_url: +string source_url: +string message: +ftd.http-options opts: $opts + +console.log("data: " + title + " " + deploy_url + " " + source_url) diff --git a/pages/main/index.html b/action/new-contest/index.html similarity index 100% rename from pages/main/index.html rename to action/new-contest/index.html diff --git a/components/submission-box.ftd b/components/submission-box.ftd new file mode 100644 index 0000000..b516fe6 --- /dev/null +++ b/components/submission-box.ftd @@ -0,0 +1,38 @@ +-- import: fifthtry.github.io/easy-contest/records/submissions as s + +-- component submission-box: +s.submission sub: + +-- ds.container: +inset: $ds.spaces.inset-square.large +background.solid: $ds.colors.background.step-2 +width: fill-container +radius: $ds.radius.medium + +-- ds.column: + +-- ds.heading-small: $submission-box.sub.title +color: $ds.colors.text-strong +align: left + +-- ds.copy-large: $submission-box.sub.message +align: left + +-- ds.row: + +-- ds.copy-regular: $submission-box.sub.deploy_url +align: left + +-- ds.copy-regular: | + +-- ds.copy-regular: $submission-box.sub.source_url +align: left + +-- end: ds.row + + +-- end: ds.column + +-- end: ds.container + +-- end: submission-box diff --git a/pages/rules/index.html b/components/submission-box/index.html similarity index 100% rename from pages/rules/index.html rename to components/submission-box/index.html diff --git a/index.ftd b/index.ftd index 3c846d7..d3dd315 100644 --- a/index.ftd +++ b/index.ftd @@ -1,3 +1,16 @@ -- import: fifthtry.github.io/easy-contest/pages/main +-- import: fastn/processors as pr --- main.page: 100 domains contest +-- ftd.text: TODO: add landing page and other scenarios like ui.fifthtry.com + + +;;-- record page-data: +;;string msg: + +;;-- record msg: +;;page-data page: + + +;;-- msg data: +;;$processor$: pr.http +;;url: /b/wasm-test/ diff --git a/index.html b/index.html index 52d4c6b..9e2bc67 100644 --- a/index.html +++ b/index.html @@ -333,220 +333,9 @@ - -

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
+ + +
+ + diff --git a/pages/main.ftd b/pages/main.ftd deleted file mode 100644 index 0d67d1a..0000000 --- a/pages/main.ftd +++ /dev/null @@ -1,12 +0,0 @@ --- 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 diff --git a/pages/new-submission.ftd b/pages/new-submission.ftd new file mode 100644 index 0000000..27f7ffd --- /dev/null +++ b/pages/new-submission.ftd @@ -0,0 +1,153 @@ +-- import: ui.fifthtry.com/utils +-- import: ui.fifthtry.com/records/user-data as ud +-- import: ui.fifthtry.com/components/page as p +-- import: fifthtry.github.io/easy-contest/action/new-contest + +-- component page: +caption page-title: +module action: new-contest +ud.user-data user-data: +private string $sub-title: *$ftd.empty +private string $sub-deploy-url: *$ftd.empty +private string $sub-source-url: *$ftd.empty +private string $sub-message: *$ftd.empty + + -- p.page: $page.page-title + user-data: $page.user-data + + -- ds.heading-medium: New Submission + + -- ds.section-column: + inset: $ds.spaces.inset-tall.large + + -- ds.column: + width.fixed.px if { ftd.device != "mobile" }: 508 + align-content: top-left + spacing: $ds.spaces.vertical-gap.large + radius: $ds.radius.medium + inset: $ds.spaces.inset-square.large + border: $ds.borders.uniform.small + background.solid: $ds.colors.background.step-1 + + -- ds.column: + spacing: $ds.spaces.vertical-gap.extra-extra-small + align-content: left + + -- ds.copy-small: Title + + -- ftd.text-input: + placeholder: Submissions Title + type: text + width: fill-container + height.fixed.px: 40 + border-radius.px: 8 + background.solid: transparent + border-width.px: 1 + border-color: $inherited.colors.border + padding.px: 8 + color: $inherited.colors.text-strong + $on-input$: $ftd.set-string($a = $page.sub-title, v = $VALUE) + $on-input$: $utils.set-null($var = $page.action.title-error) + + -- ds.copy-small: $page.action.title-error + color: $ds.colors.error.text + if: { page.action.title-error != NULL } + + -- end: ds.column + + -- ds.column: + spacing: $ds.spaces.vertical-gap.extra-extra-small + align-content: left + + -- ds.copy-small: Deploy Url + + -- ftd.text-input: + placeholder: Deploy Url + type: text + width: fill-container + height.fixed.px: 40 + border-radius.px: 8 + background.solid: transparent + border-width.px: 1 + border-color: $inherited.colors.border + padding.px: 8 + color: $inherited.colors.text-strong + $on-input$: $ftd.set-string($a = $page.sub-deploy-url, v = $VALUE) + $on-input$: $utils.set-null($var = $page.action.deploy-url-error) + + -- ds.copy-small: $page.action.deploy-url-error + color: $ds.colors.error.text + if: { page.action.deploy-url-error != NULL } + + -- end: ds.column + + -- ds.column: + spacing: $ds.spaces.vertical-gap.extra-extra-small + align-content: left + + -- ds.copy-small: Source Url + + -- ftd.text-input: + placeholder: Source url + type: text + width: fill-container + height.fixed.px: 40 + border-radius.px: 8 + background.solid: transparent + border-width.px: 1 + border-color: $inherited.colors.border + padding.px: 8 + color: $inherited.colors.text-strong + $on-input$: $ftd.set-string($a = $page.sub-source-url, v = $VALUE) + $on-input$: $utils.set-null($var = $page.action.source-url-error) + + -- ds.copy-small: $page.action.source-url-error + color: $ds.colors.error.text + if: { page.action.source-url-error != NULL } + + -- end: ds.column + + -- ds.column: + spacing: $ds.spaces.vertical-gap.extra-extra-small + align-content: left + + -- ds.copy-small: Message + + -- ftd.text-input: + placeholder: Any message for us? + type: text + width: fill-container + multiline: true + height.fixed.px: 40 + border-radius.px: 8 + background.solid: transparent + border-width.px: 1 + border-color: $inherited.colors.border + padding.px: 8 + color: $inherited.colors.text-strong + $on-input$: $ftd.set-string($a = $page.sub-message, v = $VALUE) + $on-input$: $utils.set-null($var = $page.action.message-error) + + -- ds.copy-small: $page.action.message-error + color: $ds.colors.error.text + if: { page.action.message-error != NULL } + + -- end: ds.column + + -- ds.row: + spacing: $ds.spaces.horizontal-gap.small + + -- ds.primary-button: Save + width: wide + radius: curved + $on-click$: $page.action.submit-values(title = $page.sub-title, deploy_url = $page.sub-deploy-url, source_url = $page.sub-source-url, message = $page.sub-message) + + -- end: ds.row + + -- end: ds.column + + -- end: ds.section-column + + -- end: p.page + +-- end: page diff --git a/pages/new-submission/index.html b/pages/new-submission/index.html new file mode 100644 index 0000000..fd6da45 --- /dev/null +++ b/pages/new-submission/index.html @@ -0,0 +1,2757 @@ + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/pages/rules.ftd b/pages/rules.ftd deleted file mode 100644 index 0dcae7f..0000000 --- a/pages/rules.ftd +++ /dev/null @@ -1,22 +0,0 @@ --- 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 diff --git a/pages/submissions.ftd b/pages/submissions.ftd new file mode 100644 index 0000000..53543db --- /dev/null +++ b/pages/submissions.ftd @@ -0,0 +1,40 @@ +-- import: ui.fifthtry.com/components/page as p +-- import: fifthtry.github.io/easy-contest/records/submissions as s +-- import: fifthtry.github.io/easy-contest/components/submission-box as box + +-- component page: +caption page-title: +ud.user-data user-data: +s.submission list submissions: +string new-submissions-link: /contest/submissions/new/ + +-- p.page: $page.page-title +user-data: $page.user-data + +-- ds.row: + +-- ds.heading-medium: Your Submissions + +-- ds.primary-button: New +link: $page.new-submissions-link + +-- end: ds.row + +-- ds.section-column: +margin: $ds.spaces.vertical-gap.extra-extra-large +align-content: top-left + +-- ds.column: +spacing: $ds.spaces.vertical-gap.extra-large + +-- box.submission-box: +for: $sub in $page.submissions +sub: $sub + +-- end: ds.column + +-- end: ds.section-column + +-- end: p.page + +-- end: page diff --git a/pages/submissions/index.html b/pages/submissions/index.html new file mode 100644 index 0000000..fd6da45 --- /dev/null +++ b/pages/submissions/index.html @@ -0,0 +1,2757 @@ + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/records/submission.ftd b/records/submission.ftd new file mode 100644 index 0000000..7499275 --- /dev/null +++ b/records/submission.ftd @@ -0,0 +1,9 @@ +-- record submission: +integer id: +string title: +string deploy_url: +string source_url: +string message: +integer user_id: +boolean is_winner: + diff --git a/records/submission/index.html b/records/submission/index.html new file mode 100644 index 0000000..fd6da45 --- /dev/null +++ b/records/submission/index.html @@ -0,0 +1,2757 @@ + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/rules.ftd b/rules.ftd deleted file mode 100644 index dffa906..0000000 --- a/rules.ftd +++ /dev/null @@ -1,3 +0,0 @@ --- import: fifthtry.github.io/easy-contest/pages/rules - --- rules.page: Rules | 100 domains contest diff --git a/scripts/auto.sh b/scripts/auto.sh index 987f9be..b6ca32a 100644 --- a/scripts/auto.sh +++ b/scripts/auto.sh @@ -6,3 +6,14 @@ function build-wasm() { popd || return 1 } +function upload-frontend-debug() { + DEBUG_USE_TEJAR_FOLDER="/home/sidd/projects/work/ft/tejar-cache/" \ + FIFTHTRY_SITE_WRITE_TOKEN="fifthtry-write-token" \ + DEBUG_API_FIFTHTRY_COM="http://127.0.0.1" \ + clift upload localhost + + DEBUG_USE_TEJAR_FOLDER="/home/sidd/projects/work/ft/tejar-cache/" \ + FIFTHTRY_SITE_WRITE_TOKEN="fifthtry-write-token" \ + DEBUG_API_FIFTHTRY_COM="http://127.0.0.1" \ + clift upload localhost --file ec.wasm +}