Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/background petrs #19

Closed
wants to merge 11 commits into from
3 changes: 2 additions & 1 deletion apps/site/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import FontProvider from "@/lib/FontProvider";
import NavBar from "@/components/NavBar/NavBar";
import Footer from "@/components/Footer/Footer";
import "@/lib/styles/bootstrap.scss";
import "@/lib/styles/globals.scss";

export const metadata: Metadata = {
title: "Create Next App",
Expand All @@ -19,7 +20,7 @@ export default function RootLayout({
return (
<html lang="en">
<FontProvider />
<body>
<body className="background">
<NavBar />
{children}
<Footer />
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions apps/site/src/lib/styles/globals.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.background {
overflow-x: hidden;

&::before {
background-image: url("~@/assets/background/anteater_background.png");
background-size: 100px;
content: '';
position: absolute;
width: 500vh;
height: 500vh;
transform: translate(-50%, -50%) rotate(-30deg);
z-index: -1;
}

}
Loading