Skip to content

Commit a24c245

Browse files
authored
Merge pull request #72 from codeunia-dev/ui/fix
Update SponsorsSection to adjust layout for sponsors and enhance styling
2 parents 38f1308 + e9861b3 commit a24c245

4 files changed

Lines changed: 19 additions & 20 deletions

File tree

app/about/components/SponsorsSection.tsx

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ export function SponsorsSection() {
9696
</motion.div>
9797

9898
<div className="relative w-full overflow-hidden">
99-
<div className="flex animate-scroll gap-8 py-4">
99+
<div
100+
className="flex animate-scroll gap-8 py-4"
101+
style={{ minWidth: `${sponsors.length * 2 * 332}px` }} >
100102
{sponsors.map((sponsor, idx) => (
101103
sponsor.link ? (
102104
<a
@@ -124,7 +126,9 @@ export function SponsorsSection() {
124126
? "object-contain p-4"
125127
: sponsor.name === "Code Crafters"
126128
? "object-contain w-32 h-16 mx-auto"
127-
: "object-cover"
129+
: sponsor.name === "Innovxus"
130+
? "object-contain w-24 h-10 mx-auto flex items-center justify-center"
131+
: "object-cover"
128132
}
129133
/>
130134
</div>
@@ -158,7 +162,9 @@ export function SponsorsSection() {
158162
? "object-contain p-4"
159163
: sponsor.name === "Code Crafters"
160164
? "object-contain w-32 h-16 mx-auto"
161-
: "object-cover"
165+
: sponsor.name === "Innovxus"
166+
? "object-contain w-24 h-10 mx-auto flex items-center justify-center"
167+
: "object-cover"
162168
}
163169
/>
164170
</div>
@@ -201,7 +207,9 @@ export function SponsorsSection() {
201207
? "object-contain p-4"
202208
: sponsor.name === "Code Crafters"
203209
? "object-contain w-32 h-16 mx-auto"
204-
: "object-cover"
210+
: sponsor.name === "Innovxus"
211+
? "object-contain w-24 h-10 mx-auto flex items-center justify-center"
212+
: "object-cover"
205213
}
206214
/>
207215
</div>
@@ -235,7 +243,9 @@ export function SponsorsSection() {
235243
? "object-contain p-4"
236244
: sponsor.name === "Code Crafters"
237245
? "object-contain w-32 h-16 mx-auto"
238-
: "object-cover"
246+
: sponsor.name === "Innovxus"
247+
? "object-contain w-24 h-10 mx-auto flex items-center justify-center"
248+
: "object-cover"
239249
}
240250
/>
241251
</div>

app/about/components/TeamSection.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,6 @@ export function TeamSection() {
108108
linkedin: "https://www.linkedin.com/in/sahil4k00"
109109
}
110110
},
111-
{
112-
name: "Nidhi Gupta",
113-
role: "Finance & Resource Lead",
114-
image: "/images/team/nidhi.jpeg",
115-
description: "Managing resources and financial operations to ensure sustainable growth.",
116-
badge: "Operations",
117-
socials: {
118-
github: "https://github.com/NidhiiiGupta",
119-
linkedin: "https://www.linkedin.com/in/nidhi-gupta15/"
120-
}
121-
},
122111
];
123112

124113
return (

app/blog/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export default function BlogPage() {
180180
>
181181
<div className="flex flex-col items-center justify-center gap-4">
182182
<motion.button
183-
className="bg-slate-800 no-underline group cursor-pointer relative shadow-2xl shadow-zinc-900 rounded-full p-px text-xs font-semibold leading-6 text-white inline-block"
183+
className="bg-slate-800 no-underline group cursor-default relative shadow-2xl shadow-zinc-900 rounded-full p-px text-xs font-semibold leading-6 text-white inline-block"
184184
whileHover={{ scale: 1.05 }}
185185
whileTap={{ scale: 0.95 }}
186186
>
@@ -433,7 +433,7 @@ export default function BlogPage() {
433433
📖 All Articles
434434
</Badge> */}
435435
<div className="flex flex-col items-start gap-4"> {/* Changed from items-center to items-start */}
436-
<button className="bg-slate-800 no-underline group relative shadow-2xl shadow-zinc-900 rounded-full p-px text-sm font-semibold leading-6 text-white inline-block">
436+
<button className="bg-slate-800 no-underline group relative shadow-2xl shadow-zinc-900 rounded-full p-px text-sm font-semibold leading-6 text-white inline-block cursor-default">
437437
{/* Glow on hover */}
438438
<span className="absolute inset-0 overflow-hidden rounded-full">
439439
<span className="absolute inset-0 rounded-full bg-[image:radial-gradient(75%_100%_at_50%_0%,rgba(56,189,248,0.6)_0%,rgba(56,189,248,0)_75%)] opacity-0 transition-opacity duration-500 group-hover:opacity-100" />

app/contact/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function ContactPage() {
5555
transition={{ duration: 0.3 }}
5656
>
5757
<div className="flex flex-col items-center justify-center gap-4">
58-
<button className="bg-slate-800 no-underline group cursor-pointer relative shadow-2xl shadow-zinc-900 rounded-full p-px text-sm font-semibold leading-6 text-white inline-block">
58+
<button className="bg-slate-800 no-underline group cursor-default relative shadow-2xl shadow-zinc-900 rounded-full p-px text-sm font-semibold leading-6 text-white inline-block">
5959
<span className="absolute inset-0 overflow-hidden rounded-full">
6060
<span className="absolute inset-0 rounded-full bg-[image:radial-gradient(75%_100%_at_50%_0%,rgba(56,189,248,0.6)_0%,rgba(56,189,248,0)_75%)] opacity-0 transition-opacity duration-500 group-hover:opacity-100" />
6161
</span>
@@ -445,7 +445,7 @@ export default function ContactPage() {
445445
>
446446
<div className="max-w-3xl mx-auto space-y-8 p-8 rounded-3xl bg-background/50 dark:bg-background/80 backdrop-blur-md border border-primary/10 dark:border-primary/20 shadow-xl">
447447
<div className="flex flex-col items-center justify-center gap-4">
448-
<button className="bg-slate-800 no-underline group cursor-pointer relative shadow-2xl shadow-zinc-900 rounded-full p-px text-sm font-semibold leading-6 text-white inline-block">
448+
<button className="bg-slate-800 no-underline group cursor-default relative shadow-2xl shadow-zinc-900 rounded-full p-px text-sm font-semibold leading-6 text-white inline-block">
449449
<span className="absolute inset-0 overflow-hidden rounded-full">
450450
<span className="absolute inset-0 rounded-full bg-[image:radial-gradient(75%_100%_at_50%_0%,rgba(56,189,248,0.6)_0%,rgba(56,189,248,0)_75%)] opacity-0 transition-opacity duration-500 group-hover:opacity-100" />
451451
</span>

0 commit comments

Comments
 (0)