1
Fork 0

Initial commit! 🎉

This commit is contained in:
Bauke 2020-07-31 12:45:37 +02:00
commit db3ad2b7cc
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
7 changed files with 3223 additions and 0 deletions

107
.gitignore vendored Normal file
View File

@ -0,0 +1,107 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Build directory.
public/

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License
Copyright (c) 2020 Bauke <me@bauke.xyz>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# bauke.xyz
> My personal website.
## Building
To build the site [Node](https://nodejs.org) and [Yarn](https://yarnpkg.com) are required.
Then, run `yarn build`. The site will be built to the `public/` directory.
## License
Open-sourced with the [MIT license](https://git.holllo.cc/Bauke/bauke.xyz/src/branch/main/LICENSE).

37
package.json Normal file
View File

@ -0,0 +1,37 @@
{
"name": "bauke.xyz",
"description": "My personal website.",
"version": "0.1.0",
"author": "Bauke <me@bauke.xyz>",
"homepage": "https://bauke.xyz",
"repository": "https://git.holllo.cc/Bauke/bauke.xyz",
"license": "MIT",
"scripts": {
"build": "cpy '**' '../public/' --cwd='source' --parents && yarn build:css",
"build:css": "cpy 'node_modules/modern-normalize/modern-normalize.css' 'public/css/'",
"test": "stylelint 'source/css/*.css'"
},
"dependencies": {
"modern-normalize": "^0.7.0"
},
"devDependencies": {
"cpy-cli": "^3.1.1",
"husky": "^4.2.5",
"stylelint": "^13.6.1",
"stylelint-config-xo-space": "^0.14.0"
},
"stylelint": {
"extends": [
"stylelint-config-xo-space"
],
"rules": {
"no-descending-specificity": null
}
},
"husky": {
"hooks": {
"pre-commit": "yarn test",
"pre-push": "yarn test"
}
}
}

93
source/css/index.css Normal file
View File

@ -0,0 +1,93 @@
html {
font-size: 62.5%;
}
body {
background-color: #1f1731;
color: #f2efff;
font-size: 1.75rem;
padding: 16px;
}
main {
align-items: center;
display: flex;
gap: 16px;
flex-direction: column;
margin: 0 auto;
margin-bottom: 16px;
max-width: 500px;
padding: 16px;
}
h1 {
background-color: #2a2041;
margin: 0;
padding: 16px;
width: 100%;
}
p {
margin: 0;
}
a {
border: 1px dashed transparent;
color: #41c8e5;
display: inline-block;
font-weight: bold;
padding: 4px 8px;
text-decoration: none;
}
a:hover {
background-color: #d2b83a;
color: #1f1731;
}
a:active,
a:focus {
border: 1px dashed #f2efff;
outline: none;
}
main,
footer,
h1,
ul {
border: 1px solid #3bd18a;
}
ul {
align-items: center;
background-color: #2a2041;
list-style: none;
margin: 0;
overflow: auto;
padding: 16px;
width: 100%;
}
li {
margin-bottom: 8px;
}
li:last-child {
margin-bottom: 0;
}
.divider {
border-top: 1px solid #3bd18a;
width: 100%;
}
footer {
font-weight: bold;
margin: 0 auto;
max-width: 500px;
padding: 16px;
}
footer a {
padding: 0;
}

63
source/index.html Normal file
View File

@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bauke</title>
<link rel="stylesheet" href="css/modern-normalize.css">
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<main>
<h1>Bauke</h1>
<ul>
<li>
<a href="https://git.holllo.cc/Bauke" target="_blank">Gitea</a>
</li>
<li>
<a href="https://github.com/Bauke" target="_blank">GitHub</a>
</li>
<li>
<a href="https://gitlab.com/Bauke" target="_blank">GitLab</a>
</li>
</ul>
<ul>
<li>
<a href="https://holllo.cc" target="_blank">Holllo</a>
</li>
<li>
<a href="https://tildes.net/user/Bauke" target="_blank">Tildes</a>
</li>
</ul>
<ul>
<li>
<a href="https://matrix.org" target="_blank">Matrix: @baukexyz:matrix.org</a>
</li>
<li>
<a href="mailto:me@bauke.xyz">Email: me@bauke.xyz</a>
</li>
</ul>
<div class="divider"></div>
<ul>
<li>
<a href="https://git.holllo.cc/Bauke?q=open-source" target="_blank">♡ Open Source</a>
</li>
<li>
<a href="https://git.holllo.cc/Bauke?q=rust" target="_blank">♥ Rust</a>
</li>
<li>
<a href="https://git.holllo.cc/Bauke?q=javascript" target="_blank">♡ TypeScript & JavaScript</a>
</li>
</ul>
</main>
<footer>
<p>
&copy; Bauke
<a href="https://creativecommons.org/licenses/by-sa/2.0/" target="_blank">CC BY-SA 2.0</a>
</p>
</footer>
</body>
</html>

2889
yarn.lock Normal file

File diff suppressed because it is too large Load Diff