diff --git a/src/pages/exam/index.tsx b/src/pages/exam/index.tsx index e3476508..c4b39a6b 100644 --- a/src/pages/exam/index.tsx +++ b/src/pages/exam/index.tsx @@ -207,9 +207,7 @@ export default function Page() { - {user && ( -
{renderScreen()}
- )} + {user &&
{renderScreen()}
} ); } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 742f28aa..952ffdf2 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -64,7 +64,7 @@ export default function Home() { -
+
setShowDiagnostics(false)} />
@@ -84,7 +84,7 @@ export default function Home() { {user && ( -
+
@@ -94,8 +94,8 @@ export default function Home() {
-

{user.name}

- {capitalize(user.type)} +

{user.name}

+
{capitalize(user.type)}
setEmail(e.target.value)} placeholder="Enter email address" - className="px-8 py-6 text-sm font-normal placeholder:text-mti-gray-cool bg-white rounded-full shadow-xl shadow-mti-gray-anti-flash" + className="px-8 py-6 text-sm font-normal placeholder:text-mti-gray-cool bg-white rounded-full shadow-xl shadow-mti-gray-anti-flash focus:outline-none" />
@@ -79,7 +79,7 @@ export default function Login() { name="password" onChange={(e) => setPassword(e.target.value)} placeholder="Password" - className="px-8 py-6 text-sm font-normal placeholder:text-mti-gray-cool bg-white rounded-full shadow-xl shadow-mti-gray-anti-flash" + className="px-8 py-6 text-sm font-normal placeholder:text-mti-gray-cool bg-white rounded-full shadow-xl shadow-mti-gray-anti-flash focus:outline-none" />
+ + Don't have an account?{" "} + + Sign up + +
diff --git a/src/styles/globals.css b/src/styles/globals.css index 16d31c6f..2fe483f8 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -8,7 +8,7 @@ --font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace; - --foreground-rgb: 0, 0, 0; + --foreground-rgb: 53, 51, 56; --background-start-rgb: 214, 219, 220; --background-end-rgb: 255, 255, 255; @@ -25,26 +25,6 @@ --card-border-rgb: 131, 134, 135; } -@media (prefers-color-scheme: dark) { - :root { - --foreground-rgb: 255, 255, 255; - --background-start-rgb: 0, 0, 0; - --background-end-rgb: 0, 0, 0; - - --primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0)); - --secondary-glow: linear-gradient(to bottom right, rgba(1, 65, 255, 0), rgba(1, 65, 255, 0), rgba(1, 65, 255, 0.3)); - - --tile-start-rgb: 2, 13, 46; - --tile-end-rgb: 2, 5, 19; - --tile-border: conic-gradient(#ffffff80, #ffffff40, #ffffff30, #ffffff20, #ffffff10, #ffffff10, #ffffff80); - - --callout-rgb: 20, 20, 20; - --callout-border-rgb: 108, 108, 108; - --card-rgb: 100, 100, 100; - --card-border-rgb: 200, 200, 200; - } -} - * { box-sizing: border-box; padding: 0; @@ -57,6 +37,7 @@ body { height: 100%; max-width: 100vw; overflow-x: hidden; + font-family: "Open Sans", system-ui, -apple-system, "Helvetica Neue", sans-serif; } body { @@ -68,9 +49,3 @@ a { color: inherit; text-decoration: none; } - -@media (prefers-color-scheme: dark) { - html { - color-scheme: dark; - } -} diff --git a/tailwind.config.js b/tailwind.config.js index 13991dfa..573f85dc 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -17,6 +17,7 @@ module.exports = { platinum: "#DBDBDB", "anti-flash": "#EAEBEC", }, + black: "#353338", }, ielts: { reading: {DEFAULT: "#1EB3FF", transparent: "rgba(255, 99, 132, 0.5)"},