Skip to content

Commit

Permalink
feat: added stars background
Browse files Browse the repository at this point in the history
  • Loading branch information
OneRandom1509 committed Aug 15, 2024
1 parent a922c0e commit 27a588d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Footer from "../components/footer/Footer";
import type { Metadata } from "next";
import "./globals.css";
import "./stars.css";
import Stars from "@/components/stars/stars";
import { FloatingNav } from "@/components/navbar/FloatingNav";

export const metadata: Metadata = {
Expand Down Expand Up @@ -40,9 +40,7 @@ export default function RootLayout({
return (
<html lang="en" className="scroll-smooth overflow-x-hidden bg-black">
<body className="bg-[url('/bg.svg')] bg-cover">
<div id="stars"></div>
<div id="stars-2"></div>
<div id="stars-3"></div>
<Stars starCount={130} />
<FloatingNav navItems={navItems} />
{children}
<Footer />
Expand Down

0 comments on commit 27a588d

Please sign in to comment.