From 4de7d55b557772aab58a1fc143023b1d8e5e6afc Mon Sep 17 00:00:00 2001 From: Don Starwsburg Date: Wed, 20 Nov 2024 17:08:05 -0500 Subject: [PATCH] working now, layout.tsx has issues --- .../BasicClassComponent/index.js | 0 .../BasicClassComponent/package.json | 0 .../BasicClassComponent/styles.module.css | 0 .../BasicFunctionComponent /index.js | 0 .../BasicFunctionComponent /package.json | 0 .../BasicFunctionComponent /styles.module.css | 0 .../Example Code}/Card/index.css | 0 .../Example Code}/Card/index.tsx | 0 .../Example Code}/CardList/index.css | 0 .../Example Code}/CardList/index.js | 0 .../Example Code}/Weather/index.js | 0 .../Example Code}/Weather/styles.module.css | 0 .../Example Code}/WeatherList/index.css | 0 .../Example Code}/WeatherList/index.js | 0 .../Example Code}/fetchData.tsx | 0 src/{ => app}/components/ui/accordion.tsx | 0 src/{ => app}/components/ui/action-bar.tsx | 0 src/{ => app}/components/ui/alert.tsx | 0 src/{ => app}/components/ui/avatar.tsx | 0 src/{ => app}/components/ui/blockquote.tsx | 0 src/{ => app}/components/ui/breadcrumb.tsx | 0 src/{ => app}/components/ui/button.tsx | 0 src/{ => app}/components/ui/checkbox-card.tsx | 0 src/{ => app}/components/ui/checkbox.tsx | 0 src/{ => app}/components/ui/clipboard.tsx | 0 src/{ => app}/components/ui/close-button.tsx | 0 src/{ => app}/components/ui/color-mode.tsx | 0 src/{ => app}/components/ui/data-list.tsx | 0 src/{ => app}/components/ui/dialog.tsx | 0 src/{ => app}/components/ui/drawer.tsx | 0 src/{ => app}/components/ui/empty-state.tsx | 0 src/{ => app}/components/ui/field.tsx | 0 src/{ => app}/components/ui/file-button.tsx | 0 src/{ => app}/components/ui/hover-card.tsx | 0 src/{ => app}/components/ui/input-group.tsx | 0 src/{ => app}/components/ui/link-button.tsx | 0 src/{ => app}/components/ui/menu.tsx | 0 src/{ => app}/components/ui/native-select.tsx | 0 src/{ => app}/components/ui/number-input.tsx | 0 src/{ => app}/components/ui/pagination.tsx | 0 .../components/ui/password-input.tsx | 0 src/{ => app}/components/ui/pin-input.tsx | 0 src/{ => app}/components/ui/popover.tsx | 0 .../components/ui/progress-circle.tsx | 0 src/{ => app}/components/ui/progress.tsx | 0 src/{ => app}/components/ui/prose.tsx | 0 src/{ => app}/components/ui/provider.tsx | 0 src/{ => app}/components/ui/radio-card.tsx | 0 src/{ => app}/components/ui/radio.tsx | 0 src/{ => app}/components/ui/rating.tsx | 0 .../components/ui/segmented-control.tsx | 0 src/{ => app}/components/ui/select.tsx | 0 src/{ => app}/components/ui/skeleton.tsx | 0 src/{ => app}/components/ui/slider.tsx | 0 src/{ => app}/components/ui/stat.tsx | 0 src/{ => app}/components/ui/status.tsx | 0 src/{ => app}/components/ui/stepper-input.tsx | 0 src/{ => app}/components/ui/steps.tsx | 0 src/{ => app}/components/ui/switch.tsx | 0 src/{ => app}/components/ui/tag.tsx | 0 src/{ => app}/components/ui/timeline.tsx | 0 src/{ => app}/components/ui/toaster.tsx | 0 src/{ => app}/components/ui/toggle-tip.tsx | 0 src/{ => app}/components/ui/toggle.tsx | 0 src/{ => app}/components/ui/tooltip.tsx | 0 src/app/layout-test.tsx | 34 ++++++++++++++++++ src/app/layout.tsx | 36 +++++-------------- 67 files changed, 43 insertions(+), 27 deletions(-) rename {Example Code => src/Example Code}/BasicClassComponent/index.js (100%) rename {Example Code => src/Example Code}/BasicClassComponent/package.json (100%) rename {Example Code => src/Example Code}/BasicClassComponent/styles.module.css (100%) rename {Example Code => src/Example Code}/BasicFunctionComponent /index.js (100%) rename {Example Code => src/Example Code}/BasicFunctionComponent /package.json (100%) rename {Example Code => src/Example Code}/BasicFunctionComponent /styles.module.css (100%) rename {Example Code => src/Example Code}/Card/index.css (100%) rename {Example Code => src/Example Code}/Card/index.tsx (100%) rename {Example Code => src/Example Code}/CardList/index.css (100%) rename {Example Code => src/Example Code}/CardList/index.js (100%) rename {Example Code => src/Example Code}/Weather/index.js (100%) rename {Example Code => src/Example Code}/Weather/styles.module.css (100%) rename {Example Code => src/Example Code}/WeatherList/index.css (100%) rename {Example Code => src/Example Code}/WeatherList/index.js (100%) rename {Example Code => src/Example Code}/fetchData.tsx (100%) rename src/{ => app}/components/ui/accordion.tsx (100%) rename src/{ => app}/components/ui/action-bar.tsx (100%) rename src/{ => app}/components/ui/alert.tsx (100%) rename src/{ => app}/components/ui/avatar.tsx (100%) rename src/{ => app}/components/ui/blockquote.tsx (100%) rename src/{ => app}/components/ui/breadcrumb.tsx (100%) rename src/{ => app}/components/ui/button.tsx (100%) rename src/{ => app}/components/ui/checkbox-card.tsx (100%) rename src/{ => app}/components/ui/checkbox.tsx (100%) rename src/{ => app}/components/ui/clipboard.tsx (100%) rename src/{ => app}/components/ui/close-button.tsx (100%) rename src/{ => app}/components/ui/color-mode.tsx (100%) rename src/{ => app}/components/ui/data-list.tsx (100%) rename src/{ => app}/components/ui/dialog.tsx (100%) rename src/{ => app}/components/ui/drawer.tsx (100%) rename src/{ => app}/components/ui/empty-state.tsx (100%) rename src/{ => app}/components/ui/field.tsx (100%) rename src/{ => app}/components/ui/file-button.tsx (100%) rename src/{ => app}/components/ui/hover-card.tsx (100%) rename src/{ => app}/components/ui/input-group.tsx (100%) rename src/{ => app}/components/ui/link-button.tsx (100%) rename src/{ => app}/components/ui/menu.tsx (100%) rename src/{ => app}/components/ui/native-select.tsx (100%) rename src/{ => app}/components/ui/number-input.tsx (100%) rename src/{ => app}/components/ui/pagination.tsx (100%) rename src/{ => app}/components/ui/password-input.tsx (100%) rename src/{ => app}/components/ui/pin-input.tsx (100%) rename src/{ => app}/components/ui/popover.tsx (100%) rename src/{ => app}/components/ui/progress-circle.tsx (100%) rename src/{ => app}/components/ui/progress.tsx (100%) rename src/{ => app}/components/ui/prose.tsx (100%) rename src/{ => app}/components/ui/provider.tsx (100%) rename src/{ => app}/components/ui/radio-card.tsx (100%) rename src/{ => app}/components/ui/radio.tsx (100%) rename src/{ => app}/components/ui/rating.tsx (100%) rename src/{ => app}/components/ui/segmented-control.tsx (100%) rename src/{ => app}/components/ui/select.tsx (100%) rename src/{ => app}/components/ui/skeleton.tsx (100%) rename src/{ => app}/components/ui/slider.tsx (100%) rename src/{ => app}/components/ui/stat.tsx (100%) rename src/{ => app}/components/ui/status.tsx (100%) rename src/{ => app}/components/ui/stepper-input.tsx (100%) rename src/{ => app}/components/ui/steps.tsx (100%) rename src/{ => app}/components/ui/switch.tsx (100%) rename src/{ => app}/components/ui/tag.tsx (100%) rename src/{ => app}/components/ui/timeline.tsx (100%) rename src/{ => app}/components/ui/toaster.tsx (100%) rename src/{ => app}/components/ui/toggle-tip.tsx (100%) rename src/{ => app}/components/ui/toggle.tsx (100%) rename src/{ => app}/components/ui/tooltip.tsx (100%) create mode 100644 src/app/layout-test.tsx diff --git a/Example Code/BasicClassComponent/index.js b/src/Example Code/BasicClassComponent/index.js similarity index 100% rename from Example Code/BasicClassComponent/index.js rename to src/Example Code/BasicClassComponent/index.js diff --git a/Example Code/BasicClassComponent/package.json b/src/Example Code/BasicClassComponent/package.json similarity index 100% rename from Example Code/BasicClassComponent/package.json rename to src/Example Code/BasicClassComponent/package.json diff --git a/Example Code/BasicClassComponent/styles.module.css b/src/Example Code/BasicClassComponent/styles.module.css similarity index 100% rename from Example Code/BasicClassComponent/styles.module.css rename to src/Example Code/BasicClassComponent/styles.module.css diff --git a/Example Code/BasicFunctionComponent /index.js b/src/Example Code/BasicFunctionComponent /index.js similarity index 100% rename from Example Code/BasicFunctionComponent /index.js rename to src/Example Code/BasicFunctionComponent /index.js diff --git a/Example Code/BasicFunctionComponent /package.json b/src/Example Code/BasicFunctionComponent /package.json similarity index 100% rename from Example Code/BasicFunctionComponent /package.json rename to src/Example Code/BasicFunctionComponent /package.json diff --git a/Example Code/BasicFunctionComponent /styles.module.css b/src/Example Code/BasicFunctionComponent /styles.module.css similarity index 100% rename from Example Code/BasicFunctionComponent /styles.module.css rename to src/Example Code/BasicFunctionComponent /styles.module.css diff --git a/Example Code/Card/index.css b/src/Example Code/Card/index.css similarity index 100% rename from Example Code/Card/index.css rename to src/Example Code/Card/index.css diff --git a/Example Code/Card/index.tsx b/src/Example Code/Card/index.tsx similarity index 100% rename from Example Code/Card/index.tsx rename to src/Example Code/Card/index.tsx diff --git a/Example Code/CardList/index.css b/src/Example Code/CardList/index.css similarity index 100% rename from Example Code/CardList/index.css rename to src/Example Code/CardList/index.css diff --git a/Example Code/CardList/index.js b/src/Example Code/CardList/index.js similarity index 100% rename from Example Code/CardList/index.js rename to src/Example Code/CardList/index.js diff --git a/Example Code/Weather/index.js b/src/Example Code/Weather/index.js similarity index 100% rename from Example Code/Weather/index.js rename to src/Example Code/Weather/index.js diff --git a/Example Code/Weather/styles.module.css b/src/Example Code/Weather/styles.module.css similarity index 100% rename from Example Code/Weather/styles.module.css rename to src/Example Code/Weather/styles.module.css diff --git a/Example Code/WeatherList/index.css b/src/Example Code/WeatherList/index.css similarity index 100% rename from Example Code/WeatherList/index.css rename to src/Example Code/WeatherList/index.css diff --git a/Example Code/WeatherList/index.js b/src/Example Code/WeatherList/index.js similarity index 100% rename from Example Code/WeatherList/index.js rename to src/Example Code/WeatherList/index.js diff --git a/Example Code/fetchData.tsx b/src/Example Code/fetchData.tsx similarity index 100% rename from Example Code/fetchData.tsx rename to src/Example Code/fetchData.tsx diff --git a/src/components/ui/accordion.tsx b/src/app/components/ui/accordion.tsx similarity index 100% rename from src/components/ui/accordion.tsx rename to src/app/components/ui/accordion.tsx diff --git a/src/components/ui/action-bar.tsx b/src/app/components/ui/action-bar.tsx similarity index 100% rename from src/components/ui/action-bar.tsx rename to src/app/components/ui/action-bar.tsx diff --git a/src/components/ui/alert.tsx b/src/app/components/ui/alert.tsx similarity index 100% rename from src/components/ui/alert.tsx rename to src/app/components/ui/alert.tsx diff --git a/src/components/ui/avatar.tsx b/src/app/components/ui/avatar.tsx similarity index 100% rename from src/components/ui/avatar.tsx rename to src/app/components/ui/avatar.tsx diff --git a/src/components/ui/blockquote.tsx b/src/app/components/ui/blockquote.tsx similarity index 100% rename from src/components/ui/blockquote.tsx rename to src/app/components/ui/blockquote.tsx diff --git a/src/components/ui/breadcrumb.tsx b/src/app/components/ui/breadcrumb.tsx similarity index 100% rename from src/components/ui/breadcrumb.tsx rename to src/app/components/ui/breadcrumb.tsx diff --git a/src/components/ui/button.tsx b/src/app/components/ui/button.tsx similarity index 100% rename from src/components/ui/button.tsx rename to src/app/components/ui/button.tsx diff --git a/src/components/ui/checkbox-card.tsx b/src/app/components/ui/checkbox-card.tsx similarity index 100% rename from src/components/ui/checkbox-card.tsx rename to src/app/components/ui/checkbox-card.tsx diff --git a/src/components/ui/checkbox.tsx b/src/app/components/ui/checkbox.tsx similarity index 100% rename from src/components/ui/checkbox.tsx rename to src/app/components/ui/checkbox.tsx diff --git a/src/components/ui/clipboard.tsx b/src/app/components/ui/clipboard.tsx similarity index 100% rename from src/components/ui/clipboard.tsx rename to src/app/components/ui/clipboard.tsx diff --git a/src/components/ui/close-button.tsx b/src/app/components/ui/close-button.tsx similarity index 100% rename from src/components/ui/close-button.tsx rename to src/app/components/ui/close-button.tsx diff --git a/src/components/ui/color-mode.tsx b/src/app/components/ui/color-mode.tsx similarity index 100% rename from src/components/ui/color-mode.tsx rename to src/app/components/ui/color-mode.tsx diff --git a/src/components/ui/data-list.tsx b/src/app/components/ui/data-list.tsx similarity index 100% rename from src/components/ui/data-list.tsx rename to src/app/components/ui/data-list.tsx diff --git a/src/components/ui/dialog.tsx b/src/app/components/ui/dialog.tsx similarity index 100% rename from src/components/ui/dialog.tsx rename to src/app/components/ui/dialog.tsx diff --git a/src/components/ui/drawer.tsx b/src/app/components/ui/drawer.tsx similarity index 100% rename from src/components/ui/drawer.tsx rename to src/app/components/ui/drawer.tsx diff --git a/src/components/ui/empty-state.tsx b/src/app/components/ui/empty-state.tsx similarity index 100% rename from src/components/ui/empty-state.tsx rename to src/app/components/ui/empty-state.tsx diff --git a/src/components/ui/field.tsx b/src/app/components/ui/field.tsx similarity index 100% rename from src/components/ui/field.tsx rename to src/app/components/ui/field.tsx diff --git a/src/components/ui/file-button.tsx b/src/app/components/ui/file-button.tsx similarity index 100% rename from src/components/ui/file-button.tsx rename to src/app/components/ui/file-button.tsx diff --git a/src/components/ui/hover-card.tsx b/src/app/components/ui/hover-card.tsx similarity index 100% rename from src/components/ui/hover-card.tsx rename to src/app/components/ui/hover-card.tsx diff --git a/src/components/ui/input-group.tsx b/src/app/components/ui/input-group.tsx similarity index 100% rename from src/components/ui/input-group.tsx rename to src/app/components/ui/input-group.tsx diff --git a/src/components/ui/link-button.tsx b/src/app/components/ui/link-button.tsx similarity index 100% rename from src/components/ui/link-button.tsx rename to src/app/components/ui/link-button.tsx diff --git a/src/components/ui/menu.tsx b/src/app/components/ui/menu.tsx similarity index 100% rename from src/components/ui/menu.tsx rename to src/app/components/ui/menu.tsx diff --git a/src/components/ui/native-select.tsx b/src/app/components/ui/native-select.tsx similarity index 100% rename from src/components/ui/native-select.tsx rename to src/app/components/ui/native-select.tsx diff --git a/src/components/ui/number-input.tsx b/src/app/components/ui/number-input.tsx similarity index 100% rename from src/components/ui/number-input.tsx rename to src/app/components/ui/number-input.tsx diff --git a/src/components/ui/pagination.tsx b/src/app/components/ui/pagination.tsx similarity index 100% rename from src/components/ui/pagination.tsx rename to src/app/components/ui/pagination.tsx diff --git a/src/components/ui/password-input.tsx b/src/app/components/ui/password-input.tsx similarity index 100% rename from src/components/ui/password-input.tsx rename to src/app/components/ui/password-input.tsx diff --git a/src/components/ui/pin-input.tsx b/src/app/components/ui/pin-input.tsx similarity index 100% rename from src/components/ui/pin-input.tsx rename to src/app/components/ui/pin-input.tsx diff --git a/src/components/ui/popover.tsx b/src/app/components/ui/popover.tsx similarity index 100% rename from src/components/ui/popover.tsx rename to src/app/components/ui/popover.tsx diff --git a/src/components/ui/progress-circle.tsx b/src/app/components/ui/progress-circle.tsx similarity index 100% rename from src/components/ui/progress-circle.tsx rename to src/app/components/ui/progress-circle.tsx diff --git a/src/components/ui/progress.tsx b/src/app/components/ui/progress.tsx similarity index 100% rename from src/components/ui/progress.tsx rename to src/app/components/ui/progress.tsx diff --git a/src/components/ui/prose.tsx b/src/app/components/ui/prose.tsx similarity index 100% rename from src/components/ui/prose.tsx rename to src/app/components/ui/prose.tsx diff --git a/src/components/ui/provider.tsx b/src/app/components/ui/provider.tsx similarity index 100% rename from src/components/ui/provider.tsx rename to src/app/components/ui/provider.tsx diff --git a/src/components/ui/radio-card.tsx b/src/app/components/ui/radio-card.tsx similarity index 100% rename from src/components/ui/radio-card.tsx rename to src/app/components/ui/radio-card.tsx diff --git a/src/components/ui/radio.tsx b/src/app/components/ui/radio.tsx similarity index 100% rename from src/components/ui/radio.tsx rename to src/app/components/ui/radio.tsx diff --git a/src/components/ui/rating.tsx b/src/app/components/ui/rating.tsx similarity index 100% rename from src/components/ui/rating.tsx rename to src/app/components/ui/rating.tsx diff --git a/src/components/ui/segmented-control.tsx b/src/app/components/ui/segmented-control.tsx similarity index 100% rename from src/components/ui/segmented-control.tsx rename to src/app/components/ui/segmented-control.tsx diff --git a/src/components/ui/select.tsx b/src/app/components/ui/select.tsx similarity index 100% rename from src/components/ui/select.tsx rename to src/app/components/ui/select.tsx diff --git a/src/components/ui/skeleton.tsx b/src/app/components/ui/skeleton.tsx similarity index 100% rename from src/components/ui/skeleton.tsx rename to src/app/components/ui/skeleton.tsx diff --git a/src/components/ui/slider.tsx b/src/app/components/ui/slider.tsx similarity index 100% rename from src/components/ui/slider.tsx rename to src/app/components/ui/slider.tsx diff --git a/src/components/ui/stat.tsx b/src/app/components/ui/stat.tsx similarity index 100% rename from src/components/ui/stat.tsx rename to src/app/components/ui/stat.tsx diff --git a/src/components/ui/status.tsx b/src/app/components/ui/status.tsx similarity index 100% rename from src/components/ui/status.tsx rename to src/app/components/ui/status.tsx diff --git a/src/components/ui/stepper-input.tsx b/src/app/components/ui/stepper-input.tsx similarity index 100% rename from src/components/ui/stepper-input.tsx rename to src/app/components/ui/stepper-input.tsx diff --git a/src/components/ui/steps.tsx b/src/app/components/ui/steps.tsx similarity index 100% rename from src/components/ui/steps.tsx rename to src/app/components/ui/steps.tsx diff --git a/src/components/ui/switch.tsx b/src/app/components/ui/switch.tsx similarity index 100% rename from src/components/ui/switch.tsx rename to src/app/components/ui/switch.tsx diff --git a/src/components/ui/tag.tsx b/src/app/components/ui/tag.tsx similarity index 100% rename from src/components/ui/tag.tsx rename to src/app/components/ui/tag.tsx diff --git a/src/components/ui/timeline.tsx b/src/app/components/ui/timeline.tsx similarity index 100% rename from src/components/ui/timeline.tsx rename to src/app/components/ui/timeline.tsx diff --git a/src/components/ui/toaster.tsx b/src/app/components/ui/toaster.tsx similarity index 100% rename from src/components/ui/toaster.tsx rename to src/app/components/ui/toaster.tsx diff --git a/src/components/ui/toggle-tip.tsx b/src/app/components/ui/toggle-tip.tsx similarity index 100% rename from src/components/ui/toggle-tip.tsx rename to src/app/components/ui/toggle-tip.tsx diff --git a/src/components/ui/toggle.tsx b/src/app/components/ui/toggle.tsx similarity index 100% rename from src/components/ui/toggle.tsx rename to src/app/components/ui/toggle.tsx diff --git a/src/components/ui/tooltip.tsx b/src/app/components/ui/tooltip.tsx similarity index 100% rename from src/components/ui/tooltip.tsx rename to src/app/components/ui/tooltip.tsx diff --git a/src/app/layout-test.tsx b/src/app/layout-test.tsx new file mode 100644 index 0000000..021eb01 --- /dev/null +++ b/src/app/layout-test.tsx @@ -0,0 +1,34 @@ +import type { Metadata } from "next"; +import localFont from "next/font/local"; +import { Providers } from './providers' +import "./globals.css"; + +const geistSans = localFont({ + src: "./fonts/GeistVF.woff", + variable: "--font-geist-sans", + weight: "100 900", +}); +const geistMono = localFont({ + src: "./fonts/GeistMonoVF.woff", + variable: "--font-geist-mono", + weight: "100 900", +}); + +export const metadata: Metadata = { + title: "Ballistic Builder", + description: "Freedom On", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + + {/* {children} */} + + + ); +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 8af3266..a14e64f 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,34 +1,16 @@ -import type { Metadata } from "next"; -import localFont from "next/font/local"; -import { Providers } from './providers' -import "./globals.css"; - -const geistSans = localFont({ - src: "./fonts/GeistVF.woff", - variable: "--font-geist-sans", - weight: "100 900", -}); -const geistMono = localFont({ - src: "./fonts/GeistMonoVF.woff", - variable: "--font-geist-mono", - weight: "100 900", -}); - -export const metadata: Metadata = { - title: "Ballistic Builder", - description: "Freedom On", -}; +export const metadata = { + title: 'Next.js', + description: 'Generated by Next.js', +} export default function RootLayout({ children, -}: Readonly<{ - children: React.ReactNode; -}>) { +}: { + children: React.ReactNode +}) { return ( - - {children} - + {children} - ); + ) }