1
Fork 0

Remove old application

This commit is contained in:
Jake Howard 2019-06-29 12:17:41 +01:00
parent 1af610d7a0
commit eca4e74772
Signed by: jake
GPG key ID: 57AFB45680EDD477
14 changed files with 6431 additions and 134 deletions

30
.gitignore vendored
View file

@ -1,20 +1,6 @@
# Created by https://www.gitignore.io/api/node,hugo
# Edit at https://www.gitignore.io/?templates=node,hugo
### 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
# Created by https://www.gitignore.io/api/node
# Edit at https://www.gitignore.io/?templates=node
### Node ###
# Logs
@ -23,6 +9,10 @@ logs
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
@ -35,6 +25,7 @@ lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
@ -58,6 +49,9 @@ jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
@ -98,6 +92,4 @@ typings/
# DynamoDB Local files
.dynamodb/
# End of https://www.gitignore.io/api/node,hugo
static/build
# End of https://www.gitignore.io/api/node

View file

@ -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

View file

@ -1,3 +0,0 @@
---
title: Give Money To Me
---

View file

@ -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
---

View file

@ -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
---

View file

@ -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>

View file

@ -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>

View file

@ -1,2 +0,0 @@
{{ $script := resources.Get . | minify | fingerprint }}
<script type="text/javascript" src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,8 @@
"dependencies": {
"@fortawesome/fontawesome-free": "^5.7.1",
"animate.css": "^3.7.0",
"bootstrap": "4.2.1"
"bootstrap": "4.2.1",
"parcel-bundler": "^1.12.3"
},
"devDependencies": {}
}

View file

@ -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

View file

@ -1,7 +0,0 @@
#!/usr/bin/env bash
set -e
bash ./scripts/build.sh
hugo server --noHTTPCache --disableFastRender --gc

View file

@ -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;
}
}