A modern, responsive landing page for domains that are for sale. Built with React, TypeScript, and Tailwind CSS.
For a live preview, visit Here
- ✅ Get Domain Name From URL
- 🌐 Clean, professional design
- 🎨 Smooth animations and transitions
- 📱 Fully responsive layout (mobile-friendly)
- 🔄 Animated browser title (for attention)
- 🌍 Bilingual support (English/Persian)
- 📧 One-click email reveal and copy (no email obfuscation)
- 💰 Dynamic price display (configurable via
price.txt
for easy updates without code changes) - 🎯 Automatic language detection for Iranian visitors (Detection With Cloudflare Header :
CF-IPCountry
) - ✨ Gentle animations for better user experience
For users who just want to use the pre-built files.
-
Download the latest release from the Releases page
-
Extract the
dist
folder -
Configure your domain:
- Open
price.txt
and update the price - Open
main-[hash].js
and search for[email protected]
to replace with your email
- Open
-
Upload the contents of the
dist
folder to your web hosting:dist/ ├── index.html ├── price.txt └── assets/ ├── main-[hash].js └── main-[hash].css
For developers who want to customize and build the project.
- Node.js (v16 or higher)
- npm (v7 or higher)
- Clone the repository:
git clone <repository-url>
cd DomainSelling
- Install dependencies:
npm install
- Configure your domain price:
echo "$YOUR_PRICE" > public/price.txt
Or Create this manually (public/price.txt
) and write your price in it.
-
Update the contact email:
- Open
src/App.tsx
- Change the
email
constant to your email address
- Open
-
Start development server:
npm run dev
- Build for production:
npm run build
The production files will be in the dist
directory.
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production build locallynpm run lint
- Run ESLint
- Update the domain price in
public/price.txt
- Modify contact email in
src/App.tsx
- Adjust translations in
src/translations.ts
- Customize animations in
tailwind.config.js
- Update title animation settings in
src/utils/titleAnimation.ts
├── public/
│ └── price.txt # Domain price configuration
├── src/
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ ├── utils/ # Utility functions
│ ├── App.tsx # Main application component
│ ├── translations.ts # Language translations
│ └── types.ts # TypeScript type definitions
└── package.json # Project dependencies and scripts
- React 18
- TypeScript
- Tailwind CSS
- Vite
- Lucide Icons
- ESLint
-
Static Hosting Services
- Netlify
- Vercel
- GitHub Pages
-
Traditional Web Hosting
- Upload dist folder contents via FTP/SFTP
- Set index.html as default document
- The site is completely static and requires no server-side processing
- All files must be served from the same domain
- Ensure your web server is configured to serve
.txt
files correctly
This project is licensed under the MIT License - see the LICENSE file for details.