Skip to content

Commit 8bd2794

Browse files
committed
wip
1 parent c524ffb commit 8bd2794

File tree

10 files changed

+264
-668
lines changed

10 files changed

+264
-668
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
},
9292
"nx": {},
9393
"dependencies": {
94+
"@tailwindcss/typography": "^0.5.16",
9495
"better-sqlite3": "^11.3.0",
9596
"test": "^3.3.0"
9697
}

pnpm-lock.yaml

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/app/eventCard/EventCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const EventCard = component$((props: EventCardProps) => {
149149
<div class="flex flex-1 flex-col justify-between">
150150
<Link
151151
href={props.link}
152-
class="transition-all duration-300 hover:scale-[1.02] hover:opacity-90 active:scale-[1.01]"
152+
class="transition-all duration-300 hover:opacity-90 active:scale-[1.01]"
153153
>
154154
<div class="flex flex-row gap-3 px-3 pt-4">
155155
<h1 class="flex items-center gap-2 text-sm font-medium text-gray-700">

src/components/dropdown/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default component$(() => {
1414
{ label: "Home Page", disabled: false, path: "/landing" },
1515
];
1616
return (
17-
<Dropdown.Root class="pr-12">
17+
<Dropdown.Root>
1818
<Dropdown.Trigger class="">
1919
<div class="h-[50px] w-[50px] lg:h-full lg:w-full">
2020
<img class="rounded-full" width={50} height={50} src={img} />

src/components/header/Mainheader.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,31 +46,31 @@ export default component$(() => {
4646
: "/home";
4747
});
4848
return (
49-
<header class="fixed top-0 z-50 h-fit w-full bg-white/80 backdrop-blur-sm">
49+
<header class="fixed top-0 z-50 h-fit w-full border-b border-border/40 bg-background/80 backdrop-blur-sm">
5050
<nav
51-
class="container mx-auto flex w-full items-center justify-between px-4 py-3"
51+
class=" mx-auto flex w-full items-center justify-between px-4 py-3"
5252
role="navigation"
5353
>
5454
<div class="flex items-center gap-4">
5555
<Link
5656
href={session.value ? "/home" : "/landing"}
57-
class="hidden bg-gradient-to-r from-neutral-700 to-neutral-900 bg-clip-text text-xl font-semibold text-transparent transition-colors hover:from-neutral-800 hover:to-neutral-950 md:block"
57+
class="hidden bg-gradient-to-r from-primary to-primary bg-clip-text px-1 text-xl font-bold text-transparent transition-colors hover:from-primary/90 hover:to-primary/90 md:block"
5858
>
59-
Justd R&D
59+
Just R&D
6060
</Link>
6161

6262
{location.url.pathname === "/home" && (
6363
<Link
6464
href="/new"
65-
class="rounded-2xl bg-gradient-to-br from-neutral-700 to-neutral-800 px-4 py-2 text-sm font-medium text-white shadow-sm transition-all duration-300 hover:from-neutral-800 hover:to-neutral-900 hover:shadow-md md:hidden"
65+
class="rounded-lg bg-secondary px-4 py-2 text-sm font-medium text-secondary-foreground shadow-sm transition-all duration-300 hover:bg-secondary/90 hover:shadow-lg md:hidden"
6666
>
67-
New Session
67+
Start New Session
6868
</Link>
6969
)}
7070
{session.value && location.url.pathname !== "/home" && (
7171
<Link
7272
href="/home"
73-
class="rounded-2xl bg-gradient-to-br from-neutral-700 to-neutral-800 p-2 text-white shadow-sm transition-all duration-300 hover:from-neutral-800 hover:to-neutral-900 hover:shadow-md md:hidden"
73+
class="rounded-lg bg-secondary p-2 text-secondary-foreground shadow-sm transition-all duration-300 hover:bg-secondary/90 hover:shadow-lg md:hidden"
7474
>
7575
<ArrowLeftIcon size={20} />
7676
</Link>
@@ -83,14 +83,14 @@ export default component$(() => {
8383
{location.url.href.includes("home") ? (
8484
<Link
8585
href="/new"
86-
class="hidden rounded-2xl bg-gradient-to-br from-neutral-700 to-neutral-800 px-4 py-2 text-sm font-medium text-white shadow-sm transition-all duration-300 hover:from-neutral-800 hover:to-neutral-900 hover:shadow-md md:block"
86+
class="hidden rounded-lg bg-secondary px-4 py-2 text-sm font-medium text-secondary-foreground shadow-sm transition-all duration-300 hover:bg-secondary/90 hover:shadow-lg md:block"
8787
>
88-
New Session
88+
Start New Session
8989
</Link>
9090
) : (
9191
<Link
9292
href="/home"
93-
class="hidden rounded-2xl bg-gradient-to-br from-neutral-700 to-neutral-800 p-2 text-white shadow-sm transition-all duration-300 hover:from-neutral-800 hover:to-neutral-900 hover:shadow-md md:block"
93+
class="hidden rounded-lg bg-secondary p-2 text-secondary-foreground shadow-sm transition-all duration-300 hover:bg-secondary/90 hover:shadow-lg md:block"
9494
>
9595
<ArrowLeftIcon size={20} />
9696
</Link>
@@ -99,19 +99,19 @@ export default component$(() => {
9999
<Link
100100
prefetch="js"
101101
href="/profile"
102-
class="rounded-2xl bg-gradient-to-br from-neutral-700 to-neutral-800 px-4 py-2 text-sm font-medium text-white shadow-sm transition-all duration-300 hover:from-neutral-800 hover:to-neutral-900 hover:shadow-md"
102+
class="rounded-lg bg-secondary px-4 py-2 text-sm font-medium text-secondary-foreground shadow-sm transition-all duration-300 hover:bg-secondary/90 hover:shadow-lg"
103103
>
104-
Profile
104+
My Profile
105105
</Link>
106106
)}
107107
<Dropdown />
108108
</>
109109
) : (
110110
<Link
111111
href="/login"
112-
class="rounded-2xl bg-gradient-to-br from-neutral-700 to-neutral-800 px-4 py-2 text-sm font-medium text-white shadow-sm transition-all duration-300 hover:from-neutral-800 hover:to-neutral-900 hover:shadow-md"
112+
class="rounded-lg bg-secondary px-4 py-2 text-sm font-medium text-secondary-foreground shadow-sm transition-all duration-300 hover:bg-secondary/90 hover:shadow-lg"
113113
>
114-
Sign In
114+
Get Started
115115
</Link>
116116
)}
117117
</div>

src/components/profile/ProfileForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default component$<FormProps>(({ data, active }) => {
6262
{data.interests.map((interest, index) => (
6363
<span
6464
key={index}
65-
class="group flex items-center gap-2 rounded-full bg-gray-100 px-3 py-1.5 text-sm font-medium text-gray-700"
65+
class="flex items-center rounded-full bg-gray-100 px-2.5 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-300"
6666
>
6767
{interest}
6868
<button
@@ -88,7 +88,7 @@ export default component$<FormProps>(({ data, active }) => {
8888
<div class="relative">
8989
<input
9090
type="text"
91-
class="w-40 rounded-full border border-gray-300 bg-white px-3 py-1.5 text-sm placeholder:text-gray-400"
91+
class="flex w-32 items-center rounded-full bg-gray-100 px-2.5 py-2 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-300"
9292
placeholder="Add interest..."
9393
onKeyDown$={(e) => {
9494
if (e.key === "Enter") {

0 commit comments

Comments
 (0)