Remove old application
This commit is contained in:
parent
1af610d7a0
commit
eca4e74772
14 changed files with 6431 additions and 134 deletions
30
.gitignore
vendored
30
.gitignore
vendored
|
@ -1,20 +1,6 @@
|
||||||
|
|
||||||
# Created by https://www.gitignore.io/api/node,hugo
|
# Created by https://www.gitignore.io/api/node
|
||||||
# Edit at https://www.gitignore.io/?templates=node,hugo
|
# Edit at https://www.gitignore.io/?templates=node
|
||||||
|
|
||||||
### Hugo ###
|
|
||||||
### Hugo ###
|
|
||||||
# gitginore template for Hugo projects
|
|
||||||
# website: https://gohugo.io
|
|
||||||
|
|
||||||
# generated files by hugo
|
|
||||||
/public/
|
|
||||||
/resources/_gen/
|
|
||||||
|
|
||||||
# executable may be added to repository
|
|
||||||
hugo.exe
|
|
||||||
hugo.darwin
|
|
||||||
hugo.linux
|
|
||||||
|
|
||||||
### Node ###
|
### Node ###
|
||||||
# Logs
|
# Logs
|
||||||
|
@ -23,6 +9,10 @@ logs
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.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
|
# Runtime data
|
||||||
pids
|
pids
|
||||||
|
@ -35,6 +25,7 @@ lib-cov
|
||||||
|
|
||||||
# Coverage directory used by tools like istanbul
|
# Coverage directory used by tools like istanbul
|
||||||
coverage
|
coverage
|
||||||
|
*.lcov
|
||||||
|
|
||||||
# nyc test coverage
|
# nyc test coverage
|
||||||
.nyc_output
|
.nyc_output
|
||||||
|
@ -58,6 +49,9 @@ jspm_packages/
|
||||||
# TypeScript v1 declaration files
|
# TypeScript v1 declaration files
|
||||||
typings/
|
typings/
|
||||||
|
|
||||||
|
# TypeScript cache
|
||||||
|
*.tsbuildinfo
|
||||||
|
|
||||||
# Optional npm cache directory
|
# Optional npm cache directory
|
||||||
.npm
|
.npm
|
||||||
|
|
||||||
|
@ -98,6 +92,4 @@ typings/
|
||||||
# DynamoDB Local files
|
# DynamoDB Local files
|
||||||
.dynamodb/
|
.dynamodb/
|
||||||
|
|
||||||
# End of https://www.gitignore.io/api/node,hugo
|
# End of https://www.gitignore.io/api/node
|
||||||
|
|
||||||
static/build
|
|
||||||
|
|
16
config.yml
16
config.yml
|
@ -1,16 +0,0 @@
|
||||||
baseURL: "https://givemoneyto.me/"
|
|
||||||
title: "Give money to me"
|
|
||||||
|
|
||||||
staticDir: static/build
|
|
||||||
assetDir: static/build
|
|
||||||
|
|
||||||
disableKinds:
|
|
||||||
- sitemap
|
|
||||||
- taxonomyTerm
|
|
||||||
- 404
|
|
||||||
|
|
||||||
outputs:
|
|
||||||
home:
|
|
||||||
- html
|
|
||||||
page:
|
|
||||||
- html
|
|
|
@ -1,3 +0,0 @@
|
||||||
---
|
|
||||||
title: Give Money To Me
|
|
||||||
---
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
title: Monzo
|
|
||||||
image: https://upload.wikimedia.org/wikipedia/en/thumb/a/a3/Monzo_logo.svg/1920px-Monzo_logo.svg.png
|
|
||||||
link: https://monzo.me/jakehoward
|
|
||||||
---
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
title: PayPal
|
|
||||||
image: https://upload.wikimedia.org/wikipedia/commons/thumb/b/b7/PayPal_Logo_Icon_2014.svg/887px-PayPal_Logo_Icon_2014.svg.png
|
|
||||||
link: https://www.paypal.me/TheOrangeOne
|
|
||||||
---
|
|
|
@ -1,10 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Redirecting to {{ .Params.link }}</title>
|
|
||||||
<link rel="canonical" href="{{ .Params.link }}">
|
|
||||||
<meta http-equiv="refresh" content="0; url={{ .Params.link }}">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p>Redirecting to {{ .Params.link }}...</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,36 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>{{ .Title }}</title>
|
|
||||||
{{ partial "style.html" "css/font-awesome.css" }}
|
|
||||||
{{ partial "style.html" "css/animate.css" }}
|
|
||||||
{{ partial "style.html" "scss/index.scss" }}
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="jumbotron mb-0 jumbotron-fluid text-center vertical-center">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="display-1">{{ .Site.Title }}</h1>
|
|
||||||
<p class="lead">You should give me money. Here's how:</p>
|
|
||||||
<h1>
|
|
||||||
<i class="fas fa-chevron-down mt-5 animated infinite slideInDown"></i>
|
|
||||||
</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="jumbotron mb-0 jumbotron-fluid">
|
|
||||||
<div class="container">
|
|
||||||
<div class="card-deck">
|
|
||||||
{{ range .Pages.ByTitle }}
|
|
||||||
<div class="card text-center mx-5">
|
|
||||||
<a href="{{ .Permalink }}" class="colour-invert">
|
|
||||||
<img src="{{ .Params.image }}" class="card-img-top my-3 mx-3" alt="{{ .Title }} logo" style="max-width:40%" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ partial "script.html" "js/bootstrap.js" }}
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,2 +0,0 @@
|
||||||
{{ $script := resources.Get . | minify | fingerprint }}
|
|
||||||
<script type="text/javascript" src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>
|
|
|
@ -1,2 +0,0 @@
|
||||||
{{ $style := resources.Get . | toCSS | minify | fingerprint }}
|
|
||||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" />
|
|
6418
package-lock.json
generated
6418
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -15,7 +15,8 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.7.1",
|
"@fortawesome/fontawesome-free": "^5.7.1",
|
||||||
"animate.css": "^3.7.0",
|
"animate.css": "^3.7.0",
|
||||||
"bootstrap": "4.2.1"
|
"bootstrap": "4.2.1",
|
||||||
|
"parcel-bundler": "^1.12.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {}
|
"devDependencies": {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
rm -rf public/
|
|
||||||
|
|
||||||
mkdir -p static/build/js static/build/css
|
|
||||||
|
|
||||||
cp -r static/src/* static/build
|
|
||||||
|
|
||||||
cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.js static/build/js/bootstrap.js
|
|
||||||
cp node_modules/animate.css/animate.min.css static/build/css/animate.css
|
|
||||||
cp -r node_modules/@fortawesome/fontawesome-free/css/all.min.css static/build/css/font-awesome.css
|
|
||||||
cp -r node_modules/@fortawesome/fontawesome-free/webfonts static/build
|
|
||||||
|
|
||||||
hugo -v --stepAnalysis --gc
|
|
|
@ -1,7 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
bash ./scripts/build.sh
|
|
||||||
|
|
||||||
hugo server --noHTTPCache --disableFastRender --gc
|
|
|
@ -1,12 +0,0 @@
|
||||||
@import "node_modules/bootstrap/scss/bootstrap";
|
|
||||||
|
|
||||||
.vertical-center {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-breakpoint-up(lg) {
|
|
||||||
.jumbotron {
|
|
||||||
height: 50vh;
|
|
||||||
}
|
|
||||||
}
|
|
Reference in a new issue