Skip to content

Commit 6c0ef62

Browse files
authored
πŸ‘Œ IMPROVE: Landing page mobile UI (#92)
* πŸ‘Œ IMPROVE: Landing page mobile design * πŸ‘Œ IMPROVE: Margin * πŸ‘Œ IMPROVE: UI
1 parent d95dc4c commit 6c0ef62

File tree

1 file changed

+3
-3
lines changed
  • apps/baseai.dev/src/components/home

1 file changed

+3
-3
lines changed

β€Žapps/baseai.dev/src/components/home/hero.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const inter = Inter({ subsets: ['latin'] });
1212

1313
export default function Hero({ }) {
1414
return (
15-
<div className="flex align-center min-h-[91vh] flex-col items-center justify-center relative">
16-
<div className="xmin-h-screen h-full webgl absolute -top-[17vh] flex w-full sm:-top-10">
15+
<div className="flex h-full flex-col items-center justify-between relative mt-[74px] sm:mt-0">
16+
<div className="h-full webgl absolute -top-[26vh] flex w-full sm:-top-16">
1717
<WebGLInitializer />
1818
</div>
1919
<Content />
@@ -23,7 +23,7 @@ export default function Hero({ }) {
2323

2424
function Content() {
2525
return (
26-
<div className="z-10 grid min-h-[75vh] w-[90vw] grid-rows-[auto_1fr_auto] gap-4 px-6 sm:p-6 sm:mt-28 sm:min-h-[85vh] sm:w-[76vw]">
26+
<div className="z-10 grid min-h-[80vh] w-[90vw] grid-rows-[auto_1fr_auto] gap-4 px-6 sm:p-6 sm:mt-[104px] sm:min-h-[85vh] sm:w-[76vw]">
2727
<div className="col-span-2 flex items-center justify-between">
2828
<div className={cn('flex items-center', inter.className)}>
2929
<div className="mr-4 hidden size-4 rounded-full bg-muted-foreground/70 sm:block"></div>

0 commit comments

Comments
Β (0)