Skip to content

Commit da0594c

Browse files
committed
.
1 parent 8e31707 commit da0594c

File tree

3 files changed

+23
-18
lines changed

3 files changed

+23
-18
lines changed

app/(default_site)/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ export default function RootLayout({
116116
children: React.ReactNode;
117117
}>) {
118118
return (
119-
<main className='w-full'>
119+
<main className='w-full overflow-hidden'>
120120

121121

122122

123-
{children}
123+
{children}
124124

125125

126126

127-
</main>
127+
</main>
128128
);
129129
}

app/(default_site)/test/page.tsx

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,14 @@ export default function Home() {
140140
align: "start",
141141
loop: true,
142142
}}
143-
className="w-full h-full px-6 max-w-3/4"
143+
className="w-full px-6"
144144
>
145-
<CarouselContent className="w-full h-svh">
145+
<CarouselContent className="w-full">
146146
{landings.map((landing, index) => (
147147

148-
<CarouselItem key={index} className="w-full h-full flex flex-col gap-10 justify-center items-center px-20 bg-amber-400 ">
148+
<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">
149149

150-
<div className="flex-1/3 max-w-1/3 h-full flex flex-col justify-center select-none">
150+
<div className="flex-1/2 h-full flex flex-col justify-center select-none">
151151
<AspectRatio ratio={16/9}>
152152
<Image
153153
src={landing.image}
@@ -159,26 +159,31 @@ export default function Home() {
159159
</div>
160160

161161

162-
<div className="flex-1/2 max-w-1/2 flex flex-col gap-10 justify-around select-none overflow-hidden">
163-
<div className="flex flex-row justify-end font-bold overflow-hidden">
162+
<div className="flex-1/2 max-w-1/2 flex flex-col gap-10 justify-around select-none">
163+
<div className="flex flex-row justify-end font-bold">
164164
{index + 1} / {landings.length}
165165
</div>
166-
<div className="flex flex-col gap-10 w-full overflow-hidden">
166+
<div className="flex flex-col gap-10 w-full">
167167
<h1 className="text-t1 font-bold w-full">
168168
{landing.title}
169169
</h1>
170-
<h2 className="w-full overflow-hidden">
170+
<h2 className="w-full">
171171
{landing.description}
172172
</h2>
173-
{/* <div className="max-w-2/3 overflow-hidden">
174-
<div className="max-w-2/3 flex flex-row gap-3 overflow-hidden">
173+
<div >
174+
<div className="flex flex-row items-center">
175175
{landing.links.map((link, index) => (
176-
<Link key={index} href={link.url} target="_self" className="animated-underline">
177-
{link.link}
178-
</Link>
176+
<div key={index} className="flex items-center">
177+
<Link href={link.url} target="_self" className="animated-underline mr-3">
178+
{link.link}
179+
</Link>
180+
{index < landing.links.length - 1 && (
181+
<span className="text-xs mr-3"> | </span>
182+
)}
183+
</div>
179184
))}
180185
</div>
181-
</div> */}
186+
</div>
182187
</div>
183188
</div>
184189

app/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
@apply transition delay-100 duration-200;
148148
}
149149
.animated-underline:hover {
150-
@apply border-b-inherit;
150+
@apply border-b-o-blue;
151151
}
152152

153153

0 commit comments

Comments
 (0)