Skip to content

Commit

Permalink
use global css
Browse files Browse the repository at this point in the history
  • Loading branch information
ccatherinetan committed Nov 26, 2024
1 parent 69e4558 commit 949633f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 30 deletions.
5 changes: 5 additions & 0 deletions app/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
8 changes: 2 additions & 6 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import StyledComponentsRegistry from '@/lib/registry';
import { GlobalStyle } from '@/styles/globalStyles';
import ProfileProvider from '@/utils/ProfileProvider';
import { AuthProvider } from '../utils/AuthProvider';
import './global.css';

// font definitions
const sans = Inter({
Expand All @@ -14,8 +14,7 @@ const sans = Inter({
// site metadata - what shows up on embeds
export const metadata: Metadata = {
title: 'Trap Garden',
description:
'A web app to assist individuals, schools, and small organizations in establishing and maintaining their own gardens.',
description: 'Created by Blueprint',
};

export default function RootLayout({
Expand All @@ -25,9 +24,6 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<head>
<GlobalStyle />
</head>
<body className={sans.className}>
<AuthProvider>
<ProfileProvider>
Expand Down
24 changes: 0 additions & 24 deletions styles/globalStyles.tsx

This file was deleted.

0 comments on commit 949633f

Please sign in to comment.