add remite page

This commit is contained in:
uetchy 2018-04-04 15:39:55 +09:00
parent 76ff36b425
commit fd907c725a
10 changed files with 683 additions and 389 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
node_modules
vendor

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"editor.formatOnSave": false
}

View File

@ -1,4 +1,4 @@
FROM ruby:2.4 FROM ruby:2.5
# see http://stackoverflow.com/questions/38453963/gitlab-ci-setup-error-could-not-find-a-javascript-runtime # see http://stackoverflow.com/questions/38453963/gitlab-ci-setup-error-could-not-find-a-javascript-runtime
RUN apt-get update && apt-get install nodejs -y RUN apt-get update && apt-get install nodejs -y
@ -9,7 +9,6 @@ RUN bundle config --global frozen 1
ENV LANG C.UTF-8 ENV LANG C.UTF-8
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY Gemfile /usr/src/app/ COPY Gemfile /usr/src/app/
COPY Gemfile.lock /usr/src/app/ COPY Gemfile.lock /usr/src/app/
RUN bundle install RUN bundle install

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2017 Yasuaki Uechi (https://uechi.io) Copyright (c) 2018 Yasuaki Uechi (https://uechi.io)
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

29
_pages/remit.html Normal file
View File

@ -0,0 +1,29 @@
---
title: Remit
permalink: "/remit"
layout: default
---
<div id="remit">
<section>
<h1>Amazon Gift</h1>
<p><pre>y@uechi.io</pre> 宛またはメッセージアプリ経由でお送りください。</p>
<a class="button" href="https://www.amazon.co.jp/gp/product/B004N3APGO/">Amazon Gift</a>
</section>
<section>
<h1>Kyash</h1>
<p><pre>uechi</pre> でID検索、またはメッセージアプリ経由でお送りください。</p>
<img src="/images/remit/kyash.png" width="200" height="200"/>
<a class="button" href="kyash://qr/u/7175222723044580164">Kyashで送金</a><br/>
</section>
<section>
<h1>LINE Pay</h1>
<p><pre></pre>LINE宛に直接お送りください。</p>
</section>
<section>
<h1>Bitcoin</h1>
<p><pre>14nD7MyrEdA8w7hxmGU19UbGrxNu7q5K6N</pre> 宛にお送りください。</p>
<img src="/images/remit/bitcoin.png" width="200" height="200"/>
<a class="button" href="bitcoin:14nD7MyrEdA8w7hxmGU19UbGrxNu7q5K6N">Bitcoinを送る</a><br/>
</section>
</div>

View File

@ -175,3 +175,31 @@ a.article-list__item__button {
margin: 0; margin: 0;
} }
} }
// Remit
#remit {
font-family: sans-serif;
pre {
display: inline-block;
}
a.button {
margin: 10px 0;
padding: 20px;
display: block;
background: black;
color: white;
text-align: center;
border-radius: 2px;
}
img {
margin: 10px 0;
}
section {
margin: 50px 0;
}
}

BIN
images/remit/bitcoin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
images/remit/kyash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

995
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,12 +6,12 @@
"fix-typo": "textlint _posts/*.md _pages/*.md --fix --dry-run -f diff" "fix-typo": "textlint _posts/*.md _pages/*.md --fix --dry-run -f diff"
}, },
"devDependencies": { "devDependencies": {
"textlint": "^7.1.0", "textlint": "^10.2.1",
"textlint-filter-rule-whitelist": "^1.0.2", "textlint-filter-rule-whitelist": "^1.2.3",
"textlint-rule-common-misspellings": "^1.0.1", "textlint-rule-common-misspellings": "^1.0.1",
"textlint-rule-max-ten": "^2.0.3", "textlint-rule-max-ten": "^2.0.3",
"textlint-rule-no-dropping-the-ra": "^1.0.3", "textlint-rule-no-dropping-the-ra": "^1.1.2",
"textlint-rule-no-start-duplicated-conjunction": "^1.1.3", "textlint-rule-no-start-duplicated-conjunction": "^2.0.2",
"textlint-rule-preset-japanese": "^1.3.3" "textlint-rule-preset-japanese": "^4.0.0"
} }
} }