diff --git a/src/routes/(app)/register/views/View1.svelte b/src/routes/(app)/register/views/View1.svelte index b004fa2..ab04c9a 100644 --- a/src/routes/(app)/register/views/View1.svelte +++ b/src/routes/(app)/register/views/View1.svelte @@ -28,8 +28,8 @@ } } - function back(){ - //todo make this move page back to prev screen + function back() { + pageView.set(1); } let gradeCanRegister = false; @@ -42,7 +42,7 @@ // Check if the grade exists in the JSON object and if it's enabled if (enableGrades.hasOwnProperty(gradeKey) && enableGrades[gradeKey]) { gradeCanRegister = true; - }else if(enableGrades["preReg"] && permissions === 1){ + } else if (enableGrades["preReg"] && permissions === 1) { gradeCanRegister = true; } } @@ -271,18 +271,8 @@ /*background-color: #eaeaea;*/ } - /*input:hover {*/ - /* !*border-color: #577db2;*!*/ - /* background-color: #eaeaea;*/ - /*!*}*!*/ - .submit { - - - } - - - .nav-btn{ + .nav-btn { flex: 1; height: 35px; background-color: #0082ff; @@ -292,9 +282,31 @@ cursor: pointer; transition-duration: 150ms; color: var(--text); + display: flex; + align-items: center; + justify-content: center; + gap: 10px; + + } + + .nav-btn:hover { + background-color: #577db2; } - .button-cont{ + .material-symbols-outlined { + color: #d6d6d6; + width: 24px; + user-select: none; + } + + .filled-icons { + font-variation-settings: "FILL" 1, + "wght" 600, + "GRAD" 0, + "opsz" 24; + } + + .button-cont { margin-top: 10px; height: 35px; width: 100%; @@ -305,9 +317,6 @@ gap: 10px; } - .submit:hover { - background-color: #577db2; - } @media only screen and (max-width: 600px) { .main { @@ -350,8 +359,9 @@
diff --git a/svelte.config.js b/svelte.config.js index 1fb0516..ad61569 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -3,12 +3,16 @@ import adapter from '@sveltejs/adapter-node'; /** @type {import('@sveltejs/kit').Config} */ const config = { - kit: { - // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. - // If your environment is not supported or you settled on a specific environment, switch out the adapter. - // See https://kit.svelte.dev/docs/adapters for more information about adapters. - adapter: adapter() - } + kit: { + // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. + // If your environment is not supported or you settled on a specific environment, switch out the adapter. + // See https://kit.svelte.dev/docs/adapters for more information about adapters. + adapter: adapter() + }, + onwarn: (warning, handler) => { + if (warning.code.startsWith('a11y-')) return + handler(warning) + }, }; export default config;