GithubHelp home page GithubHelp logo

terenaa / mercury-reseller-landing-page Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 281 KB

Free responsive domain reseller landing page

License: MIT License

PHP 35.69% HTML 48.64% CSS 13.42% JavaScript 2.25%
landing-page sculpin spectre-css

mercury-reseller-landing-page's Introduction

Mercury - Responsive domain reseller landing page

Screenshot

Mercury is a free responsive domain reseller landing page. The project has also included a PHP file which allows to send offers directly from the site. The final HTML is generated by Sculpin. It is divided into few sections:

  • Contact form
  • Fun facts about domains
  • Contact details
  • Copyrights
  • Cookie message

Installation

$ git clone https://github.com/terenaa/mercury-reseller-landing-page.git domain_landing_page
$ cd domain_landing_page
$ composer install

Generating landing page

After installing all composer dependencies it requires a few more steps of configuration.

Configuration

Open app/config/sculpin_site.yml. This is the file where almost all settings will be placed. Only email and ReCaptcha settings are put in app/config/sculpin_kernel.yml.

Every section can be hidden by setting visible: false (except Buy now - no visible option; cookie message - depends on ReCaptcha settings).

General page settings

Language of the landing page.

# app/config/sculpin_site.yml

lang: en

Domain details

Primary domain details.

# app/config/sculpin_site.yml

domain:
  name: example.com
  title: is for sale
  description: ~
  price: 99
  currency: USD

Buy now option

Buy now button will not show if its label will be empty.

# app/config/sculpin_site.yml

buy_now:
  button: Buy now for %domain.price% %domain.currency%

Contact form settings

This settings section contains also ReCaptcha public key.

# app/config/sculpin_site.yml

form:
  visible: true
  header: Interested in this domain?
  description: Lorem ipsum dolor sit amet.
  fields:
    name:
      text: What's your name?
      required: true
    email:
      text: What's your email?
      required: true
    phone:
      text: What's your phone number?
      required: false
    offer:
      text: Offer price in %domain.currency%
      required: true
    comments:
      text: Any additional comments?
      required: false
  buttons:
    make_offer:
      text: Make an offer
  optional: (optional)
  success_message: Your message has been sent successfully.
  error_message: Ooops! Something went wrong.
  go_back_button: Go back
  recaptcha:

    # Public key of ReCaptcha only if form section is visible and ReCaptcha is enabled
    public_key: ~

Pros of the domain

Maximum number of pros is 3.

# app/config/sculpin_site.yml

why_this_domain:
  visible: false
  header: Why %domain.name%?
  description: Lorem ipsum dolor sit amet.
  pros:
    -
      header: long & hard
      description: Lorem ipsum dolor sit amet.
    -
      header: 5+ backlinks
      description: Lorem ipsum dolor sit amet.
    -
      header: 98 years old
      description: Lorem ipsum dolor sit amet.

Facts about domains or whatever

# app/config/sculpin_site.yml

did_you_know:
  visible: true
  header: Did you know?
  facts:
    -
      header: Some fact 1
      description: Some fact 1 description
    -
      header: Some fact 2
      description: Some fact 2 description
  provided_by: '* All fun facts provided by Some Company'

Contact details

All icons are provided by Feather Icons. Available, proposed icons: phone, at-sign, mail, facebook, instagram, link, linkedin, twitter. Maximum number of channels is 2.

# app/config/sculpin_site.yml

contact:
  visible: false
  channels:
    -
      type: phone
      account: +1 000 000 000
    -
      type: mail
      account: [email protected]

Footer / copyrights

Footer displays copyright info, e.g. © YEAR domain.com. The template can be edited in source/_partials/footer.html.twig.

# app/config/sculpin_site.yml

footer:
  visible: false

Robots

This option allows you to decide if you want to permit robots and spiders to index your domain for sale. Default value is false.

# app/config/sculpin_site.yml

robots:
  allow_indexing: false

Cookie message

Cookie message is displayed only if ReCaptcha is enabled. When your country does not require such information leave this setting empty (~).

# app/config/sculpin_site.yml

cookie_message: Lorem ipsum dolor sit amet.

Emails & ReCaptcha

Email settings and ReCaptcha secret, because of their nature, are placed in app/config/sculpin_kernel.yml. Remember that ReCaptcha public key is set in form section.

dlp_mail:
  subject: 'New offer for domain %s'
  recipient:
    name: The Boss
    email: [email protected]
  recaptcha:
  
    # Secret key of ReCaptcha only if form section is visible and ReCaptcha is enabled
    secret: ~

Generating

$ vendor/bin/sculpin generate --env=prod

After generating successfully deploy content of output_prod directory.

Features

  • Fully responsive
  • HTML5 + CSS3
  • Built on Spectre 0.5.1
  • Compatible with all modern browsers

Contributing

Did you found a bug or got an idea? Feel free to use the issue tracker. Or make directly a pull request.

Credits

mercury-reseller-landing-page's People

Contributors

terenaa avatar

Watchers

 avatar

Forkers

bloxcord jakob-98

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.