All Projects → Upplication → landing

Upplication / landing

Licence: GPL-3.0 License
This project builds the static and internationalized landing page of Upplication.

Programming Languages

Less
1899 projects
Pug
443 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to landing

Gulp Pug Sass Seed
🍹 A Pug and Sass starter project using gulp for task automation.
Stars: ✭ 84 (+223.08%)
Mutual labels:  gulp, jade
startover
Startover is a boilerplate for developing static websites. With Startover you don't have to start over!
Stars: ✭ 15 (-42.31%)
Mutual labels:  gulp, static-site
Pug Sass Boilerplate Starter Kit
A Front-end template for building web apps or sites using Pug(Jade) and Sass
Stars: ✭ 92 (+253.85%)
Mutual labels:  gulp, jade
Houl
Full-contained static site workflow
Stars: ✭ 27 (+3.85%)
Mutual labels:  gulp, static-site
generator-veams
Scaffold modern frontend web apps or web pages with a static site generator (Assemble or Mangony), Grunt and/or Gulp, Sass and Bower. Use modern frameworks like Bourbon, Bootstrap or Foundation and structure your JavaScript with ES Harmony support.
Stars: ✭ 45 (+73.08%)
Mutual labels:  gulp, static-site
Jekyll Boilerplate
Helpful files to get started working on a new Jekyll website
Stars: ✭ 30 (+15.38%)
Mutual labels:  gulp, static-site
Compile Hero
🔰Visual Studio Code Extension For Compiling Language
Stars: ✭ 169 (+550%)
Mutual labels:  gulp, jade
Eleventy Starter Ghost
A starter template to build websites with Ghost & Eleventy
Stars: ✭ 187 (+619.23%)
Mutual labels:  static-site, netlify
cookie
Landing website + Blog using Jekyll & Tailwind CSS
Stars: ✭ 61 (+134.62%)
Mutual labels:  static-site, netlify
personal-page
Personal Page is a project that contains a person's personal information and resume.
Stars: ✭ 20 (-23.08%)
Mutual labels:  gulp, static-site
Made Mistakes Jekyll
Source for my website and blog (Jekyll + Gulp + Netlify)
Stars: ✭ 436 (+1576.92%)
Mutual labels:  gulp, netlify
bubo-rss
An irrationally minimalist, static RSS feed reader you can instantly deploy on Netlify, Glitch or your own server.
Stars: ✭ 41 (+57.69%)
Mutual labels:  static-site, netlify
Assemble
Community
Stars: ✭ 3,995 (+15265.38%)
Mutual labels:  gulp, static-site
Remark Boilerplate
A boilerplate to create presentations using remark, Gulp, Stylus and more.
Stars: ✭ 41 (+57.69%)
Mutual labels:  gulp, jade
generator-vintage-frontend
Modern front-end workflow
Stars: ✭ 15 (-42.31%)
Mutual labels:  gulp, jade
Glup
Some of the gulp tutorial -《gulp笔记》
Stars: ✭ 136 (+423.08%)
Mutual labels:  gulp, jade
Actions Netlify
🚀 Netlify deploy from GitHub Actions
Stars: ✭ 138 (+430.77%)
Mutual labels:  static-site, netlify
Nuxt Netlify Cms Starter Template
⚡ Build server-less, static websites with Vue.js and Netlify CMS.
Stars: ✭ 186 (+615.38%)
Mutual labels:  static-site, netlify
wp-trigger-netlify-build
A WordPress plugin to automatically rebuild a Netlify site when content is updated.
Stars: ✭ 80 (+207.69%)
Mutual labels:  static-site, netlify
hypermodul.es
🌎 Hypermodular studio
Stars: ✭ 16 (-38.46%)
Mutual labels:  static-site, netlify

Upplication Landing

Build Status

$ git clone [email protected]:Upplication/landing.git
$ yarn install
$ yarn start

Requirements

Also, it's recomendend (but not mandatory) installing

Installation

$ git clone [email protected]:Upplication/landing.git
$ yarn install

Running

$ yarn start

Starts a local development environment which:

  • Is accesible at http://localhost:9000.
  • Watches changes in css, jade, js ... folders and compiles if it is necessary.
  • Browser lives reload.

Deployment

$ yarn run deploy --mode=production

Builds the project with optimization for distribution.

If you are going to upload the project to a folder different than root (/), you can use a parameter called config.base_path with the destination root path. Example grunt deploy --config.base_path=/new to make the static files points to the proper path.

Documentation

This is a quick reference that aims to help you to learn how to add new languages and views on this project.

Configure environment

The file config.json contains the definition of all the configuration needed by the project. This definitions are grouped by environment. You can activate one environemnt by calling the paramenter env. Example yarn run deploy -- --env=localhost load all the vars defined in the localhost section. All this vars are available at:

  • Jade templates by calling #{localConfig.xxxx}
  • Saas files by calling @@config. (#{localConfig.} cant be use because saas define his own vars in that way)
  • JSON i18n files by calling @@config.

You can override this vars passing the concrete key as parameter with the prefix config.. Example yarn run deploy -- --env=localhost --config.token_manager=1337 --mode=production load all the vars defined in the localhost section and override the token_manager var with the value 1337

Add a new view

  1. Adding template: Create:

    app/views/[view_name].jade

  2. Adding styles:

    • Create a less file: app/styles/less/[view_name]/[name].less
    • Add the new result css to the view. Example:
    link(rel='stylesheet', href='#{localConfig.base_path}/styles/[view_name]/[name].css')
    
  3. Adding scripts:

    Scripts are concatenated by folder.

    • Create multiple js files inside a folder:
    app/scripts/[folder]/1.js
    app/scripts/[folder]/2.js
    app/scripts/[folder]/3.js
    
    • Add the new result js to the view. Example:
    script(type="text/javascript", src='#{localConfig.base_path}/scripts/[folder].js')
    
  4. Add translations:

    Update all: app/locales/[names]_[language_code]-[country-code].json with:

    • Add a new object in the root with the name of the file added to the view without the extension [view_name]
    • Add the following keys to the object:
    • _url: the absoulte url for the view in the current language
    • _meta_title: seo
    • _meta_description: seo
    • _keywords: seo
    • _priority: sitemap priority

We use Oneskyapp.com to translate/review the texts. You can use the task: grunt oneskyExport to override the lang with the translations in: https://upplication.oneskyapp.com (you need the access key and secret key)

Notes:

  • You don't need to follow this process in order to link external resources (blog, youtube videos, etc.) using the language file.
  • Do not overwrite any other URL (you can check the languages files or the auto-generated routing.json file)
  • All variables starting with "_" are mandatory
  • You can split the translations as many files as you want, only respects the naming: [name]_[language_code]-[country-code]*.json

Add a new language

  1. Add language:

    Update: app/locales/languages.json adding the new language

  2. Add the translation file:

    Create: app/locales/[custom_name]_[language_code]-[country_code]*.json

Language code list: http://www.w3schools.com/tags/ref_language_codes.asp Country code list: https://www.w3schools.com/tags/ref_country_codes.asp (optional)

* country code is optional.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].