File tree Expand file tree Collapse file tree 5 files changed +41
-0
lines changed
Expand file tree Collapse file tree 5 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ import { TemplateInformations } from './templates' ;
2+
3+ export const ModeTemplate : TemplateInformations = {
4+ eventId : 1 ,
5+ eventName : 'Code In The Dark #2' ,
6+ referenceImage : '/templates/mode/page.jpg' ,
7+ instructions : `
8+ --- The rules ---
9+
10+ 1) No previews - of either results or assets!
11+ 2) Stay in this editor at all times
12+ 3) No measurement tools
13+ 4) Stop coding when the time's up
14+ 5) After the round is over, press "Finish"
15+
16+ Good luck and most important of all : have fun ! 🥳
17+
18+ --- Assets ---
19+
20+ ⚠️ Remember to resize images if necessary
21+ ⚠️ Beware of file extensions !
22+ ⚠️ All images have straight borders, no radius !
23+
24+ img-woman.jpeg (w 900 x h 1350)
25+ img-keyboard.jpeg (w 800 x h 367)
26+
27+ --- Font ---
28+
29+ 'Helvetica' is loaded
30+
31+ --- Colors ---
32+
33+ black: #000000
34+ white: #FFFFFF
35+ ` ,
36+ showPreview : true ,
37+ demoMode : true ,
38+ } ;
Original file line number Diff line number Diff line change 1+ import { ModeTemplate } from "./mode.template" ;
12import { CityTemplate } from "./city.template" ;
23
34export interface TemplateInformations {
@@ -11,6 +12,7 @@ export interface TemplateInformations {
1112}
1213
1314export enum TemplateName {
15+ MODE = 'MODE' ,
1416 CITY = 'CITY' ,
1517}
1618
@@ -20,5 +22,6 @@ export const templatesDictionary: Record<
2022 TemplateNameList ,
2123 TemplateInformations
2224> = {
25+ MODE : ModeTemplate ,
2326 CITY : CityTemplate ,
2427} ;
You can’t perform that action at this time.
0 commit comments