Skip to content

Commit b5b68eb

Browse files
committed
.
1 parent 3e90140 commit b5b68eb

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

app/(default)/test/landing.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -140,38 +140,38 @@ export function Landing() {
140140
>
141141
<CarouselContent className="w-full">
142142
{landings.map((landing, index) => (
143-
<CarouselItem key={index} className="w-full h-full flex flex-col lg:flex-row gap-10 lg:gap-20 justify-center items-center p-20">
143+
<CarouselItem key={index} className="w-full h-full flex flex-col lg:flex-row gap-12 lg:gap-24 justify-center items-center lg:p-12">
144144

145145

146-
<div className="flex-1/2 h-full flex flex-col justify-center select-none">
146+
<div className="flex-1/2 w-full lg:h-full flex flex-col justify-center">
147147
<AspectRatio ratio={16/9}>
148148
<Image
149149
src={landing.image}
150150
alt={landing.title}
151151
fill
152-
className="rounded-sm object-cover bg-gradient-landing"
152+
className="object-cover object-center rounded-sm bg-gradient-landing hover:scale-103 transition delay-100 duration-200"
153153
/>
154154
</AspectRatio>
155155
</div>
156156

157157

158158

159-
<div className="flex-1/2 flex flex-col gap-10 justify-around select-none">
160-
<div className="flex flex-row font-bold">
159+
<div className="flex-1/2 w-full flex flex-col gap-12">
160+
<div className="flex flex-row text-o-gray">
161161
{index + 1} / {landings.length}
162162
</div>
163-
<div className="flex flex-col gap-10 w-full">
164-
<h1 className="text-t1 font-bold w-full">
163+
<div className="w-full flex flex-col gap-6">
164+
<h1 className="text-t0 font-bold fg-gradient-blue pb-6 -mb-6">
165165
{landing.title}
166166
</h1>
167-
<h2 className="w-full">
167+
<h2>
168168
{landing.description}
169169
</h2>
170170
<div >
171-
<div className="flex flex-row items-center">
171+
<div className="flex flex-row items-center flex-wrap">
172172
{landing.links.map((link, index) => (
173173
<div key={index} className="flex items-center">
174-
<Link href={link.url} target="_self" className="animated-underline mr-3">
174+
<Link href={link.url} target="_self" className="animated-underline-gray mr-3 text-nowrap">
175175
{link.link}
176176
</Link>
177177
{index < landing.links.length - 1 && (

app/globals.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@
148148
.animated-underline:hover {
149149
@apply border-b-o-blue;
150150
}
151+
.animated-underline-gray {
152+
border-bottom: 1px solid transparent;
153+
@apply transition delay-100 duration-200;
154+
}
155+
.animated-underline-gray:hover {
156+
@apply border-b-o-gray;
157+
}
151158

152159

153160

0 commit comments

Comments
 (0)