diff --git a/parking-domain-landing-clean/.eslintrc.json b/parking-domain-landing-clean/.eslintrc.json new file mode 100644 index 0000000..7f745db --- /dev/null +++ b/parking-domain-landing-clean/.eslintrc.json @@ -0,0 +1,7 @@ +{ + "extends": "next/core-web-vitals", + "rules": { + "react/no-unescaped-entities": "off", + "react-hooks/exhaustive-deps": "off" + } +} \ No newline at end of file diff --git a/parking-domain-landing-clean/.gitignore b/parking-domain-landing-clean/.gitignore new file mode 100644 index 0000000..5ef6a52 --- /dev/null +++ b/parking-domain-landing-clean/.gitignore @@ -0,0 +1,41 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# env files (can opt-in for committing if needed) +.env* + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/parking-domain-landing-clean/README.md b/parking-domain-landing-clean/README.md new file mode 100644 index 0000000..d910a0a --- /dev/null +++ b/parking-domain-landing-clean/README.md @@ -0,0 +1,60 @@ +# Domain Parking Landing Page + +A modern, responsive landing page for parking domain names with advertisement spaces. Built with Next.js, TypeScript, and Tailwind CSS. + +## Features + +- 🌐 Dynamic domain name detection +- 💰 Multiple ad placement options +- 📱 Fully responsive design with dark mode support +- 📝 Contact form for domain purchase inquiries +- 🔍 Related domains section +- 🚀 Fast loading and SEO-friendly + +## Tech Stack + +- **Framework**: Next.js 15 +- **Language**: TypeScript +- **Styling**: Tailwind CSS +- **Linting**: ESLint +- **Deployment**: Ready for Vercel, Netlify, or any hosting platform + +## Getting Started + +1. Clone the repository: + ```bash + git clone https://github.com/yourusername/parking-domain-landing.git + cd parking-domain-landing + ``` + +2. Install dependencies: + ```bash + npm install + ``` + +3. Run the development server: + ```bash + npm run dev + ``` + +4. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +## Customization + +- **Domain Information**: Edit the `DomainInfo.tsx` component to customize domain details +- **Ad Spaces**: Modify the `AdBanner.tsx` and `AdScript.tsx` components to integrate with your ad provider +- **Related Domains**: Update the domains list in `page.tsx` +- **Contact Form**: Customize the form fields in `ContactForm.tsx` + +## Deployment + +The application is optimized for deployment on platforms like Vercel, Netlify, or any hosting service that supports Next.js applications. + +```bash +npm run build +npm run start +``` + +## License + +MIT \ No newline at end of file diff --git a/parking-domain-landing-clean/eslint.config.mjs b/parking-domain-landing-clean/eslint.config.mjs new file mode 100644 index 0000000..c85fb67 --- /dev/null +++ b/parking-domain-landing-clean/eslint.config.mjs @@ -0,0 +1,16 @@ +import { dirname } from "path"; +import { fileURLToPath } from "url"; +import { FlatCompat } from "@eslint/eslintrc"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); + +const compat = new FlatCompat({ + baseDirectory: __dirname, +}); + +const eslintConfig = [ + ...compat.extends("next/core-web-vitals", "next/typescript"), +]; + +export default eslintConfig; diff --git a/parking-domain-landing-clean/next.config.js b/parking-domain-landing-clean/next.config.js new file mode 100644 index 0000000..3ca40be --- /dev/null +++ b/parking-domain-landing-clean/next.config.js @@ -0,0 +1,27 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + /* config options here */ + async headers() { + return [ + { + source: "/(.*)", + headers: [ + { + key: "Access-Control-Allow-Origin", + value: "*", + }, + { + key: "Access-Control-Allow-Methods", + value: "GET,OPTIONS,PATCH,DELETE,POST,PUT", + }, + { + key: "Access-Control-Allow-Headers", + value: "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version", + }, + ], + }, + ]; + }, +}; + +module.exports = nextConfig; \ No newline at end of file diff --git a/parking-domain-landing-clean/package.json b/parking-domain-landing-clean/package.json new file mode 100644 index 0000000..a4f8f23 --- /dev/null +++ b/parking-domain-landing-clean/package.json @@ -0,0 +1,27 @@ +{ + "name": "parking-domain-landing", + "version": "0.1.0", + "private": true, + "scripts": { + "dev": "next dev --turbopack", + "build": "next build", + "start": "next start", + "lint": "next lint" + }, + "dependencies": { + "react": "^19.0.0", + "react-dom": "^19.0.0", + "next": "15.3.1" + }, + "devDependencies": { + "typescript": "^5", + "@types/node": "^20", + "@types/react": "^19", + "@types/react-dom": "^19", + "@tailwindcss/postcss": "^4", + "tailwindcss": "^4", + "eslint": "^9", + "eslint-config-next": "15.3.1", + "@eslint/eslintrc": "^3" + } +} diff --git a/parking-domain-landing-clean/postcss.config.mjs b/parking-domain-landing-clean/postcss.config.mjs new file mode 100644 index 0000000..c7bcb4b --- /dev/null +++ b/parking-domain-landing-clean/postcss.config.mjs @@ -0,0 +1,5 @@ +const config = { + plugins: ["@tailwindcss/postcss"], +}; + +export default config; diff --git a/parking-domain-landing-clean/public/file.svg b/parking-domain-landing-clean/public/file.svg new file mode 100644 index 0000000..004145c --- /dev/null +++ b/parking-domain-landing-clean/public/file.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/parking-domain-landing-clean/public/globe.svg b/parking-domain-landing-clean/public/globe.svg new file mode 100644 index 0000000..567f17b --- /dev/null +++ b/parking-domain-landing-clean/public/globe.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/parking-domain-landing-clean/public/next.svg b/parking-domain-landing-clean/public/next.svg new file mode 100644 index 0000000..5174b28 --- /dev/null +++ b/parking-domain-landing-clean/public/next.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/parking-domain-landing-clean/public/vercel.svg b/parking-domain-landing-clean/public/vercel.svg new file mode 100644 index 0000000..7705396 --- /dev/null +++ b/parking-domain-landing-clean/public/vercel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/parking-domain-landing-clean/public/window.svg b/parking-domain-landing-clean/public/window.svg new file mode 100644 index 0000000..b2b2a44 --- /dev/null +++ b/parking-domain-landing-clean/public/window.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/parking-domain-landing-clean/src/app/favicon.ico b/parking-domain-landing-clean/src/app/favicon.ico new file mode 100644 index 0000000..718d6fe Binary files /dev/null and b/parking-domain-landing-clean/src/app/favicon.ico differ diff --git a/parking-domain-landing-clean/src/app/globals.css b/parking-domain-landing-clean/src/app/globals.css new file mode 100644 index 0000000..a2dc41e --- /dev/null +++ b/parking-domain-landing-clean/src/app/globals.css @@ -0,0 +1,26 @@ +@import "tailwindcss"; + +:root { + --background: #ffffff; + --foreground: #171717; +} + +@theme inline { + --color-background: var(--background); + --color-foreground: var(--foreground); + --font-sans: var(--font-geist-sans); + --font-mono: var(--font-geist-mono); +} + +@media (prefers-color-scheme: dark) { + :root { + --background: #0a0a0a; + --foreground: #ededed; + } +} + +body { + background: var(--background); + color: var(--foreground); + font-family: Arial, Helvetica, sans-serif; +} diff --git a/parking-domain-landing-clean/src/app/layout.tsx b/parking-domain-landing-clean/src/app/layout.tsx new file mode 100644 index 0000000..09bd0c1 --- /dev/null +++ b/parking-domain-landing-clean/src/app/layout.tsx @@ -0,0 +1,34 @@ +import type { Metadata } from "next"; +import { Geist, Geist_Mono } from "next/font/google"; +import "./globals.css"; + +const geistSans = Geist({ + variable: "--font-geist-sans", + subsets: ["latin"], +}); + +const geistMono = Geist_Mono({ + variable: "--font-geist-mono", + subsets: ["latin"], +}); + +export const metadata: Metadata = { + title: "Domain For Sale | Premium Domain Parking", + description: "This domain is currently parked and available for purchase. Contact the owner for more information.", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + +
+ {children} + + + ); +} diff --git a/parking-domain-landing-clean/src/app/page.tsx b/parking-domain-landing-clean/src/app/page.tsx new file mode 100644 index 0000000..e78c8ca --- /dev/null +++ b/parking-domain-landing-clean/src/app/page.tsx @@ -0,0 +1,78 @@ + +import DomainInfo from '@/components/DomainInfo'; +import AdBanner from '@/components/AdBanner'; +import RelatedDomains from '@/components/RelatedDomains'; + +export default function Home() { + // Use a default domain name + const domainName = 'example.com'; + + return ( ++ Your inquiry about {domainName} has been received. We'll get back to you shortly. +
++ Fill out the form below and we'll get back to you with more information. +
+ + ++ Interested in purchasing {domainName}? +
++ Interested in this domain? Get in touch with us today to discuss pricing and transfer details. +
++ 📧 + + info@domainbroker.com + +
++ 📱 + + +1 (234) 567-890 + +
+{domain}
+Also available for purchase
+