GithubHelp home page GithubHelp logo

hendrikdemir / under-construction-template Goto Github PK

View Code? Open in Web Editor NEW
11.0 0.0 23.0 834 KB

A simple, minimalistic & cross-device compatible landing page for when your website is under construction

Home Page: https://hendrikdemir.github.io/under-construction-template/

License: MIT License

HTML 37.06% CSS 9.82% JavaScript 53.12%
tailwind template website css html landing-page placeholder under-construction-page js

under-construction-template's Introduction

Under Construction Template

A simple, minimalistic & cross-device compatible landing page for when your website is under construction

license forks issues

This is a very simple landing page built with Tailwind that can be put on display when you're still working on your website. You can completely modify it to your liking and use it in whatever way you like. Contributions to further improve the design, performance and configurability are very welcome.

Usage

In order to deploy this simple page, you'll need to build it using Webpack, which will generate the dist folder.

  1. Use this repository as a template to create your own repository & clone it git clone https://github.com/<yourusername>/<your-repository-name>

  2. Run npm run build

Webpack will now generate a dist folder containing index.html, main.js and the construction image. Copy this to the root folder of your website, and you're done!

Configuration

While making adjustments to the page, keep in mind that the dist folder is only for output purposes. If you want to make adjustments to the page's content, such as text, you must do this in src/index.html. Once you're done making adjustments, you'll need to run npm run build to get an up-to-date dist folder.

Colors

The colors used on the page can be modified in tailwind.config.js.

colors: {
    'primary': {
        DEFAULT: '#f4a117',
        '50': '#fffbeb',
        '100': '#fef3c7',
        '200': '#fce68b',
        '300': '#fbd14e',
        '400': '#fabd25',
        '500': '#f4a117',
        '600': '#d87607',
        '700': '#b3520a',
        '800': '#91400f',
        '900': '#773510',
        '950': '#451a03',
    }
}

The value set for DEFAULT will be used when you don't provide the color's shade, such as bg-primary. More about this can be found at Tailwind's documentation.

Fonts

The fonts are provided in src/style.css and configured in tailwind.config.js.

@import url('https://fonts.googleapis.com/...');
fontFamily: {
    sans: ['Roboto', 'sans-serif'],
    serif: ['Playfair Display', 'serif']
}

Image

The construction site image is configured in src/index.js.

import constructionImagePath from './construction.svg'
document.querySelector("img").src = constructionImagePath;

If you use a different image and adjust the path, Webpack should automatically pick this up and copy the image over to the dist folder.

Meta

LinkedIn โ€“ @Hendrik Demir

Distributed under the MIT license. See LICENSE for more information.

Contributing

  1. Fork & clone the repository
    git clone https://github.com/<yourusername>/<your-repository-name>
  2. Create your feature branch
    git checkout -b feature/superlaser
  3. Commit your changes
    git commit -am 'Added superlaser'
  4. Push to the branch
    git push origin feature/superlaser
  5. Create a new Pull Request

Acknowledgements

under-construction-template's People

Contributors

hendrikdemir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.