Skip to content

Commit fc66de6

Browse files
committed
add template
1 parent 8c26c79 commit fc66de6

32 files changed

+1776
-3
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
build

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ typings/
5656

5757
# dotenv environment variables file
5858
.env
59+
60+
# build
61+
build/public

build/index.html

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<!doctype html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
9+
<title>Statik Starter Kit</title>
10+
11+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet">
12+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css" integrity="sha256-oSrCnRYXvHG31SBifqP2PM1uje7SJUyX0nTwO2RJV54="
13+
crossorigin="anonymous" />
14+
<link rel="stylesheet" href="public/app.bundle.css">
15+
</head>
16+
17+
<body>
18+
<header class="header">
19+
<nav class="navbar">
20+
<a class="navbar__brand" href="/">
21+
<img src="public/images/logo.png" alt="Statik Logo">
22+
<span>Statik</span>
23+
</a>
24+
<ul class="navbar__social">
25+
<li>
26+
<a href="https://github.com/statikstack">
27+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 23.406" role="img">
28+
<title>GitHub</title>
29+
<description>GitHub Profile</description>
30+
<path d="M12,.3A12,12,0,0,0,8.2,23.682c.6.113.82-.258.82-.577,0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61A3.181,3.181,0,0,0,3.633,17.7c-1.087-.744.084-.729.084-.729a2.516,2.516,0,0,1,1.838,1.236,2.557,2.557,0,0,0,3.495,1,2.558,2.558,0,0,1,.76-1.6c-2.665-.3-5.466-1.332-5.466-5.93A4.63,4.63,0,0,1,5.579,8.45a4.267,4.267,0,0,1,.105-3.176s1.005-.322,3.3,1.23a11.314,11.314,0,0,1,6,0c2.28-1.552,3.285-1.23,3.285-1.23a4.385,4.385,0,0,1,.12,3.176,4.648,4.648,0,0,1,1.23,3.22c0,4.61-2.805,5.625-5.475,5.92a2.873,2.873,0,0,1,.81,2.22c0,1.606-.015,2.9-.015,3.286,0,.315.21.69.825.57A11.985,11.985,0,0,0,12,.3"
31+
transform="translate(0 -0.297)" />
32+
</svg>
33+
</a>
34+
</li>
35+
<li>
36+
<a href="https://statikstack.slack.com">
37+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24.001" role="img">
38+
<title>Slack</title>
39+
<description>Slack Channel</description>
40+
<g transform="translate(0 0)">
41+
<path d="M9.879,10.995l1.035,3.085,3.2-1.074L13.084,9.932l-3.2,1.08v-.017Z" />
42+
<path d="M18.824,14.055l-1.555.521.54,1.61a1.246,1.246,0,0,1-.786,1.574,1.337,1.337,0,0,1-.435.063,1.26,1.26,0,0,1-1.155-.849l-.54-1.607-3.21,1.073.539,1.608a1.249,1.249,0,0,1-.794,1.575,1.286,1.286,0,0,1-.435.064,1.266,1.266,0,0,1-1.156-.85L9.3,17.218l-1.561.524A1.451,1.451,0,0,1,7.3,17.8a1.269,1.269,0,0,1-1.155-.855,1.235,1.235,0,0,1,.78-1.575l1.56-.525L7.5,11.76l-1.551.525a1.264,1.264,0,0,1-.428.064,1.241,1.241,0,0,1-.345-2.422l1.56-.52L6.2,7.8a1.249,1.249,0,0,1,2.37-.792L9.1,8.618l3.2-1.074-.54-1.605a1.245,1.245,0,1,1,2.364-.783l.54,1.621,1.555-.51a1.242,1.242,0,1,1,.791,2.354l-1.557.524,1.035,3.086,1.551-.516a1.25,1.25,0,0,1,.8,2.369l-.011-.029ZM22.995,8.7C20.52.456,16.946-1.471,8.7,1S-1.471,7.051,1,15.3s6.046,10.17,14.3,7.694,10.17-6.046,7.694-14.3Z"
43+
/>
44+
</g>
45+
</svg>
46+
</a>
47+
</li>
48+
<li>
49+
<a href="https://twitter.com/statikstack">
50+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24.001 19.507" role="img">
51+
<title>Twitter</title>
52+
<description>Twitter Profile</description>
53+
<path d="M23.954,4.569a10,10,0,0,1-2.825.775,4.958,4.958,0,0,0,2.163-2.723A10.163,10.163,0,0,1,20.165,3.8a4.919,4.919,0,0,0-8.511,3.358,5.035,5.035,0,0,0,.127,1.124A13.935,13.935,0,0,1,1.64,3.161,4.822,4.822,0,0,0,.974,5.636a4.921,4.921,0,0,0,2.188,4.1A4.9,4.9,0,0,1,.934,9.116v.061A4.923,4.923,0,0,0,4.88,14a4.965,4.965,0,0,1-2.212.085,4.937,4.937,0,0,0,4.6,3.417,9.868,9.868,0,0,1-6.1,2.1A10.444,10.444,0,0,1,0,19.544a14,14,0,0,0,7.557,2.209,13.9,13.9,0,0,0,14-13.986c0-.209,0-.42-.015-.63A9.936,9.936,0,0,0,24,4.589l-.047-.02Z"
54+
transform="translate(0 -2.246)" />
55+
</svg>
56+
</a>
57+
</li>
58+
</ul>
59+
</nav>
60+
61+
<div class="hero">
62+
<h1>Statik</h1>
63+
<h2>Many stacks. One place.</h2>
64+
</div>
65+
</header>
66+
67+
<main class="main">
68+
<section class="section">
69+
<h2>Welcome</h2>
70+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque luctus nec ligula at vehicula. Cras dapibus pellentesque
71+
neque. Aliquam convallis nunc a purus sodales, ut maximus lectus scelerisque. Morbi a malesuada velit, ut tincidunt
72+
sapien. Fusce placerat tellus a ullamcorper faucibus.
73+
</p>
74+
</section>
75+
76+
<section class="section">
77+
<h2>Features</h2>
78+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque luctus nec ligula at vehicula. Cras dapibus pellentesque
79+
neque. Aliquam convallis nunc a purus sodales, ut maximus lectus scelerisque. Morbi a malesuada velit, ut tincidunt
80+
sapien. Fusce placerat tellus a ullamcorper faucibus.
81+
</p>
82+
</section>
83+
</main>
84+
85+
<script src="public/app.bundle.js"></script>
86+
</body>
87+
88+
</html>

package.json

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
"src"
1313
],
1414
"scripts": {
15-
"lint": "eslint src/**/*.js",
16-
"start": "node src/index.js"
15+
"dev": "webpack-dev-server --env.env=dev",
16+
"build": "webpack --env.env=prod",
17+
"lint": "eslint statik/**/*.js"
1718
},
1819
"repository": {
1920
"type": "git",
@@ -24,10 +25,24 @@
2425
},
2526
"dependencies": {},
2627
"devDependencies": {
28+
"autoprefixer": "8.6.2",
29+
"babel-core": "6.26.3",
30+
"babel-loader": "7.1.4",
31+
"babel-preset-env": "1.7.0",
32+
"clean-webpack-plugin": "0.1.19",
33+
"css-loader": "0.28.11",
2734
"eslint": "4.19.1",
2835
"eslint-config-prettier": "2.9.0",
2936
"eslint-plugin-prettier": "2.6.0",
30-
"prettier": "1.13.5"
37+
"file-loader": "1.1.11",
38+
"mini-css-extract-plugin": "0.4.0",
39+
"postcss-loader": "2.1.5",
40+
"prettier": "1.13.5",
41+
"uglifyjs-webpack-plugin": "1.2.5",
42+
"webpack": "4.12.0",
43+
"webpack-cli": "3.0.7",
44+
"webpack-dev-server": "3.1.4",
45+
"webpack-merge": "4.1.3"
3146
},
3247
"license": "MIT"
3348
}

src/index.js

Whitespace-only changes.
15.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)