├── next-shit ├── src │ ├── app │ │ ├── page.module.css │ │ ├── favicon.ico │ │ ├── movie │ │ │ ├── [id] │ │ │ │ └── page.js │ │ │ └── page.jsx │ │ ├── page.js │ │ ├── about │ │ │ └── page.js │ │ ├── loading.js │ │ ├── components │ │ │ ├── Header.js │ │ │ ├── Img.js │ │ │ ├── MovieCard.js │ │ │ ├── GojoData.jsx │ │ │ ├── ContactCard.js │ │ │ ├── Herosection.js │ │ │ ├── Nav.js │ │ │ ├── GojoForm.js │ │ │ ├── ContactForm.js │ │ │ └── Footer.js │ │ ├── layout.js │ │ ├── api │ │ │ ├── upload │ │ │ │ └── route.js │ │ │ └── gojo │ │ │ │ └── route.js │ │ ├── gojo │ │ │ └── page.js │ │ ├── contact │ │ │ ├── page.js │ │ │ └── contact.module.css │ │ ├── globals.css │ │ └── styles │ │ │ ├── common.module.css │ │ │ ├── herosection.module.css │ │ │ ├── navbar.module.css │ │ │ └── footer.module.css │ ├── models │ │ └── Gojo.js │ └── lib │ │ └── dbCON.js ├── public │ ├── logo.png │ ├── vercel.svg │ ├── next.svg │ ├── about1.svg │ ├── home.svg │ └── about.svg ├── jsconfig.json ├── next.config.mjs ├── .eslintrc.json ├── .gitignore ├── package.json └── README.md ├── README.md └── .gitattributes /next-shit/src/app/page.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # next-web 2 | my shit 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /next-shit/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nitish-kumar14/next-web/HEAD/next-shit/public/logo.png -------------------------------------------------------------------------------- /next-shit/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nitish-kumar14/next-web/HEAD/next-shit/src/app/favicon.ico -------------------------------------------------------------------------------- /next-shit/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "paths": { 4 | "@/*": ["./src/*"] 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /next-shit/next.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = {}; 3 | 4 | export default nextConfig; 5 | -------------------------------------------------------------------------------- /next-shit/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals", 3 | "rules": { 4 | "react/no-unescaped-entities": 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /next-shit/src/app/movie/[id]/page.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const page = () => { 4 | return ( 5 |
6 | hii 7 |
8 | ) 9 | } 10 | 11 | export default page 12 | -------------------------------------------------------------------------------- /next-shit/src/app/page.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import Herosection from './components/Herosection' 3 | 4 | const page = () => { 5 | return ( 6 |
7 | 8 |
9 | ) 10 | } 11 | 12 | export default page 13 | -------------------------------------------------------------------------------- /next-shit/src/app/about/page.js: -------------------------------------------------------------------------------- 1 | 2 | import Herosection from "@/app/components/Herosection"; 3 | 4 | const About = async () => { 5 | await new Promise((resolve) => setTimeout(resolve, 3000)); 6 | return ( 7 | 8 | ); 9 | }; 10 | 11 | export default About; -------------------------------------------------------------------------------- /next-shit/src/app/loading.js: -------------------------------------------------------------------------------- 1 | // import React from 'react' 2 | import styles from "@/app/styles/herosection.module.css" 3 | 4 | // export const loading = () => { 5 | // return ( 6 | //
7 | //
8 | //
9 | // ) 10 | // } 11 | 12 | 13 | import React from 'react' 14 | 15 | const loading = () => { 16 | return ( 17 |
18 |
19 |
20 | ) 21 | } 22 | 23 | export default loading 24 | -------------------------------------------------------------------------------- /next-shit/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | .yarn/install-state.gz 8 | 9 | # testing 10 | /coverage 11 | 12 | # next.js 13 | /.next/ 14 | /out/ 15 | 16 | # production 17 | /build 18 | 19 | # misc 20 | .DS_Store 21 | *.pem 22 | 23 | # debug 24 | npm-debug.log* 25 | yarn-debug.log* 26 | yarn-error.log* 27 | 28 | # local env files 29 | .env*.local 30 | 31 | # vercel 32 | .vercel 33 | 34 | # typescript 35 | *.tsbuildinfo 36 | next-env.d.ts 37 | -------------------------------------------------------------------------------- /next-shit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lala", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "dev": "next dev", 7 | "build": "next build", 8 | "start": "next start", 9 | "lint": "next lint" 10 | }, 11 | "dependencies": { 12 | "@emailjs/browser": "^4.3.3", 13 | "emailjs": "^4.0.3", 14 | "mongoose": "^8.4.1", 15 | "next": "14.2.3", 16 | "react": "^18", 17 | "react-dom": "^18", 18 | "react-icons": "^5.2.1" 19 | }, 20 | "devDependencies": { 21 | "eslint": "^8", 22 | "eslint-config-next": "14.2.3" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /next-shit/src/models/Gojo.js: -------------------------------------------------------------------------------- 1 | import mongoose from "mongoose"; 2 | 3 | const gojoSchema = new mongoose.Schema({ 4 | username: { 5 | type: String, 6 | required: true 7 | }, 8 | rank: { 9 | type: String, 10 | required: true 11 | }, 12 | father: { 13 | type: String, 14 | required: true 15 | }, 16 | post: { 17 | type: String, 18 | required: true 19 | }, 20 | id: { 21 | type: String, 22 | required: true 23 | }, 24 | }) 25 | 26 | const Gojo = mongoose.models.Gojo || mongoose.model('Gojo', gojoSchema) 27 | export default Gojo -------------------------------------------------------------------------------- /next-shit/public/vercel.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /next-shit/src/app/components/Header.js: -------------------------------------------------------------------------------- 1 | import styles from "@/app/styles/navbar.module.css" 2 | import Link from "next/link"; 3 | import Image from "next/image"; 4 | import Nav from "@/app/components/Nav"; 5 | 6 | const Header = () => { 7 | return ( 8 |
9 |
10 | 11 | my logo image 12 | 13 | 14 |
15 |
17 | ); 18 | }; 19 | 20 | export default Header; -------------------------------------------------------------------------------- /next-shit/src/app/layout.js: -------------------------------------------------------------------------------- 1 | import { Inter } from "next/font/google"; 2 | import "./globals.css"; 3 | import Header from "./components/Header"; 4 | import Footer from "./components/Footer"; 5 | 6 | const inter = Inter({ subsets: ["latin"] }); 7 | 8 | export const metadata = { 9 | title: "Create Next App", 10 | description: "Generated by create next app", 11 | }; 12 | 13 | export default function RootLayout({ children }) { 14 | return ( 15 | 16 | 17 |
18 | {children} 19 |