add homepage
This commit is contained in:
parent
186790a2fd
commit
13d9caf677
96
index.html
Normal file
96
index.html
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link rel="stylesheet" href="node_modules/siimple/siimple.css">
|
||||||
|
<link rel="icon" href="https://gitnet.fr/assets/img/logo.svg" type="image/svg+xml">
|
||||||
|
<style>
|
||||||
|
pre, code {
|
||||||
|
background: #2a2a2a;
|
||||||
|
color: #e6e6e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
p > code {
|
||||||
|
padding: 3px;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
padding: 5px 10px;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
background: #f6f7f9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
background: #212c41;
|
||||||
|
color: #f6f7f9;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<title>Gitnet Pages</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="has-py-16 has-text-center header">
|
||||||
|
<div class="is-inline-flex">
|
||||||
|
<a class="navlink"><img src="https://gitnet.fr/assets/img/logo.svg" width="150" alt="Gitnet"></a>
|
||||||
|
</div>
|
||||||
|
<div class="has-size-7 has-weight-bold has-mb-4 has-lh-none">
|
||||||
|
Host <span class="has-text-primary">static websites</span> with Gitnet Pages!
|
||||||
|
</div>
|
||||||
|
<div class="has-size-1 has-lh-heading has-mb-4">
|
||||||
|
It's quick, easy, free & fast - just put your project's homepage, blog or web experiment into a Git repository at Gitnet, and we'll do the rest.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<div class="columns">
|
||||||
|
<div class="column is-one-third is-full-mobile">
|
||||||
|
<div class="card has-shadow-md">
|
||||||
|
<div class="">
|
||||||
|
<i class="si-rocket has-size-9 has-text-primary"></i>
|
||||||
|
</div>
|
||||||
|
<div class="title is-4">1. Set up your repository</div>
|
||||||
|
<p class="has-text-justify has-mb-4">
|
||||||
|
Create a public repository named <code>pages</code> to make the site available at the main subdomain.
|
||||||
|
</p>
|
||||||
|
<div class="divider"></div>
|
||||||
|
<p class="has-text-justify has-mb-4">
|
||||||
|
You can also create a branch <code>pages</code> in an existing repository:
|
||||||
|
|
||||||
|
<pre><code>git switch --orphan pages
|
||||||
|
# In case if ignored files exist
|
||||||
|
git rm --cached -r .</code></pre>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="column is-one-third is-full-mobile">
|
||||||
|
<div class="card has-shadow-md">
|
||||||
|
<div class="">
|
||||||
|
<i class="si-rocket has-size-9 has-text-primary"></i>
|
||||||
|
</div>
|
||||||
|
<div class="title is-4">2. Upload your files</div>
|
||||||
|
<p class="has-text-justify has-mb-4">
|
||||||
|
Push your static content, HTML, style, fonts, images or anything else.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="column is-one-third is-full-mobile">
|
||||||
|
<div class="card has-shadow-md">
|
||||||
|
<div class="">
|
||||||
|
<i class="si-rocket has-size-9 has-text-primary"></i>
|
||||||
|
</div>
|
||||||
|
<div class="title is-4">3. You're done!</div>
|
||||||
|
<p class="has-text-justify has-mb-4">
|
||||||
|
Access your new website using this link: <code>https://USERNAME.gitnet.page[/REPOSITORY][/@BRANCH]</code>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
5
package.json
Normal file
5
package.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"siimple": "^4.1.0"
|
||||||
|
}
|
||||||
|
}
|
34
yarn.lock
Normal file
34
yarn.lock
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||||
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
|
"@siimple/colors@^0.1.0":
|
||||||
|
version "0.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@siimple/colors/-/colors-0.1.0.tgz#f09edcec32d0106fbf42ecfe7f56a350f1fae6c2"
|
||||||
|
integrity sha512-/weeN9nz/ubIvG6e80R3+DuHR4nM/pJrSZbPz6IkPX1Yg1l7C6jDQY2mGT7Eg8apmxNHfI2WImTXHKY4tO107A==
|
||||||
|
|
||||||
|
"@siimple/core@^0.1.0":
|
||||||
|
version "0.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@siimple/core/-/core-0.1.0.tgz#432784ca4aac2b035f810d8e987fc92d7776d2a6"
|
||||||
|
integrity sha512-n15lsKX1Bqx9PxoXc/vEe0XIuY05L4GYpoTJbBZs9nJNiQeYIyuy7MZFC0DoKZeeInBrNQhCpcsoZ+MlHif93w==
|
||||||
|
|
||||||
|
"@siimple/modules@^0.1.0":
|
||||||
|
version "0.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@siimple/modules/-/modules-0.1.0.tgz#466239f591fcf6fdc8be135ce88278a5e2ed51c3"
|
||||||
|
integrity sha512-5l4VFelRAX/Rl1JCZwox+lJrwwTzjzZruUZ58hv5hRXh3lzLSKLPy6M4s/0FY4FEfHs74WXYmRBo2mnyf1e/tg==
|
||||||
|
|
||||||
|
"@siimple/preset-base@^0.1.0":
|
||||||
|
version "0.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@siimple/preset-base/-/preset-base-0.1.0.tgz#debc153cd31c15635f2c7d4521597987ec78cc24"
|
||||||
|
integrity sha512-gJNTWhJXp+LMOa2+lZoBh16O/3EjYJxYBZFl4gfNo7fS6Z8E3gW8xFA3UO7eH6WiA/K/E5IxdjvMiCY6u8w/ZA==
|
||||||
|
dependencies:
|
||||||
|
"@siimple/colors" "^0.1.0"
|
||||||
|
|
||||||
|
siimple@^4.1.0:
|
||||||
|
version "4.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/siimple/-/siimple-4.1.0.tgz#33ca1a052a9bf3fd2b1c0d3bc51e67237ec5d341"
|
||||||
|
integrity sha512-6hM46bWQZ0ok7vnPEQSqMvXhOxqn+RNjvNyf0cvqg+f0TN16t/F8uzxuXivmyUpxXzDH1vTaX7ZjsqGAVkhSbg==
|
||||||
|
dependencies:
|
||||||
|
"@siimple/core" "^0.1.0"
|
||||||
|
"@siimple/modules" "^0.1.0"
|
||||||
|
"@siimple/preset-base" "^0.1.0"
|
Loading…
Reference in a new issue