Skip to content

Commit 59c647e

Browse files
committed
refactor: clean up styles and layout on landing page
- Removed unnecessary background color from the landing page container for a cleaner look. - Simplified the NocturneHero section by eliminating redundant styles, enhancing responsiveness. - Updated global styles to apply background color alongside text color for improved readability. Signed-off-by: Innei <[email protected]>
1 parent 3980e24 commit 59c647e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/landing/src/app/[locale]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88

99
export default function Home() {
1010
return (
11-
<div className="relative min-h-screen overflow-hidden bg-[#020202] text-white">
11+
<div className="relative min-h-screen overflow-hidden text-white">
1212
<main className="relative z-10 mx-auto flex w-full max-w-6xl flex-col gap-20 px-4 py-16 sm:px-6 lg:px-0">
1313
<NocturneHero />
1414
<CreateSpaceCTA />

apps/landing/src/components/landing/NocturneSections.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const NocturneHero = () => {
1010
const t = useTranslations('Hero')
1111

1212
return (
13-
<section className="relative overflow-hidden rounded-[40px] border border-white/5 bg-linear-to-b from-[#050505] via-[#030303] to-black px-6 py-12 shadow-[0_30px_120px_rgba(0,0,0,0.6)] sm:px-10 sm:py-16">
13+
<section className="relative overflow-hidden sm:px-10 sm:py-16">
1414
<div className="pointer-events-none absolute inset-0 opacity-60">
1515
<div className="absolute inset-x-12 inset-y-10 rounded-4xl bg-[radial-gradient(circle_at_top,#1a1a1a,transparent_60%)] blur-3xl" />
1616
<div className="absolute top-6 left-1/2 h-48 w-48 -translate-x-1/2 rounded-full bg-linear-to-br from-white/10 via-white/5 to-transparent blur-[90px]" />

apps/landing/src/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
:root,
4646
body {
47-
@apply text-text;
47+
@apply text-text bg-background;
4848
@apply font-sans;
4949
@apply text-base leading-normal;
5050
@apply antialiased;

0 commit comments

Comments
 (0)