This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="shape"> | |
| <div class="shape-body"> | |
| <h1 class="headline">Headline Website</h1> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> | |
| <h2 class="title">Headline Website</h2> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> | |
| </div> | |
| </div> | |
| <div class="shape"> | |
| <div class="shape-body"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Before and after with the same properties | |
| %beforeafter { | |
| content: ''; | |
| position: absolute; | |
| display: block; | |
| z-index: 1030; | |
| left: 0; | |
| right: 0; | |
| } | |
| // Shape |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .shape-body { | |
| -webkit-transition: box-shadow .5s ease; | |
| transition: box-shadow .5s ease; | |
| } | |
| .shape-body:before, .shape-body:after { | |
| content: ''; | |
| position: absolute; | |
| display: block; | |
| z-index: 1030; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The upstream module is the link between Node.js and Nginx. | |
| # Upstream is used for proxying requests to other servers. | |
| # All requests for / get distributed between any of the servers listed. | |
| upstream helloworld { | |
| # Set up multiple Node.js webservers for load balancing. | |
| # max_fails refers to number of failed attempts | |
| # before server is considered inactive. | |
| # weight priorities traffic to server. Ex. weight=2 will recieve | |
| # twice as much traffic as server with weight=1 | |
| server <your server ip>:3000 max_fails=0 fail_timeout=10s weight=1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "nextjs-reactstrap", | |
| "description": "NextJS with Reactstrap Dashboard", | |
| "keywords": [ | |
| "NextJS", | |
| "ReactJS", | |
| "Reactstrap" | |
| ], | |
| "homepage": "https://github.com/dyarfi/nextjs-reactstrap", | |
| "version": "0.1.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| plugins: [ | |
| // PostCSS Config | |
| require("cssnano")({ | |
| preset: [ | |
| "default", | |
| { | |
| discardComments: { | |
| removeAll: true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html ⚡> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <link rel="canonical" href="Regular-non-AMP-page.html" /> | |
| <meta name="viewport" content="width=device-width,minimum-scale=1" /> | |
| <title>Test saja</title> | |
| <link | |
| href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800&display=swap" | |
| rel="stylesheet" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Test saja</title> | |
| <meta charset="utf-8" /> | |
| <link rel="amphtml" href="https://youroriginalwebpagelink/amp.html"> | |
| <meta name="viewport" content="width=device-width,minimum-scale=1" /> | |
| </head> | |
| <body> | |
| <div class="header"> | |
| <h2>Header</h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "nextjs-sequelize", | |
| "version": "0.1.0", | |
| "private": true, | |
| "scripts": { | |
| "dev": "next dev", | |
| "build": "next build", | |
| "start": "next start" | |
| }, | |
| "dependencies": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use strict"; | |
| module.exports = { | |
| development: { | |
| username: process.env.DB_USER, | |
| password: process.env.DB_PASS, | |
| database: process.env.DB_NAME, | |
| host: process.env.DB_HOST, | |
| dialect: "mysql", | |
| }, | |
| test: { |