Giter Club home page Giter Club logo

landing-domain-for-sale's Introduction

Domain for Sale Landing Page

Unveil your domain's potential with the perfect platform to showcase your domain's value and attract potential buyers. Elevate your sales strategy with this dynamic, Preact-powered landing page solution. Maximize your outreach and accelerate the process of selling your domain name.

Domain Landing Cover

Table of Contents

Getting Started

To get started, simply clone or download this repository to your local machine:

git clone https://github.com/sa2kasov/domain-for-sale-landing.git

Install with NPM or Yarn.

npm install
# ...or...
yarn install

Once you have the code, you can modify the files to customize the landing page for your own domain.

Configuration

Provide your domain data in the ./src/config.js. Example of config.js file.

export const config = {
  // Default data
  currency: '₸',
  language: 'en',
  email: '[email protected]',
  phone: '+10123456789',
  whatsapp: '+11234567890',
  telegram: '@username',
  domains: [
    {
      name: 'example1.com',
      expiration: '2024-04-24T18:55:00+06:00',
      price: 100000,
      increasePrice: 1000,
      phone: false,
      whatsapp: '+12345678901',
      telegram: '@username1',
      hints: [
        'hint 1',
        'hint 2',
        'hint ...',
        'hint 100'
      ]
    },
    {
      name: 'example2.net',
      expiration: '2024-04-25T00:00:00+06:00',
      price: 200000,
      increasePrice: 1500,
      email: '[email protected]',
      language: 'ru'
    },
    {
      name: 'example3.org',
      expiration: '2024-04-26T12:00:00+06:00',
      price: 300000,
      increasePrice: 2000,
      whatsapp: false,
      telegram: '+12345678902',
      hints: [
        'hint 1',
        'hint 2'
      ]
    },
  ]
}

Default fields

Field Description Example
currency Currency sign '₸'
language Language code 'ru'
email Email address '[email protected]'
phone Phone number '+10123456789'
whatsapp Phone number '+11234567890'
telegram username or phone number '@username'

Domain fields

Field Description Example
name Domain name "example.com"
expiration Expiration date "2024-04-24T18:55:00+06:00"
price Domain price 100000
increasePrice Price increase 1000
hints Array of hints ["hint1", "hint 2", "..."]

Plus all fields from the default field. Any field in the domain field overrides the default values.

Skip a contact info

If you don't want to provide data for any field of contacts, set it to false.

// ...
domains: [
  {
    name: 'example.biz',
    phone: false,
    // ...
  }
]

The phone item will be omitted from the contacts for the `example.biz' domain.

Once you have made the necessary changes, you can host the landing page on any web server of your choice.

Adding new language

Create a new language json file in ./src/locales/. Take an example of the fields to be translated from existing files in the directory, e.g. en.json.

In the ./src/utils/i18n.js file, import your language file and define it in the translations object.

import newTranslations from '../locales/new.json'

const translations = {
  en: enTranslations,
  new: newTranslations,
}

Then in config.js set the name of your new language file in the language field.

Contributing

If you would like to contribute to this project, feel free to submit a pull request. However, please note that this project is intended to be a simple, lightweight landing page, so major changes may not be accepted.

License

This project is licensed under the License: MIT

landing-domain-for-sale's People

Contributors

sa2kasov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.