homepage tweaks
This commit is contained in:
parent
ce63e43aa3
commit
a2915cc160
8
.prettierrc
Normal file
8
.prettierrc
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"semi": false,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"tabWidth": 4,
|
||||
"endOfLine": "lf"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<style>
|
||||
:root {
|
||||
--color-primary: #BA5B81;
|
||||
--color-primary: #ba5b81;
|
||||
--color-primary-light-1: #d76995;
|
||||
--color-primary-light-2: #ef8cb4;
|
||||
--color-primary-light-3: #f4a1c2;
|
||||
@ -16,10 +16,22 @@
|
||||
--color-primary-dark-6: #510825;
|
||||
--color-primary-dark-7: #2b0212;
|
||||
--color-primary-hover: var(--color-primary-light-2);
|
||||
--fonts-proportional: 'Avenir Next', Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
--fonts-proportional: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica,
|
||||
Arial, sans-serif;
|
||||
}
|
||||
|
||||
#navbar .item {
|
||||
font-weight: 500;
|
||||
}
|
||||
</style>
|
||||
|
||||
.page-content .ui.ui.ui.container:not(.fluid) {
|
||||
width: 1024px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script
|
||||
async
|
||||
defer
|
||||
data-website-id="97bd228d-da39-4661-bd87-60f5047a5132"
|
||||
src="https://a.kretschmann.io/script.js"
|
||||
></script>
|
||||
|
@ -1,12 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta charset="utf-8" />
|
||||
<title>git.berlin</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Public Gitea installation housing git repositories for projects made in Berlin, Germany">
|
||||
<link rel="canonical" href="https://git.berlin">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Public Gitea installation housing git repositories for projects made in Berlin, Germany"
|
||||
/>
|
||||
<link rel="canonical" href="https://git.berlin" />
|
||||
<link rel="icon" href="/assets/img/favicon.svg" type="image/svg+xml" />
|
||||
<link
|
||||
rel="alternate icon"
|
||||
href="/assets/img/favicon.png"
|
||||
type="image/png"
|
||||
/>
|
||||
<meta property="og:image" content="/assets/img/logo.png" />
|
||||
|
||||
<style>
|
||||
*,
|
||||
@ -28,7 +38,8 @@
|
||||
|
||||
body {
|
||||
font-size: 1rem;
|
||||
font-family: 'Avenir Next', Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica,
|
||||
Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #6b7f88;
|
||||
@ -47,9 +58,9 @@
|
||||
}
|
||||
|
||||
a {
|
||||
color: #BA5B81;
|
||||
color: #ba5b81;
|
||||
text-decoration: none;
|
||||
transition: .2s ease-out;
|
||||
transition: 0.2s ease-out;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
@ -87,12 +98,12 @@
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: .3rem 1rem;
|
||||
padding: 0.3rem 1rem;
|
||||
display: inline-block;
|
||||
text-transform: uppercase;
|
||||
font-size: .8rem;
|
||||
font-size: 0.8rem;
|
||||
border: 1px solid #8aa4af;
|
||||
border-radius: .2rem;
|
||||
border-radius: 0.2rem;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
@ -100,20 +111,20 @@
|
||||
.btn:hover,
|
||||
.btn:focus {
|
||||
background: #fff;
|
||||
color: #BA5B81;
|
||||
color: #ba5b81;
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
.btn--primary {
|
||||
background: #BA5B81;
|
||||
background: #ba5b81;
|
||||
color: #fff;
|
||||
border-color: #BA5B81;
|
||||
border-color: #ba5b81;
|
||||
}
|
||||
|
||||
.btn--primary:hover,
|
||||
.btn--primary:focus {
|
||||
background: #fff;
|
||||
color: #BA5B81;
|
||||
color: #ba5b81;
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
@ -127,7 +138,7 @@
|
||||
padding: 2rem 0;
|
||||
margin-top: 2rem;
|
||||
color: #fff;
|
||||
background: #C0CED3;
|
||||
background: #c0ced3;
|
||||
}
|
||||
|
||||
.text-center {
|
||||
@ -137,49 +148,80 @@
|
||||
footer {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
font-size: .8rem;
|
||||
font-size: 0.8rem;
|
||||
color: #96a6ad;
|
||||
}
|
||||
</style>
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:creator" content="@kremalicious">
|
||||
<meta name="twitter:url" content="https://git.berlin">
|
||||
<meta name="twitter:title" content="git.berlin">
|
||||
<meta name="twitter:description" content="Public Gitea installation housing git repositories for projects made in Berlin, Germany">
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:creator" content="@kremalicious" />
|
||||
<meta name="twitter:url" content="https://git.berlin" />
|
||||
<meta name="twitter:title" content="git.berlin" />
|
||||
<meta
|
||||
name="twitter:description"
|
||||
content="Public Gitea installation housing git repositories for projects made in Berlin, Germany"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<article>
|
||||
<div class="container">
|
||||
<svg id="logo-gitberlin" viewBox="0 0 115 256" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg
|
||||
id="logo-gitberlin"
|
||||
viewBox="0 0 115 256"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g fill="#C0CED3">
|
||||
<path d="M78.0192954,168.596418 C73.6220556,179.722758 64.2844708,186.142587 48.5518727,193.374879 C44.0643811,195.228368 39.6589412,197.407435 35.1186783,199.643703 L33.3275857,139.642102 L36.9097709,139.642102 L36.9097709,128.895546 L32.4320394,128.895546 L32.4320394,124.417815 C42.8765972,122.048958 50.556092,112.908921 50.3429652,102.029158 C50.556092,91.2271563 43.9283386,82.3649534 34.223132,78.744954 L34.223132,57.251843 L30.6409468,56.3562967 L30.6409468,50.983019 L28.8498543,49.1919264 L27.954308,4.41461182 L26.1632154,4.41461182 L24.3721228,4.41461182 L23.4765765,49.1919264 L21.6854839,50.983019 L21.6854839,56.3562967 L18.1032988,57.251843 L18.1032988,78.744954 C8.61121895,82.3578294 1.98346553,91.2235944 1.98346553,102.029158 C1.98346553,112.905359 9.66296035,122.045396 19.8943913,124.417815 L19.8943913,128.895546 L15.4166599,128.895546 L15.4166599,139.642102 L18.9988451,139.642102 L13.6255673,251.585388 L38.7008635,251.585388 L36.0142246,222.927907 C39.5275371,218.866822 46.6381547,215.435089 56.6117893,211.285805 C75.6361855,202.274343 91.7641216,189.758951 96.8874971,159.485798 L99.5980113,159.485798 L99.5980113,148.739243 L95.1202798,148.739243 L95.1202798,144.261511 C105.564838,141.892655 113.244332,132.752617 113.031206,121.872854 C113.244332,111.070853 106.616579,102.20865 96.9113724,98.5886506 L96.9113724,77.0955396 L93.3291872,76.1999933 L93.3291872,70.8267156 L91.5380946,69.035623 L90.6425484,24.2583084 L88.8514558,24.2583084 L87.0603632,24.2583084 L86.1648169,69.035623 L84.3737243,70.8267156 L84.3737243,76.1999933 L80.7915391,77.0955396 L80.7915391,98.5886506 C71.2994593,102.201526 64.6717059,111.067291 64.6717059,121.872854 C64.6717059,132.749055 72.3512007,141.889093 82.5826317,144.261511 L82.5826317,148.739243 L78.1049003,148.739243 L78.1049003,159.485798 L80.7591713,159.485798 C79.9856238,162.859581 79.0970526,165.869367 78.0192954,168.596418 Z"></path>
|
||||
<path
|
||||
d="M78.0192954,168.596418 C73.6220556,179.722758 64.2844708,186.142587 48.5518727,193.374879 C44.0643811,195.228368 39.6589412,197.407435 35.1186783,199.643703 L33.3275857,139.642102 L36.9097709,139.642102 L36.9097709,128.895546 L32.4320394,128.895546 L32.4320394,124.417815 C42.8765972,122.048958 50.556092,112.908921 50.3429652,102.029158 C50.556092,91.2271563 43.9283386,82.3649534 34.223132,78.744954 L34.223132,57.251843 L30.6409468,56.3562967 L30.6409468,50.983019 L28.8498543,49.1919264 L27.954308,4.41461182 L26.1632154,4.41461182 L24.3721228,4.41461182 L23.4765765,49.1919264 L21.6854839,50.983019 L21.6854839,56.3562967 L18.1032988,57.251843 L18.1032988,78.744954 C8.61121895,82.3578294 1.98346553,91.2235944 1.98346553,102.029158 C1.98346553,112.905359 9.66296035,122.045396 19.8943913,124.417815 L19.8943913,128.895546 L15.4166599,128.895546 L15.4166599,139.642102 L18.9988451,139.642102 L13.6255673,251.585388 L38.7008635,251.585388 L36.0142246,222.927907 C39.5275371,218.866822 46.6381547,215.435089 56.6117893,211.285805 C75.6361855,202.274343 91.7641216,189.758951 96.8874971,159.485798 L99.5980113,159.485798 L99.5980113,148.739243 L95.1202798,148.739243 L95.1202798,144.261511 C105.564838,141.892655 113.244332,132.752617 113.031206,121.872854 C113.244332,111.070853 106.616579,102.20865 96.9113724,98.5886506 L96.9113724,77.0955396 L93.3291872,76.1999933 L93.3291872,70.8267156 L91.5380946,69.035623 L90.6425484,24.2583084 L88.8514558,24.2583084 L87.0603632,24.2583084 L86.1648169,69.035623 L84.3737243,70.8267156 L84.3737243,76.1999933 L80.7915391,77.0955396 L80.7915391,98.5886506 C71.2994593,102.201526 64.6717059,111.067291 64.6717059,121.872854 C64.6717059,132.749055 72.3512007,141.889093 82.5826317,144.261511 L82.5826317,148.739243 L78.1049003,148.739243 L78.1049003,159.485798 L80.7591713,159.485798 C79.9856238,162.859581 79.0970526,165.869367 78.0192954,168.596418 Z"
|
||||
></path>
|
||||
</g>
|
||||
</svg>
|
||||
<h1 class="text-center">git.berlin</h1>
|
||||
|
||||
<p>Public <a href="https://gitea.io">Gitea</a> installation housing git repositories for projects made in Berlin, Germany. You know you always wanted <code>git.berlin</code> in your remotes.</p>
|
||||
|
||||
<p>Sign up is open for everyone creating open source or personal projects. Gitea is set up to private by default for all new repositories and groups. You're encouraged to make your repositories public though.</p>
|
||||
<p>
|
||||
Public <a href="https://gitea.io">Gitea</a> installation
|
||||
housing git repositories for projects made in Berlin,
|
||||
Germany. You know you always wanted
|
||||
<code>git.berlin</code> in your remotes.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Sign up is open for everyone creating open source or
|
||||
personal projects. Gitea is set up to private by default for
|
||||
all new repositories and groups. You're encouraged to make
|
||||
your repositories public though.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="login text-center">
|
||||
<div class="container">
|
||||
<p>
|
||||
<a class="btn btn--primary" href="https://git.berlin/user/login">Sign In or Sign Up</a>
|
||||
<a class="btn" href="https://git.berlin/explore/repos">Explore public repositories</a>
|
||||
<a
|
||||
class="btn btn--primary"
|
||||
href="https://git.berlin/user/login"
|
||||
>Sign In or Sign Up</a
|
||||
>
|
||||
<a class="btn" href="https://git.berlin/explore/repos"
|
||||
>Explore public repositories</a
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="text-center">
|
||||
<p>Maintained by <a href="https://matthiaskretschmann.com">@kremalicious</a>. <br><a href="mailto:m@git.berlin">Questions?</a></p>
|
||||
<p>
|
||||
Maintained by
|
||||
<a href="https://matthiaskretschmann.com">@kremalicious</a>.
|
||||
<br /><a href="mailto:m@git.berlin">Questions?</a>
|
||||
</p>
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
<script async defer data-website-id="97bd228d-da39-4661-bd87-60f5047a5132" src="https://analytics.kretschmann.io/umami.js"></script>
|
||||
|
||||
<script
|
||||
async
|
||||
defer
|
||||
data-website-id="97bd228d-da39-4661-bd87-60f5047a5132"
|
||||
src="https://a.kretschmann.io/script.js"
|
||||
></script>
|
||||
</body>
|
||||
</html>
|
||||
|
27
gulpfile.js
27
gulpfile.js
@ -1,10 +1,9 @@
|
||||
const gulp = require('gulp')
|
||||
const rsync = require('gulp-rsync')
|
||||
const browser = require("browser-sync").create()
|
||||
const gulp = require('gulp')
|
||||
const rsync = require('gulp-rsync')
|
||||
const browser = require('browser-sync').create()
|
||||
|
||||
// paths
|
||||
const DIST = './custom/'
|
||||
|
||||
const DIST = './custom/'
|
||||
|
||||
//
|
||||
// Dev Server
|
||||
@ -17,19 +16,19 @@ gulp.task('server', () => {
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
// Deployment
|
||||
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
gulp.task('deploy', () => {
|
||||
return gulp.src(DIST + '**/*')
|
||||
.pipe(rsync({
|
||||
gulp.task('deploy', () =>
|
||||
gulp.src(DIST + '**/*').pipe(
|
||||
rsync({
|
||||
root: DIST,
|
||||
hostname: 'git',
|
||||
username: 'git',
|
||||
destination: '/home/git/gitea/custom',
|
||||
destination: 'gitea/custom',
|
||||
chown: 'git:git',
|
||||
delete: true
|
||||
}))
|
||||
})
|
||||
delete: true,
|
||||
exclude: ['conf/']
|
||||
})
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user