From 6c271e3cc189ea97569bd9fa490f8314ce782b90 Mon Sep 17 00:00:00 2001 From: Lennon Puldagrealy Date: Sun, 18 Dec 2022 12:10:10 -0800 Subject: [PATCH] Removed some unused stuff --- website/src/components/Hero.tsx | 2 +- website/src/index.css | 13 ------------- website/src/index.js | 17 ----------------- website/src/pages/_app.tsx | 8 +------- website/src/styles/globals.css | 26 -------------------------- 5 files changed, 2 insertions(+), 64 deletions(-) delete mode 100644 website/src/index.css delete mode 100644 website/src/index.js diff --git a/website/src/components/Hero.tsx b/website/src/components/Hero.tsx index 574fb94a..0d74fb84 100644 --- a/website/src/components/Hero.tsx +++ b/website/src/components/Hero.tsx @@ -4,7 +4,7 @@ import Image from "next/image"; import { Container } from "./Container"; function BackgroundIllustration(props) { - let id = useId(); + const id = useId(); return (
diff --git a/website/src/index.css b/website/src/index.css deleted file mode 100644 index f7469caa..00000000 --- a/website/src/index.css +++ /dev/null @@ -1,13 +0,0 @@ -/* body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", - "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", - sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -code { - font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", - monospace; -} */ diff --git a/website/src/index.js b/website/src/index.js deleted file mode 100644 index 82765028..00000000 --- a/website/src/index.js +++ /dev/null @@ -1,17 +0,0 @@ -// import React from "react"; -// import ReactDOM from "react-dom/client"; -// import "./index.css"; -// import App from "./App"; -// import reportWebVitals from "./reportWebVitals"; - -// const root = ReactDOM.createRoot(document.getElementById("root")); -// root.render( -// -// -// -// ); - -// // If you want to start measuring performance in your app, pass a function -// // to log results (for example: reportWebVitals(console.log)) -// // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals -// reportWebVitals(); diff --git a/website/src/pages/_app.tsx b/website/src/pages/_app.tsx index cf9cfe34..b3081a8f 100644 --- a/website/src/pages/_app.tsx +++ b/website/src/pages/_app.tsx @@ -1,18 +1,12 @@ import { createBrowserSupabaseClient } from "@supabase/auth-helpers-nextjs"; import { SessionContextProvider } from "@supabase/auth-helpers-react"; -import { useEffect, useState } from "react"; +import { useState } from "react"; import "../styles/globals.css"; import "focus-visible"; function MyApp({ Component, pageProps }) { const [supabase] = useState(() => createBrowserSupabaseClient()); - useEffect(() => { - const use = async () => { - // (await import('tw-elements')).default; - }; - use(); - }, []); return ( diff --git a/website/src/styles/globals.css b/website/src/styles/globals.css index f3d01a75..7f168bbe 100644 --- a/website/src/styles/globals.css +++ b/website/src/styles/globals.css @@ -2,32 +2,6 @@ @tailwind components; @tailwind utilities; -/* html, -body { - padding: 0; - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, - Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; -} - -a { - color: inherit; - text-decoration: none; -} - -* { - box-sizing: border-box; -} - -@media (prefers-color-scheme: dark) { - html { - color-scheme: dark; - } - body { - color: white; - background: black; - } -} */ @font-face { font-family: "Inter"; font-weight: 100 900;