Skip to content

Commit 4961898

Browse files
committed
Initialize repository
0 parents  commit 4961898

40 files changed

Lines changed: 1365 additions & 0 deletions

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = tab
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.{yml,yaml}]
12+
indent_style = space
13+
14+
[*.md]
15+
trim_trailing_whitespace = false

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
name: Build and Deploy
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0 # Hugo uses Git information to fetch .Lastmod information (enableGitInfo).
17+
18+
- name: Build
19+
run: make build
20+
21+
- name: Deploy
22+
uses: peaceiris/actions-gh-pages@v3
23+
with:
24+
force_orphan: true
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_branch: html
27+
publish_dir: ./public

.gitignore

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
### Hugo
2+
# Generated files by hugo
3+
/public/
4+
/resources/_gen/
5+
6+
# Executable may be added to repository
7+
hugo.exe
8+
hugo.darwin
9+
hugo.linux
10+
11+
### Node
12+
# Logs
13+
logs
14+
*.log
15+
npm-debug.log*
16+
yarn-debug.log*
17+
yarn-error.log*
18+
lerna-debug.log*
19+
20+
# Diagnostic reports (https://nodejs.org/api/report.html)
21+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
22+
23+
# Runtime data
24+
pids
25+
*.pid
26+
*.seed
27+
*.pid.lock
28+
29+
# Directory for instrumented libs generated by jscoverage/JSCover
30+
lib-cov
31+
32+
# Coverage directory used by tools like istanbul
33+
coverage
34+
*.lcov
35+
36+
# nyc test coverage
37+
.nyc_output
38+
39+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
40+
.grunt
41+
42+
# Bower dependency directory (https://bower.io/)
43+
bower_components
44+
45+
# node-waf configuration
46+
.lock-wscript
47+
48+
# Compiled binary addons (https://nodejs.org/api/addons.html)
49+
build/Release
50+
51+
# Dependency directories
52+
node_modules/
53+
jspm_packages/
54+
55+
# TypeScript v1 declaration files
56+
typings/
57+
58+
# TypeScript cache
59+
*.tsbuildinfo
60+
61+
# Optional npm cache directory
62+
.npm
63+
64+
# Optional eslint cache
65+
.eslintcache
66+
67+
# Microbundle cache
68+
.rpt2_cache/
69+
.rts2_cache_cjs/
70+
.rts2_cache_es/
71+
.rts2_cache_umd/
72+
73+
# Optional REPL history
74+
.node_repl_history
75+
76+
# Output of 'npm pack'
77+
*.tgz
78+
79+
# Yarn Integrity file
80+
.yarn-integrity
81+
82+
# dotenv environment variables file
83+
.env
84+
.env.test
85+
86+
# parcel-bundler cache (https://parceljs.org/)
87+
.cache
88+
89+
# Next.js build output
90+
.next
91+
92+
# Nuxt.js build / generate output
93+
.nuxt
94+
dist
95+
96+
# Gatsby files
97+
.cache/
98+
# Comment in the public line in if your project uses Gatsby and not Next.js
99+
# https://nextjs.org/blog/next-9-1#public-directory-support
100+
# public
101+
102+
# vuepress build output
103+
.vuepress/dist
104+
105+
# Serverless directories
106+
.serverless/
107+
108+
# FuseBox cache
109+
.fusebox/
110+
111+
# DynamoDB Local files
112+
.dynamodb/
113+
114+
# TernJS port file
115+
.tern-port
116+
117+
# Stores VSCode versions used for testing VSCode extensions
118+
.vscode-test
119+

Makefile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
ENGINE_COMMAND := ${shell . ./commands.sh; echo $$ENGINE_COMMAND}
2+
3+
.PHONY: all
4+
all: build
5+
6+
.PHONY: dependencies
7+
dependencies:
8+
./yarn install
9+
10+
.PHONY: build
11+
build: dependencies
12+
./hugo --minify
13+
# If we run using Docker, we should reset file ownership afterwards.
14+
ifneq (,$(findstring docker,${ENGINE_COMMAND}))
15+
sudo chown -R ${shell id -u ${USER}}:${shell id -g ${USER}} ./public/
16+
endif
17+
18+
.PHONY: server
19+
server: dependencies
20+
./hugo server --minify --buildDrafts
21+
22+
.PHONY: clean
23+
clean:
24+
rm -rf ./node_modules/
25+
rm -rf ./public/
26+
rm -rf ./resources/_gen/

assets/css/main.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@import '../node_modules/bootstrap/scss/_functions';
2+
3+
@import 'variables';
4+
5+
@import '../node_modules/bootstrap/scss/bootstrap';
6+
7+
@import 'styles';

assets/css/postcss.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
plugins: [
3+
require('autoprefixer'),
4+
]
5+
}

assets/css/styles.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
body {
2+
min-height: 100%;
3+
}
4+
5+
#content {
6+
max-width: 550px;
7+
}
8+
9+
#content img {
10+
display: block;
11+
max-width: 200px;
12+
}
13+
14+
.btn-contact {
15+
display: flex;
16+
justify-content: center;
17+
align-items: center;
18+
height: 40px;
19+
margin: 5px;
20+
padding: 0 10px;
21+
}
22+
23+
.btn-contact > * {
24+
max-height: 100%;
25+
max-width: 100%;
26+
}

assets/css/variables.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
$yellow: #00add8;
2+
3+
$primary: $yellow;
4+
5+
$border-radius: 2px;
6+
$border-radius-lg: 4px;
7+
$border-radius-sm: 1px;
8+
9+
$link-color: $primary;
10+
$link-hover-color: scale-color($link-color, $lightness: 25%);
11+
$link-decoration: none;
12+
$link-hover-decoration: underline;

assets/js/bootstrap.bundle.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js

assets/js/fontawesome.all.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../node_modules/@fortawesome/fontawesome-free/js/all.min.js

0 commit comments

Comments
 (0)