Commit 039f08df authored by wycers's avatar wycers
Browse files

adjustment

parent 3faca0d7
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -20,16 +20,16 @@
	/>
</div> -->
<div
	class="container relative  h-[800px] flex-col items-center justify-center md:grid lg:max-w-none lg:grid-cols-2 lg:px-0"
	class="container relative  h-[800px] flex-col items-center justify-center md:grid lg:max-w-none lg:px-0"
>
	<Button
	<!-- <Button
		href="/examples/authentication"
		variant="ghost"
		class="absolute right-4 top-4 md:right-8 md:top-8"
	>
		Login
	</Button>
	<div class="relative hidden h-full flex-col bg-muted p-10 text-white dark:border-r lg:flex">
	</Button> -->
	<!-- <div class="relative hidden h-full flex-col bg-muted p-10 text-white dark:border-r lg:flex">
		<div
			class="absolute inset-0 bg-cover"
			style="
@@ -37,7 +37,7 @@
					url(https://images.unsplash.com/photo-1590069261209-f8e9b8642343?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1376&q=80);"
		/>
		<div class="relative z-20 flex items-center text-lg font-medium">
			<!-- <Command class="mr-2 h-6 w-6" /> -->
			<Command class="mr-2 h-6 w-6" />
			Acme Inc
		</div>
		<div class="relative z-20 mt-auto">
@@ -50,17 +50,17 @@
				<footer class="text-sm">Sofia Davis</footer>
			</blockquote>
		</div>
	</div>
	</div> -->
	<div class="lg:p-8">
		<div class="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
			<div class="flex flex-col space-y-2 text-center">
				<h1 class="text-2xl font-semibold tracking-tight">Create an account</h1>
				<p class="text-sm text-muted-foreground">
				<h1 class="text-2xl font-semibold tracking-tight">Sign in</h1>
				<!-- <p class="text-sm text-muted-foreground">
					Enter your email below to create your account
				</p>
				</p> -->
			</div>
			<Form />
			<p class="px-8 text-center text-sm text-muted-foreground">
			<!-- <p class="px-8 text-center text-sm text-muted-foreground">
				By clicking continue, you agree to our{" "}
				<a href="/terms" class="underline underline-offset-4 hover:text-primary">
					Terms of Service
@@ -70,7 +70,7 @@
					Privacy Policy
				</a>
				.
			</p>
			</p> -->
		</div>
	</div>
</div>
 No newline at end of file
+5 −5
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
<div class={cn('grid gap-6', className)} {...$$restProps}>
	<form on:submit|preventDefault={onSubmit}>
		<div class="grid gap-2">
			<div class="grid gap-1">
			<!-- <div class="grid gap-1">
				<Label class="sr-only" for="email">Email</Label>
				<Input
					id="email"
@@ -38,16 +38,16 @@
					autocorrect="off"
					disabled={isLoading}
				/>
			</div>
			</div> -->
			<Button type="submit" disabled={isLoading}>
				{#if isLoading}
					<Icons.spinner class="mr-2 h-4 w-4 animate-spin" />
				{/if}
				Sign In with Email
				Sign In
			</Button>
		</div>
	</form>
	<div class="relative">
	<!-- <div class="relative">
		<div class="absolute inset-0 flex items-center">
			<span class="w-full border-t" />
		</div>
@@ -63,5 +63,5 @@
		{/if}
		{' '}
		GitHub
	</Button>
	</Button> -->
</div>
+3 −1
Original line number Diff line number Diff line
@@ -12,7 +12,9 @@ export const load = (async ({ parent }) => {
		redirect(302, '/login');
	}

	const problems = await db.problem.findMany();
	const problems = await db.problem.findMany({
		where: { classId: currentClass.id }
	});
	return {
		result: problems
	};
+1 −2
Original line number Diff line number Diff line
@@ -48,4 +48,3 @@
		</div>
	</div>
</div>
 No newline at end of file
Create