From cb02cbbc34fff37a17ed32396dc20943ca691f32 Mon Sep 17 00:00:00 2001 From: Joel Carr Date: Tue, 13 Jun 2023 16:33:15 -0700 Subject: [PATCH] initial commit --- .vscode/settings.json | 4 ++ app/components/footer.tsx | 7 ++++ app/components/header.tsx | 6 +++ app/head.tsx | 9 +++++ app/layout.tsx | 19 +++++++++ app/my-projects/page.tsx | 8 ++++ app/page.tsx | 9 +++++ next.config.js | 5 ++- package-lock.json | 2 +- pages/_app.tsx | 8 ---- pages/api/hello.ts | 13 ------ pages/index.tsx | 85 --------------------------------------- postcss.config.js | 4 +- tailwind.config.js | 67 +++++++++++++++++++++++++++++- tsconfig.json | 26 ++++++++++-- 15 files changed, 157 insertions(+), 115 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 app/components/footer.tsx create mode 100644 app/components/header.tsx create mode 100644 app/head.tsx create mode 100644 app/layout.tsx create mode 100644 app/my-projects/page.tsx create mode 100644 app/page.tsx delete mode 100644 pages/_app.tsx delete mode 100644 pages/api/hello.ts delete mode 100644 pages/index.tsx diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..d067910 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "typescript.tsdk": "node_modules/typescript/lib", + "typescript.enablePromptUseWorkspaceTsdk": true +} \ No newline at end of file diff --git a/app/components/footer.tsx b/app/components/footer.tsx new file mode 100644 index 0000000..6ec399a --- /dev/null +++ b/app/components/footer.tsx @@ -0,0 +1,7 @@ +import React from 'react' + +export const Footer = () => { + return
Footer
+ +} + diff --git a/app/components/header.tsx b/app/components/header.tsx new file mode 100644 index 0000000..1d83e45 --- /dev/null +++ b/app/components/header.tsx @@ -0,0 +1,6 @@ +import React from 'react' + +export const Header = () => { + return
Header
+} + diff --git a/app/head.tsx b/app/head.tsx new file mode 100644 index 0000000..772e640 --- /dev/null +++ b/app/head.tsx @@ -0,0 +1,9 @@ +export default function Head() { + return ( + <> + + + + + ) +} diff --git a/app/layout.tsx b/app/layout.tsx new file mode 100644 index 0000000..d01be51 --- /dev/null +++ b/app/layout.tsx @@ -0,0 +1,19 @@ +import { Footer } from "./components/footer" +import { Header } from "./components/header" + +export default function RootLayout({ + children, +}: { + children: React.ReactNode +}) { + return ( + + + +
+ {children} +