aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2018-02-01 13:15:28 +0100
committerFélix Sipma <felix.sipma@no-log.org>2018-02-01 13:17:01 +0100
commit33c2d1a037e1a37de765ceccbce5a99bfaf4ed76 (patch)
tree5e417e1b19ad356843004f74ad6b8e0c9cc53091
parentf5c72c3de11f49fc5f9d938715f872f7c223bf2e (diff)
basic webpage
-rw-r--r--Makefile16
-rw-r--r--docs/css/fournil.css28
-rw-r--r--docs/img/travaux.jpgbin0 -> 1010343 bytes
-rw-r--r--docs/index.html11
-rw-r--r--package-lock.json47
-rw-r--r--package.json23
6 files changed, 123 insertions, 2 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0150ca1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+PATH := node_modules/.bin:$(PATH)
+DIST=./docs
+
+build: npm css fonts
+
+npm:
+ npm install
+
+css:
+ mkdir -p $(DIST)/css && cp node_modules/bootstrap/dist/css/bootstrap.min.css $(DIST)/css/
+
+fonts:
+ mkdir -p $(DIST)/fonts && cp -R node_modules/font-awesome/fonts/* $(DIST)/fonts/
+ mkdir -p $(DIST)/css && cp -R node_modules/font-awesome/css/font-awesome.min.css $(DIST)/css/
+
+.PHONY: build
diff --git a/docs/css/fournil.css b/docs/css/fournil.css
new file mode 100644
index 0000000..3e5f5a9
--- /dev/null
+++ b/docs/css/fournil.css
@@ -0,0 +1,28 @@
+html, body {
+ height: 100%;
+ width: 100%;
+}
+
+body {
+ background-image: url("../img/travaux.jpg");
+ background-size: cover;
+ background-color: #cccccc;
+}
+
+.container-fluid {
+}
+
+.vertical-align {
+ display: flex;
+ align-items: center;
+ min-height: 100vh;
+ text-align: center;
+}
+
+h1 {
+ width: 100%;
+ text-align: center;
+ font-size: 80px;
+ color: black;
+ background-color: white;
+}
diff --git a/docs/img/travaux.jpg b/docs/img/travaux.jpg
new file mode 100644
index 0000000..79da33a
--- /dev/null
+++ b/docs/img/travaux.jpg
Binary files differ
diff --git a/docs/index.html b/docs/index.html
index 4d3dc28..6ee4130 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,10 +1,17 @@
<!doctype html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foo="http://www.w3.org/2000/svg">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foo="http://www.w3.org/2000/svg" lang="fr">
<head>
<meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Fournil Sipma</title>
+ <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
+ <link href="css/fournil.css" rel="stylesheet" type="text/css">
</head>
<body>
- <h1>Site en construction</h1>
+ <div class="container-fluid">
+ <div class="vertical-align">
+ <h1>Site en construction...</h1>
+ </div>
+ </div>
</body>
</html>
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 0000000..db44f4b
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,47 @@
+{
+ "name": "fournilsipma",
+ "version": "0.1.0",
+ "lockfileVersion": 1,
+ "requires": true,
+ "dependencies": {
+ "bootstrap": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.0.0.tgz",
+ "integrity": "sha512-gulJE5dGFo6Q61V/whS6VM4WIyrlydXfCgkE+Gxe5hjrJ8rXLLZlALq7zq2RPhOc45PSwQpJkrTnc2KgD6cvmA=="
+ },
+ "commander": {
+ "version": "2.13.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz",
+ "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA=="
+ },
+ "font-awesome": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
+ "integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM="
+ },
+ "jquery": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.3.1.tgz",
+ "integrity": "sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg=="
+ },
+ "popper.js": {
+ "version": "1.12.9",
+ "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.12.9.tgz",
+ "integrity": "sha1-DfvC3/lsRRuzMu3Pz6r1ZtMx1bM="
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ },
+ "uglify-js": {
+ "version": "3.3.9",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.3.9.tgz",
+ "integrity": "sha512-J2t8B5tj9JdPTW4+sNZXmiIWHzTvcoITkaqzTiilu/biZF/9crqf/Fi7k5hqbOmVRh9/hVNxAxBYIMF7N6SqMQ==",
+ "requires": {
+ "commander": "2.13.0",
+ "source-map": "0.6.1"
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..3d1d7e6
--- /dev/null
+++ b/package.json
@@ -0,0 +1,23 @@
+{
+ "name": "fournilsipma",
+ "version": "0.1.0",
+ "description": "fournilsipma.fr website",
+ "main": "index.js",
+ "dependencies": {
+ "bootstrap": "^4.0.0",
+ "font-awesome": "^4.7.0",
+ "jquery": "^3.3.1",
+ "popper.js": "^1.12.9",
+ "uglify-js": "^3.3.8"
+ },
+ "devDependencies": {},
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://git.gueux.org/fournilsipma.git"
+ },
+ "author": "Félix Sipma",
+ "license": "AGPL-3.0"
+}