diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..8c6153e --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +VITE_SUPABASE_URL=https://yourproject.supabase.co +VITE_SUPABASE_ANON_KEY=your-service-role-key \ No newline at end of file diff --git a/.gitignore b/.gitignore index 4c67142..d9e3070 100644 --- a/.gitignore +++ b/.gitignore @@ -1,22 +1,26 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - node_modules -dist -dist-ssr -*.local -# Editor directories and files -.idea +# Output +.output +.vercel +.netlify +.wrangler +/.svelte-kit +/build + +# OS .DS_Store -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? \ No newline at end of file +Thumbs.db + +# Env +.env +.env.* +!.env.example +!.env.test + +# Vite +vite.config.js.timestamp-* +vite.config.ts.timestamp-* + + +package-lock.json diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..b6f27f1 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..ab78a95 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +# Package Managers +package-lock.json +pnpm-lock.yaml +yarn.lock diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..7e71c41 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,15 @@ +{ + "useTabs": true, + "singleQuote": false, + "trailingComma": "all", + "printWidth": 100, + "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], + "overrides": [ + { + "files": "*.svelte", + "options": { + "parser": "svelte" + } + } + ] +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index a1f5c8a..0000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["svelte.svelte-vscode", "esbenp.prettier-vscode"] -} diff --git a/.vscode/settings.json b/.vscode/settings.json index 81f11fa..77b25a7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,9 @@ { - "editor.defaultFormatter": "esbenp.prettier-vscode", - "[svelte]": { - "editor.defaultFormatter": "svelte.svelte-vscode" + "tailwindCSS.emmetCompletions": true, + "editor.inlineSuggest.enabled": true, + "editor.quickSuggestions": { + "strings": true }, - "cSpell.words": ["Kahoot", "kokoro"] + "editor.defaultFormatter": "esbenp.prettier-vscode", + "css.customData": [".vscode/tailwind.json"] } diff --git a/.vscode/tailwind.json b/.vscode/tailwind.json new file mode 100644 index 0000000..72aad7e --- /dev/null +++ b/.vscode/tailwind.json @@ -0,0 +1,96 @@ +{ + "version": 1.2, + "atDirectives": [ + { + "name": "@theme", + "description": "Use the `@theme` directive to define your project's custom design tokens, like fonts, colors, and breakpoints.", + "references": [ + { + "name": "Tailwind Documentation", + "url": "https://tailwindcss.com/docs/functions-and-directives#theme-directive" + } + ] + }, + { + "name": "@source", + "description": "Use the `@source` directive to explicitly specify source files that aren't picked up by Tailwind's automatic content detection.", + "references": [ + { + "name": "Tailwind Documentation", + "url": "https://tailwindcss.com/docs/functions-and-directives#source-directive" + } + ] + }, + { + "name": "@utility", + "description": "Use the `@utility` directive to add custom utilities to your project that work with variants like `hover`, `focus` and `lg`.", + "references": [ + { + "name": "Tailwind Documentation", + "url": "https://tailwindcss.com/docs/functions-and-directives#utility-directive" + } + ] + }, + { + "name": "@variant", + "description": "Use the `@variant` directive to apply a Tailwind variant to styles in your CSS.", + "references": [ + { + "name": "Tailwind Documentation", + "url": "https://tailwindcss.com/docs/functions-and-directives#variant-directive" + } + ] + }, + { + "name": "@custom-variant", + "description": "Use the `@custom-variant` directive to add a custom variant in your project.", + "references": [ + { + "name": "Tailwind Documentation", + "url": "https://tailwindcss.com/docs/functions-and-directives#custom-variant-directive" + } + ] + }, + { + "name": "@apply", + "description": "Use the `@apply` directive to inline any existing utility classes into your own custom CSS.", + "references": [ + { + "name": "Tailwind Documentation", + "url": "https://tailwindcss.com/docs/functions-and-directives#apply-directive" + } + ] + }, + { + "name": "@reference", + "description": "If you want to use `@apply` or `@variant` in the ` diff --git a/src/IdleScreen/main.svelte b/src/IdleScreen/main.svelte deleted file mode 100644 index bdcb86c..0000000 --- a/src/IdleScreen/main.svelte +++ /dev/null @@ -1,180 +0,0 @@ - - -
- - -
-
-
- -{#if TabOpen.v !== false} -
-
- - -
-
-{/if} - - diff --git a/src/IdleScreen/time.svelte b/src/IdleScreen/time.svelte deleted file mode 100644 index dc660b6..0000000 --- a/src/IdleScreen/time.svelte +++ /dev/null @@ -1,231 +0,0 @@ - - -
-
-
-
-

0

-

1

-

0

-
-
-

0

-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

0

-
-

:

-
-

0

-

1

-

2

-

3

-

4

-

5

-

0

-
-
-

0

-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

0

-
- {#if ShowSeconds.v} -

.

-
-

0

-

1

-

2

-

3

-

4

-

5

-

0

-
-
-

0

-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

0

-
{/if} -

{AmOrPm}

-
-
-

- {new Date().toLocaleString("en-US", { weekday: "short" })} - {new Date().getDate()}, - {new Date().toLocaleString("en-US", { month: "short" })} - {new Date().getFullYear()} -

-
-
-
- - diff --git a/src/IdleScreen/timeTable.svelte b/src/IdleScreen/timeTable.svelte deleted file mode 100644 index 7eeb45d..0000000 --- a/src/IdleScreen/timeTable.svelte +++ /dev/null @@ -1,198 +0,0 @@ - - -
-
-
- - {#each table.Times as time} - {time} - {/each} -
-
- {#if new Date().getDay() == 1} - Monday - {:else} - Monday - {/if} - {#each table.Monday as time} - {#if new Date().getDay() == 1} - {time} - {:else} - {time} - {/if} - {/each} -
-
- {#if new Date().getDay() == 2} - Tuesday - {:else} - Tuesday - {/if} - {#each table.Tuesday as time} - {#if new Date().getDay() == 2} - {time} - {:else} - {time} - {/if} - {/each} -
-
- {#if new Date().getDay() == 3} - Wednesday - {:else} - Wednesday - {/if} - {#each table.Wednesday as time} - {#if new Date().getDay() == 3} - {time} - {:else} - {time} - {/if} - {/each} -
-
- {#if new Date().getDay() == 4} - Thursday - {:else} - Thursday - {/if} - {#each table.Thursday as time} - {#if new Date().getDay() == 4} - {time} - {:else} - {time} - {/if} - {/each} -
-
- {#if new Date().getDay() == 5} - Friday - {:else} - Friday - {/if} - {#each table.Friday as time} - {#if new Date().getDay() == 5} - {time} - {:else} - {time} - {/if} - {/each} -
-
-
- - diff --git a/src/SelectionMenue/TypeSelector.svelte b/src/SelectionMenue/TypeSelector.svelte deleted file mode 100644 index 464c230..0000000 --- a/src/SelectionMenue/TypeSelector.svelte +++ /dev/null @@ -1,249 +0,0 @@ -
- -

- A collection of awesome tools, games, and more — made to be used in any - classroom! -

-

MAIN

- -
- - -
-

OTHERS

-
- - - - - - - - - -
-
- -
- Made by RezHackXYZ for - Neighborhood! - Contribute here if you want. -
- - diff --git a/src/announcer/ActualAnnouncer.svelte b/src/announcer/ActualAnnouncer.svelte deleted file mode 100644 index 98fc832..0000000 --- a/src/announcer/ActualAnnouncer.svelte +++ /dev/null @@ -1,182 +0,0 @@ - - -
-
-

Most Announced announcements

- -
- {#each CommonAnounce as anouncement, i} -
- - -
- {/each} -
- -
- -

Or announce something else

-
- - -
- {#if text} - - {/if} -
- - -
- - diff --git a/src/announcer/main.svelte b/src/announcer/main.svelte deleted file mode 100644 index 1c2008c..0000000 --- a/src/announcer/main.svelte +++ /dev/null @@ -1,100 +0,0 @@ - - -
- -
- -
-
- - diff --git a/src/app.html b/src/app.html new file mode 100644 index 0000000..360389c --- /dev/null +++ b/src/app.html @@ -0,0 +1,15 @@ + + + + + + + %sveltekit.head% + + +
%sveltekit.body%
+ + diff --git a/src/app.svelte b/src/app.svelte deleted file mode 100644 index 8e424e2..0000000 --- a/src/app.svelte +++ /dev/null @@ -1,79 +0,0 @@ - - -
- -
-{#if ShowAlertDiv == true} -
-

{ShowAlertText}

-
-{/if} - - diff --git a/src/lib/config.js b/src/lib/config.js new file mode 100644 index 0000000..45391e8 --- /dev/null +++ b/src/lib/config.js @@ -0,0 +1,133 @@ +export let AnswersSymbolAndColorScheme = [ + { + color: "#6E0000", + selectedColor: "#AA2222", + hoverBorderColor: "#FF5D5D", + selectedBorderColor: "#FF0000", + symbol: "nf-md-triangle", + }, + { + color: "#00316E", + selectedColor: "#2255AA", + hoverBorderColor: "#5D9CFF", + selectedBorderColor: "#0000FF", + symbol: "nf-fa-square", + }, + { + color: "#6E6E00", + selectedColor: "#AAAA22", + hoverBorderColor: "#FFFF5D", + selectedBorderColor: "#DDFF00", + symbol: "nf-fa-circle", + }, + { + color: "#006E00", + selectedColor: "#22AA22", + hoverBorderColor: "#5DFF5D", + selectedBorderColor: "#00FF00", + symbol: "nf-fa-diamond", + }, + { + color: "#4B0082", + selectedColor: "#7F33B5", + hoverBorderColor: "#B066FF", + selectedBorderColor: "#9932CC", + symbol: "nf-md-star", + }, + { + color: "#FF8C00", + selectedColor: "#FFB347", + hoverBorderColor: "#FFD580", + selectedBorderColor: "#FFA500", + symbol: "nf-md-hexagon", + }, + { + color: "#008B8B", + selectedColor: "#33CCCC", + hoverBorderColor: "#66FFFF", + selectedBorderColor: "#00CED1", + symbol: "nf-md-octagon", + }, + { + color: "#8B4513", + selectedColor: "#CD853F", + hoverBorderColor: "#DEB887", + selectedBorderColor: "#A0522D", + symbol: "nf-md-heart", + }, +]; + +export let DefaultQuestions = [ + { + name: "What should you do when you're free?", + answers: ["Do something in real life!", "Play video games", "Code!", "Touch grass!"], + correctAnswer: 2, + }, + { + name: "Is RezHackXYZ the best programmer in the world?", + answers: ["Yes :)", "No :("], + correctAnswer: 0, + }, + { + name: "Best place in the world?", + answers: [ + "Google", + "Microsoft", + "Apple", + "Samsung", + "Hack Club!! :D", + "Amazon", + "Facebook", + "Twitter", + ], + correctAnswer: 4, + }, +]; + +export let AiPrompts = { + GenerateQuestionsUsingAI: ` +You are the AI of a quiz game. +Generate a list of quiz questions with possible answers and the correct answer index. +Each question must have: +- A "name" (question text) +- An "answers" array (minimum 2, maximum 8 options) +- A "correctAnswer" (index starting from 0) +Ensure the questions are diverse. +Example format: +{ +"name": "What is the capital of France?", +"answers": [ + "Paris", + "London", + "Berlin", + "Madrid" +], +"correctAnswer": 0 +} +JUST PROVIDE THE JSON AND NOTHING ELSE. + +The user's topic of interest is: +[topic]`, +GenerateOptionsUsingAI: ` +You are the AI of a quiz game. +Generate a list of answers relevant to the Question the correct answer index. +generate 2 things for the question: +- An "answers" array (minimum 2, maximum 8 options) +- A "correctAnswer" (index starting from 0) +Ensure the questions are diverse. +Example format if the question is "What is the capital of France?": +{ +"answers": [ + "Paris", + "London", + "Berlin", + "Madrid" +], +"correctAnswer": 0 +} +JUST PROVIDE THE JSON AND NOTHING ELSE. + +The user's Question that they want to generate options for is: +[question] +` +}; \ No newline at end of file diff --git a/src/lib/showAlert.js b/src/lib/showAlert.js new file mode 100644 index 0000000..957e3d4 --- /dev/null +++ b/src/lib/showAlert.js @@ -0,0 +1,2 @@ +import JSConfetti from "js-confetti"; +const jsConfetti = new JSConfetti(); diff --git a/src/lib/supabase.js b/src/lib/supabase.js new file mode 100644 index 0000000..0a5ac16 --- /dev/null +++ b/src/lib/supabase.js @@ -0,0 +1,6 @@ +import { createClient } from '@supabase/supabase-js'; + +export const supabase = createClient( + import.meta.env.VITE_SUPABASE_URL, + import.meta.env.VITE_SUPABASE_ANON_KEY +); \ No newline at end of file diff --git a/src/routes/+HomePage/Galery.svelte b/src/routes/+HomePage/Galery.svelte new file mode 100644 index 0000000..d1f7b7f --- /dev/null +++ b/src/routes/+HomePage/Galery.svelte @@ -0,0 +1,28 @@ + + +
+
+ {#each tools as tool} + +
+ how the tool {tool.name} looks like +
+ + {tool.name} +
+

{@html tool.description}

+
+
+ {/each} +
+
diff --git a/src/routes/+HomePage/ascii.svelte b/src/routes/+HomePage/ascii.svelte new file mode 100644 index 0000000..65e4818 --- /dev/null +++ b/src/routes/+HomePage/ascii.svelte @@ -0,0 +1,87 @@ +
+                    ##########%#%                                                                           ############%#                                                                                                  
+                #%#################%                                                                       %###################%#%%                                                                                         
+             %%######################                                                                     ###########################%                                                                                      
+            ##########################                                                                    %###########################%#                                                                                    
+          %###########################%                                                                   %#############################%#                                                                                  
+         ##############################%                                                                  ######%##########################                                                                                 
+       %%###############%##%############                                                                 %#################################%                                                                                
+      ###############*+=-----=+*%#######%                                                                #######+--=+**#####################%                                                                               
+     %%###########+=-------------*######%                                                                %######=--------=-----=*############%                                                                              
+    ############+----------------.######%                                                                #######------------------=*###########                                                                             
+    ##########+------------------.######% %#######%                                                      ######*----------------::::=##########%                                                                            
+   %#########=-----------------::.######%############%%                                                 %######+--------------::::::-=##########                                                                            
+   ########*-----------------:::.:######################%                                               %######=------------::::::-====*#########                                                                           
+  %#######*:---------------:::::.-########################                                              %######=----------::::::-=======*########                                                                           
+  #######*:::------------::::::-:=########################%                                             #######---------::::::-======+++=########%                                                                          
+ ########=::::----------:::::-==.+#########################%                                            ######*-------::::::-======++++++=#######%                                                                          
+ #######+==:::::------::...:--==.*#########################%                                           %######+-----:::::.:-=====++++++++=+######%                                                                          
+%#######+===-:::::-::...:===--:.:################%##########                                           %######=---::::::=.-==-=+++++++++++-#######%                                                                         
+#######*++====::::::. =#######################+++++*######## %%%%                  %%             #%%% #######=-::::::===.####++++++++++++-*####### #%#%###%%           #%%####%#                   %%#%####%%#             
+#######++++====::::..*#######################*++++++==##############            #%#####%%     %###############::::::====-.#####*++++++++++==##################%     %#%############%%        %%%%%###############           
+#######+++++=====-..*#######################%**+++++-:##################%    %############  #################*::::======--######+++++++++++-###################%%  #################### %%%######################%%         
+######*+++++++====.=##############%##########****+++--#####################%%################################+::=======+-=######+++++++++++:######################%#################################################        
+######*++++++++==-.##########################*****++:=#######################################################========+++:+######++++++++**+:#########################################################################       
+######*++++++++++--##########################******+:+#######################################################+=====+++++.######*+++++*****+:##########################################################################      
+######*++++++++++=-##########################*******.*#######################################################====+++++++.######++++*******=-##########################################################################%     
+######*++++++++++==########################%#*******.########################################################==+++++++++=*###*+++*********-=##########***#############################################**+**#############    
+######***++++++++=-########################%#******+.#####*++++++*###############*++++*#########*+===#######*++++++++++++++++++***********.*########*********############********##################*++++++++++##########    
+######****++++++++:#################*+######*******+:####+++++++++++**########%*++++++-#######*+++==-+######*++++++++++++++++************=.#######************#########***********+#######%#+++++=======+++++++*########%   
+#######****+++++++:################***+#####*******=-###++++++++++++++++++####+++++++++=#####++++++++-######*++++++++++++++*************+.+#####**************+*######***********+++*##%**+++=============+++++++########   
+#######*****++++++=+##############****+*####++++***-=##**+++++++++++++++++:##++++++++++-####++++++++++-#####+++++++++++++***************::#####****************=#####*********++++++=*##++==================++++=*#######%  
+#######*******+++++=#############******+*###+++++**:+##***++++++++++++++++.#********+=:.=##+++++++++-: #####+++++++++++****************::######*******+=+*******=###******+++++++++++-##+=========-----=======+++-########  
+#######********+++++=###########******++=###++++++*.*##****+++=-=********=-#********+.=####++++++++::*######+++++++++*****************=.######*+*****-.:==******-###***++++-.:-=+++====#*=====-----------:======+=+#######  
+%######**********+++*+*#######*******++++=##==+++++.##*******-.=*+*******:+#*********-#####++++++++-*######*+++++++***=+************+++-######++++++=.*###******==##++++++:.*###======:#*==---------------+=======-#######% 
+########***************************++++++-=*====++=.##******+.*###*******.###**********####+++++++++=######*+++++*****.==-=*******+++++:######++++++:=####*++++++-#*++++++.*####======:*#------::--------:#=--====:########%
+ #######*************************+++++++=.=+=====+=:##******=-####******+:###**********+####**++++++++*####++++******* ###*=****+++++++-+#####++++++:*####*+++++=:#*+++++=.#####+===--:+#--------#-------.#+----==-*#######%
+ %#######**********************+++++++==::#+======--##******==####******=-####+*********+###+***++++++++###++********+:#####**+++++++===-#####=====+-*####*+++++=:#*++====:#####=-----:+#=------:#+------.**-------=########
+ %#######********************+++++++===- *#=----==:=##+******=####******:+#####+*********=###+*****++++=*##**********=-#####*++++++=====:#####========####++++++:-#*======:####+------.+#=-----:.#*:::---:+#--------########
+  ########+****************+++++++====:.+##------=:+##++*****+*##*******:*######+********-####********++-##**********:=######++++=======:#####+========*+=======.*##======--**+-------.*#+--::::.*#:::::::=#=--------#######
+  %########+**************++++++=====:.*###-------.*###++***************:*#######********-+####*********.#***********.*######++=======--:+####*--==============::###===--------------::##*::::::.+#:::::::-##--------.######
+   ########%=***********++++++======:.*###*-------.####+++**************=*######++++*****.*####********=:##********** ########======------#####=----------====-.*####---------------:.+###:::::::=#-::::::.##+------.-######
+   ##########=+*******+++++++=====-.:#####+-------.#####=++++++++++++++++-####+++++++++*-.###*********+.+##*********=:########====-------:######--------------.=#####+------------::.-####::::::::#=::::::.##%+:---.:#######
+    %#########*=+***+++++++=====-:.=######+::----::######=+++++++++++++++:+###+++++++++-.*###********+.-###-=+****++--#########=---------.######*-----------:.=#######+-------::::..-#####-::::::.#+::::::.*%##*-:..########
+     %##########=-+++++++=====-:.:*#######=::::--:-#######=-=+++++=+++++-.####*+++++++:.*####*******=.=####*+-::--=+:=#########=---------.#######*::-------..+#########*::-:::::...=######=::::::.#*:::::..=#####*+#########
+      ############=--======-:..-*##########=:..::.=########*-::::.:=====.+#####====-:.:#######***+=..+###########*=--##########*------::..#########=::::...-#############+:.....:+########+::::::.*#=...--+################ 
+       %#############+=--::-=*#################*+=##################===.-#######-:..=#########*-:.-+############################----:..:=############*==+*################################*::....:*##*##################### 
+        #############################################################*-:#########+*############*+################################:..:=*####################################################*:=+*##########################  
+          ########################################################################################################################**####################################################################################%   
+            #######################%@%##############################################################+++*#######################################*#######################################################################%    
+              ###################%@@@@@%##############################################**+++########*++++++++###############################+=-::=###############*+-:::*########################################%%###%%      
+                ################%@@@@@@@@%##################++++*############**+==---------:#######++++++==-:#########################*+=:::::::.=#########*+=-:::::::.######%%%%%#################%%%%#######%             
+                ##############%@@@@%#%@@@@@%############*+---------###*+=------------------:+######========-:#########*##########*+=-::::::::::::-#####+=-::::::::::::.######%@@@@@@%###########%@@@@@@#######%             
+                ############%@@@@%%####%@@@@%##########------------.##=------:::::---------:=######========:=########+::-+*#####:::::::::::::::::.###=::::::::::::::::.+#####%@@@@@@@@%#######%@@@@@@@@########             
+                ##########%@@@@@%########%@@@@%#######::::---::::::.##=:::::::::::::-------:=#####*-======-.+########-::::::-*##:::::::::::::::::.###=:::::::::::::::::=#####%@@@@@@@@@@%###%@@@@@@@@@@#######%             
+                #########@@@@@%############%@@@@%####-:::::::::::::.*#=::::::::::::::::----:-#####+-------- #########:::::::::*#:::::::::::::::::.+##+::::::::::::::::::#####%@@%**%@@@@@%#%@@@@@#**@@@########             
+                #########%@@@@@%##########%@@@@@@###*::::::::::::::.*#+::::::::::::::::::--::#####=--------.########*::::::::.=#=:::::::::::::::::=##*:::::::::::::::::.#####%@@%****%@@@@@@@@@#****@@@#######%             
+                %##########%@@@@@%######%@@@@@@@@###=::::::::::::::.*#*:::::::::::::::::::::.#####--------:-########+::::::::.*#+::::.........:::.:###::::::::::::::::..*####%@@%******%@@@@@%******@@@########             
+                 %###########@@@@@%###%@@@@@%#@@@###-::::::::::::::.*#*:::::::::::::::......-#####--------.=########-:::::::: ##*::...............+###::::::::::::.....:#####%@@%*******#@@@%*******@@@#######%             
+                 ############@@@@@@@%@@@@%@@%#@@@###:::::::::::..:::*##:::::::::::::::.=+**######+-------:.*########::::::::.:###...........:-=*######=...........:=+*#######%@@%********%@@#*******@@@#######%             
+                  %##########@@#*%@@@@@%#*@@%#@@@###-:::::::::.=#######+....::::::::::.##########=:----:::.########*::::::::.=###:........=###########+........:#############%@@%********#@@#*******@@@#######%             
+                   %#########@@#***%@@#***@@%#@@@###-::::::::.:#########**###+::::::::.*#########-:::::::.:########=::::::::.*###=........=#*+=-+#####*.........##*+==#######%@@%********#@@#*******@@@########             
+                    %########@@#***#@#****@@%#@@@###+:::::::::-##############+::::::::.*#########::::::::.=########-:::::::. ####+........:......+#####:........:.....:######%@@%********%@@#*******@@@#######%             
+                     ########@@@#**#@#***%@@%#@@@####.::::::::-##############*::::::::.+########*::::::::.+########::::::...:####*...::::::::....-#####-.............:.*#####%@@%********%@@#*******@@@%#######             
+                     ########@@@@%*#@#*#@@@@%#%%%####-.:::::::.###############::::::::.=########+:::::::: ########*::::.....=#####::::::::::::::::#####=..........::::.*#####%@@@@%#*****%@@#****%%@@@@#######              
+                     #########%@@@@%@#@@@@%##########+..::::::.*##############.....::::-########=:::::::::########=::.......*#####=::::::::::::::.#####*:::::..::::::::+#####%@@@@@@@%#**%@@#*#%@@@@@@@#######              
+                     %##########%@@@@@@@@%############.........-##############:......:::########-:::::::.-########:........ ######+:::--:::::::::.######:::::::::::::::=#####%@@@@@@@@@%*%@@#%@@@@@@@@@#######              
+                      #########%#%%@@@@%##############-.........##############-........:########::::::::.=#######*.........:######*:------------:.*#####-:::::::::::----#########%%@@@@@@@@@@@@@@@%%##########              
+                      %############%@%################=.........=#############-.........########::::::::.=#######=.........=#######--------------.+#####=::::::::-----::#############%@@@@@@@@@%##############              
+                       %##############################=.........-#############=.........########:::::::::=#######:......::.*#######---------...:-=######+--------:...:-*##############%%@@@@@%###############               
+                        #######################%######:..........#############+.........*#######-:::::::::######-.....::::.########+-------:-###########*--------.*#####################%@@@%################               
+                         ###########################*-::.........#############*:::......+#######=:::::::..:###+-....:::::.=########+---------############--------.########################%#################                
+                          #%###################%=----:::::::::::.####%########*::::::...+#######*.................::::::: *########*--------:############=-------:+######################################%%                 
+                            %%##################=-----:::::::::::##############::::::::.=########:..............:::::::-:-##########--------.############+-------:=###########%%####################%#%                     
+                              #%########%%######=------::::::::.=##############-::::::::-########*............:::::::--- *##########=-------:+###########*--------:########%    #%#################%                        
+                                  #%%    #######=-------:::::::.###############=---::::::#########-.........:::::::----.-###########+-------:=############--------.#######%       ###############%                          
+                                         %######=------------:.+###############=-----::::##########:......:::::::-----:.*###########*--------:############--------.*######%         %##########%                            
+                                         #######+-----------:.+################=--------.###########-...:::::::------:.*#############--------.############=-------:=######            #%####%#                              
+                                         %######+---------:.-##################+--------.############=:::::::------:.:*##############--------:*###########+---------######                                                  
+                                         %#######+::::...:=*##########   ######*-----::: ##############-:::------:..+################=-------.+###########*-------::######                                                  
+                                          ##########*+*#############%    #######+..:--=+*################=::::...:=##################+--::..:-#############--::..:-*#####%                                                  
+                                          ##########################      %###################%#############***#######################=:-+*#################:-=*#########                                                   
+                                           %######################%       ###################% %###########################%   #########################################%                                                   
+                                            ######################         #################%%  %#########################%%    ####################%##################%                                                    
+                                             #%#################            ###############%     %########################      %##################% %################%                                                     
+                                               ###############               %#############        ####################%%         ################%   %###############                                                      
+                                                  #%##%%%#%                    %#######%##            %%%###########%%%            #############%       ###########%%                                                       
+
diff --git a/src/routes/+HomePage/footer.svelte b/src/routes/+HomePage/footer.svelte new file mode 100644 index 0000000..853c0bb --- /dev/null +++ b/src/routes/+HomePage/footer.svelte @@ -0,0 +1,11 @@ +
+
+ Made By RezHackXYZ for + Neighborhood. • + Source code available + here. +
+
+ and the "?ascii" flag for a surprise! +
+
diff --git a/src/routes/+HomePage/landingPage.svelte b/src/routes/+HomePage/landingPage.svelte new file mode 100644 index 0000000..efbd1f9 --- /dev/null +++ b/src/routes/+HomePage/landingPage.svelte @@ -0,0 +1,42 @@ + + +
+
+
+ {#if FlagAscii == true} + + {:else} + ClassRoomStuff Logo + {/if} +

+ The + + ultimate + + classroom + + toolkit + for all the teachers and students needs! +

+
+ +
+
+ + Scroll to see more tools! + +
+
diff --git a/src/routes/+HomePage/rightCards.svelte b/src/routes/+HomePage/rightCards.svelte new file mode 100644 index 0000000..eda5cc1 --- /dev/null +++ b/src/routes/+HomePage/rightCards.svelte @@ -0,0 +1,24 @@ + + + diff --git a/src/routes/+HomePage/tools.json b/src/routes/+HomePage/tools.json new file mode 100644 index 0000000..56557b2 --- /dev/null +++ b/src/routes/+HomePage/tools.json @@ -0,0 +1,37 @@ +[ + { + "name": "Kahoot Clone", + "description": "A Kahoot clone built from scratch with a Postgres DB, AI integration, and more.", + "link": "/kahootclone", + "icon": "nf-md-chat_question", + "image": "https://placehold.co/1800x1000?text=screenshot+TBA" + }, + { + "name": "Wordle", + "description": "with unlimited tries, customizable world lengths and more.", + "link": "/wordle", + "icon": "nf-md-file_word_box", + "image": "https://placehold.co/1800x1000?text=screenshot+TBA" + }, + { + "name": "Announcer", + "description": "To let the have computer talk shout on them, if they don't listen to you", + "link": "/announcer", + "icon": "nf-md-speaker_wireless", + "image": "https://placehold.co/1800x1000?text=screenshot+TBA" + }, + { + "name": "Name Selecter", + "description": "to chose any student randomly, with memory of previous names and more.", + "link": "/randomname", + "icon": "nf-oct-people", + "image": "https://placehold.co/1800x1000?text=screenshot+TBA" + }, + { + "name": "Time&Table", + "description": "The perfect idle screen when theres no teacher with the timetable, time and date!", + "link": "/randomname", + "icon": "nf-cod-table", + "image": "https://placehold.co/1800x1000?text=screenshot+TBA" + } +] diff --git a/src/routes/+layout.js b/src/routes/+layout.js new file mode 100644 index 0000000..c8cacf0 --- /dev/null +++ b/src/routes/+layout.js @@ -0,0 +1 @@ +export const prerender = true; \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte new file mode 100644 index 0000000..7a687d6 --- /dev/null +++ b/src/routes/+layout.svelte @@ -0,0 +1,9 @@ + + + +
{@render children()}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte new file mode 100644 index 0000000..2c6450a --- /dev/null +++ b/src/routes/+page.svelte @@ -0,0 +1,9 @@ + + + + +