From 2af0e73bde9d73d611b311c377ab93f706b129ff Mon Sep 17 00:00:00 2001 From: Sami Elsayed <90798961+selsayed25@users.noreply.github.com> Date: Sat, 24 Feb 2024 04:36:50 +0000 Subject: [PATCH] fix: make some filesystem changes --- insightedu/.eslintrc.json => .eslintrc.json | 0 insightedu/.gitignore => .gitignore | 0 README.md | 37 +++++++++++++++++- insightedu/README.md | 36 ----------------- insightedu/next.config.mjs => next.config.mjs | 0 .../package-lock.json => package-lock.json | 0 insightedu/package.json => package.json | 0 .../postcss.config.js => postcss.config.js | 0 {insightedu/public => public}/next.svg | 0 {insightedu/public => public}/vercel.svg | 0 {insightedu/src => src}/app/about.tsx | 1 + {insightedu/src => src}/app/favicon.ico | Bin {insightedu/src => src}/app/globals.css | 0 {insightedu/src => src}/app/layout.tsx | 0 {insightedu/src => src}/app/page.tsx | 1 + .../tailwind.config.ts => tailwind.config.ts | 0 insightedu/tsconfig.json => tsconfig.json | 0 17 files changed, 38 insertions(+), 37 deletions(-) rename insightedu/.eslintrc.json => .eslintrc.json (100%) rename insightedu/.gitignore => .gitignore (100%) delete mode 100644 insightedu/README.md rename insightedu/next.config.mjs => next.config.mjs (100%) rename insightedu/package-lock.json => package-lock.json (100%) rename insightedu/package.json => package.json (100%) rename insightedu/postcss.config.js => postcss.config.js (100%) rename {insightedu/public => public}/next.svg (100%) rename {insightedu/public => public}/vercel.svg (100%) rename {insightedu/src => src}/app/about.tsx (96%) rename {insightedu/src => src}/app/favicon.ico (100%) rename {insightedu/src => src}/app/globals.css (100%) rename {insightedu/src => src}/app/layout.tsx (100%) rename {insightedu/src => src}/app/page.tsx (97%) rename insightedu/tailwind.config.ts => tailwind.config.ts (100%) rename insightedu/tsconfig.json => tsconfig.json (100%) diff --git a/insightedu/.eslintrc.json b/.eslintrc.json similarity index 100% rename from insightedu/.eslintrc.json rename to .eslintrc.json diff --git a/insightedu/.gitignore b/.gitignore similarity index 100% rename from insightedu/.gitignore rename to .gitignore diff --git a/README.md b/README.md index a108733..c403366 100644 --- a/README.md +++ b/README.md @@ -1 +1,36 @@ -# InsightEdu \ No newline at end of file +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +First, run the development server: + +```bash +npm run dev +# or +yarn dev +# or +pnpm dev +# or +bun dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. + +This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/insightedu/README.md b/insightedu/README.md deleted file mode 100644 index c403366..0000000 --- a/insightedu/README.md +++ /dev/null @@ -1,36 +0,0 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). - -## Getting Started - -First, run the development server: - -```bash -npm run dev -# or -yarn dev -# or -pnpm dev -# or -bun dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. - -This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/insightedu/next.config.mjs b/next.config.mjs similarity index 100% rename from insightedu/next.config.mjs rename to next.config.mjs diff --git a/insightedu/package-lock.json b/package-lock.json similarity index 100% rename from insightedu/package-lock.json rename to package-lock.json diff --git a/insightedu/package.json b/package.json similarity index 100% rename from insightedu/package.json rename to package.json diff --git a/insightedu/postcss.config.js b/postcss.config.js similarity index 100% rename from insightedu/postcss.config.js rename to postcss.config.js diff --git a/insightedu/public/next.svg b/public/next.svg similarity index 100% rename from insightedu/public/next.svg rename to public/next.svg diff --git a/insightedu/public/vercel.svg b/public/vercel.svg similarity index 100% rename from insightedu/public/vercel.svg rename to public/vercel.svg diff --git a/insightedu/src/app/about.tsx b/src/app/about.tsx similarity index 96% rename from insightedu/src/app/about.tsx rename to src/app/about.tsx index a0bdd1f..bfb3bbd 100644 --- a/insightedu/src/app/about.tsx +++ b/src/app/about.tsx @@ -1,4 +1,5 @@ import Image from "next/image"; +import React from "react"; export default function About() { return ( diff --git a/insightedu/src/app/favicon.ico b/src/app/favicon.ico similarity index 100% rename from insightedu/src/app/favicon.ico rename to src/app/favicon.ico diff --git a/insightedu/src/app/globals.css b/src/app/globals.css similarity index 100% rename from insightedu/src/app/globals.css rename to src/app/globals.css diff --git a/insightedu/src/app/layout.tsx b/src/app/layout.tsx similarity index 100% rename from insightedu/src/app/layout.tsx rename to src/app/layout.tsx diff --git a/insightedu/src/app/page.tsx b/src/app/page.tsx similarity index 97% rename from insightedu/src/app/page.tsx rename to src/app/page.tsx index 53ff909..39a1205 100644 --- a/insightedu/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,5 @@ import Image from "next/image"; +import React from 'react'; export default function Home() { return ( diff --git a/insightedu/tailwind.config.ts b/tailwind.config.ts similarity index 100% rename from insightedu/tailwind.config.ts rename to tailwind.config.ts diff --git a/insightedu/tsconfig.json b/tsconfig.json similarity index 100% rename from insightedu/tsconfig.json rename to tsconfig.json