Skip to content

Commit dd7fb30

Browse files
committed
feat: working on the forgot password ui
1 parent bc3a22b commit dd7fb30

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+765
-519
lines changed

.github/workflows/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy to Vercel
33
on:
44
push:
55
branches:
6-
- main # Change this to your deployment branch if needed
6+
- main
77

88
jobs:
99
build-and-deploy:
@@ -35,5 +35,5 @@ jobs:
3535

3636
- name: Deploy to Vercel
3737
env:
38-
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} # Add your Vercel token to GitHub Secrets
38+
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
3939
run: vercel --prod --token $VERCEL_TOKEN

src/App.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ import { RouterView } from 'vue-router'
55
<template>
66
<RouterView />
77
</template>
8-

src/assets/main.css

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,73 +3,73 @@
33
@tailwind base;
44
@tailwind components;
55
@tailwind utilities;
6-
6+
77
@layer base {
88
:root {
99
--background: 0 0% 100%;
1010
--foreground: 222.2 84% 4.9%;
11-
11+
1212
--muted: 210 40% 96.1%;
1313
--muted-foreground: 215.4 16.3% 46.9%;
14-
14+
1515
--popover: 0 0% 100%;
1616
--popover-foreground: 222.2 84% 4.9%;
17-
17+
1818
--card: 0 0% 100%;
1919
--card-foreground: 222.2 84% 4.9%;
20-
20+
2121
--border: 214.3 31.8% 91.4%;
2222
--input: 214.3 31.8% 91.4%;
23-
23+
2424
--primary: 222.2 47.4% 11.2%;
2525
--primary-foreground: 210 40% 98%;
26-
26+
2727
--secondary: 210 40% 96.1%;
2828
--secondary-foreground: 222.2 47.4% 11.2%;
29-
29+
3030
--accent: 210 40% 96.1%;
3131
--accent-foreground: 222.2 47.4% 11.2%;
32-
32+
3333
--destructive: 0 84.2% 60.2%;
3434
--destructive-foreground: 210 40% 98%;
35-
35+
3636
--ring: 222.2 84% 4.9%;
37-
37+
3838
--radius: 0.5rem;
3939
}
40-
40+
4141
.dark {
4242
--background: 222.2 84% 4.9%;
4343
--foreground: 210 40% 98%;
44-
44+
4545
--muted: 217.2 32.6% 17.5%;
4646
--muted-foreground: 215 20.2% 65.1%;
47-
47+
4848
--popover: 222.2 84% 4.9%;
4949
--popover-foreground: 210 40% 98%;
50-
50+
5151
--card: 222.2 84% 4.9%;
5252
--card-foreground: 210 40% 98%;
53-
53+
5454
--border: 217.2 32.6% 17.5%;
5555
--input: 217.2 32.6% 17.5%;
56-
56+
5757
--primary: 210 40% 98%;
5858
--primary-foreground: 222.2 47.4% 11.2%;
59-
59+
6060
--secondary: 217.2 32.6% 17.5%;
6161
--secondary-foreground: 210 40% 98%;
62-
62+
6363
--accent: 217.2 32.6% 17.5%;
6464
--accent-foreground: 210 40% 98%;
65-
65+
6666
--destructive: 0 62.8% 30.6%;
6767
--destructive-foreground: 210 40% 98%;
68-
68+
6969
--ring: 212.7 26.8% 83.9%;
7070
}
7171
}
72-
72+
7373
@layer base {
7474
* {
7575
@apply border-border;
@@ -78,4 +78,4 @@
7878
font-family: 'Poppins', sans-serif;
7979
@apply bg-background text-foreground;
8080
}
81-
}
81+
}

src/components/ui/avatar/Avatar.vue

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ import { AvatarRoot } from 'radix-vue'
44
import { type AvatarVariants, avatarVariant } from '.'
55
import { cn } from '@/lib/utils'
66
7-
const props = withDefaults(defineProps<{
8-
class?: HTMLAttributes['class']
9-
size?: AvatarVariants['size']
10-
shape?: AvatarVariants['shape']
11-
}>(), {
12-
size: 'sm',
13-
shape: 'circle',
14-
})
7+
const props = withDefaults(
8+
defineProps<{
9+
class?: HTMLAttributes['class']
10+
size?: AvatarVariants['size']
11+
shape?: AvatarVariants['shape']
12+
}>(),
13+
{
14+
size: 'sm',
15+
shape: 'circle'
16+
}
17+
)
1518
</script>
1619

1720
<template>

src/components/ui/avatar/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ export const avatarVariant = cva(
1111
size: {
1212
sm: 'h-10 w-10 text-xs',
1313
base: 'h-16 w-16 text-2xl',
14-
lg: 'h-32 w-32 text-5xl',
14+
lg: 'h-32 w-32 text-5xl'
1515
},
1616
shape: {
1717
circle: 'rounded-full',
18-
square: 'rounded-md',
19-
},
20-
},
21-
},
18+
square: 'rounded-md'
19+
}
20+
}
21+
}
2222
)
2323

2424
export type AvatarVariants = VariantProps<typeof avatarVariant>

src/components/ui/badge/index.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@ export const badgeVariants = cva(
77
{
88
variants: {
99
variant: {
10-
default:
11-
'border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80',
10+
default: 'border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80',
1211
secondary:
1312
'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',
1413
destructive:
1514
'border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80',
16-
outline: 'text-foreground',
17-
},
15+
outline: 'text-foreground'
16+
}
1817
},
1918
defaultVariants: {
20-
variant: 'default',
21-
},
22-
},
19+
variant: 'default'
20+
}
21+
}
2322
)
2423

2524
export type BadgeVariants = VariantProps<typeof badgeVariants>

src/components/ui/button/Button.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface Props extends PrimitiveProps {
1111
}
1212
1313
const props = withDefaults(defineProps<Props>(), {
14-
as: 'button',
14+
as: 'button'
1515
})
1616
</script>
1717

src/components/ui/button/index.ts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,26 @@ export const buttonVariants = cva(
88
variants: {
99
variant: {
1010
default: 'bg-primary text-primary-foreground shadow hover:bg-primary/90',
11-
destructive:
12-
'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',
11+
destructive: 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',
1312
outline:
1413
'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground',
15-
secondary:
16-
'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',
14+
secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',
1715
ghost: 'hover:bg-accent hover:text-accent-foreground',
18-
link: 'text-primary underline-offset-4 hover:underline',
16+
link: 'text-primary underline-offset-4 hover:underline'
1917
},
2018
size: {
2119
default: 'h-9 px-4 py-2',
2220
xs: 'h-7 rounded px-2',
2321
sm: 'h-8 rounded-md px-3 text-xs',
2422
lg: 'h-10 rounded-md px-8',
25-
icon: 'h-9 w-9',
26-
},
23+
icon: 'h-9 w-9'
24+
}
2725
},
2826
defaultVariants: {
2927
variant: 'default',
30-
size: 'default',
31-
},
32-
},
28+
size: 'default'
29+
}
30+
}
3331
)
3432

3533
export type ButtonVariants = VariantProps<typeof buttonVariants>

src/components/ui/card/Card.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,7 @@ const props = defineProps<{
88
</script>
99

1010
<template>
11-
<div
12-
:class="
13-
cn(
14-
'rounded-xl border bg-card text-card-foreground shadow',
15-
props.class,
16-
)
17-
"
18-
>
11+
<div :class="cn('rounded-xl border bg-card text-card-foreground shadow', props.class)">
1912
<slot />
2013
</div>
2114
</template>

src/components/ui/card/CardTitle.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ const props = defineProps<{
88
</script>
99

1010
<template>
11-
<h3
12-
:class="
13-
cn('font-semibold leading-none tracking-tight', props.class)
14-
"
15-
>
11+
<h3 :class="cn('font-semibold leading-none tracking-tight', props.class)">
1612
<slot />
1713
</h3>
1814
</template>

0 commit comments

Comments
 (0)