Minor tweaks to routes and frontend. Added generated routes from openapi.json

This commit is contained in:
Thastertyn committed 2025-03-12 20:43:17 +01:00
1 parent 75b2b1e142
commit 39b99d5509
9 files changed
+8717 -8084

No files matched your search

@@ -3,7 +3,6 @@ import { z } from "zod";
import { useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import { Link } from "@tanstack/react-router";
import { IconBrandFacebook, IconBrandGithub } from "@tabler/icons-react";
import { cn } from "@/lib/utils";
import { Button } from "@/components/ui/button";
import {
@@ -47,7 +46,6 @@ export function UserAuthForm({ className, ...props }: UserAuthFormProps) {
function onSubmit(data: z.infer<typeof formSchema>) {
setIsLoading(true);
// eslint-disable-next-line no-console
console.log(data);
setTimeout(() => {
@@ -101,28 +99,6 @@ export function UserAuthForm({ className, ...props }: UserAuthFormProps) {
<div className="absolute inset-0 flex items-center">
<span className="w-full border-t" />
</div>
<div className="relative flex justify-center text-xs uppercase">
<span className="bg-background px-2 text-muted-foreground">
Or continue with
</span>
</div>
</div>
<div className="flex items-center gap-2">
<Button
variant="outline"
className="w-full"
type="button"
disabled={isLoading}>
<IconBrandGithub className="h-4 w-4" /> GitHub
</Button>
<Button
variant="outline"
className="w-full"
type="button"
disabled={isLoading}>
<IconBrandFacebook className="h-4 w-4" /> Facebook
</Button>
</div>
</div>
</form>