mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
site: fix for new font
This commit is contained in:
parent
b75bd4d6c5
commit
ac4fecd819
@ -7,11 +7,11 @@ all:
|
|||||||
cp -r ts tempts
|
cp -r ts tempts
|
||||||
../scripts/dark-variant.sh tempts
|
../scripts/dark-variant.sh tempts
|
||||||
npx esbuild --target=es6 --bundle tempts/main.ts --outfile=out/main.js --minify
|
npx esbuild --target=es6 --bundle tempts/main.ts --outfile=out/main.js --minify
|
||||||
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --external:modal.css --minify
|
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --external:modal.css --external:../fonts/hanken* --minify
|
||||||
npx tailwindcss -c tailwind.config.js -i out/bundle.css -o out/bundle.css
|
npx tailwindcss -c tailwind.config.js -i out/bundle.css -o out/bundle.css
|
||||||
cd out && npx uncss index.html --stylesheets remixicon.css > _remixicon.css; cd ..
|
cd out && npx uncss index.html --stylesheets remixicon.css > _remixicon.css; cd ..
|
||||||
mv out/_remixicon.css out/remixicon.css
|
mv out/_remixicon.css out/remixicon.css
|
||||||
cp ../static/* out/
|
cp -r ../static/* out/
|
||||||
node inject.js
|
node inject.js
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
@ -22,10 +22,10 @@ debug:
|
|||||||
-rm -r tempts
|
-rm -r tempts
|
||||||
cp -r ts tempts
|
cp -r ts tempts
|
||||||
../scripts/dark-variant.sh tempts
|
../scripts/dark-variant.sh tempts
|
||||||
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --minify
|
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --external:../fonts/hanken* --minify
|
||||||
npx esbuild --target=es6 --bundle ts/main.ts --sourcemap --outfile=out/main.js --minify
|
npx esbuild --target=es6 --bundle ts/main.ts --sourcemap --outfile=out/main.js --minify
|
||||||
npx tailwindcss -c tailwind.config.js -i out/bundle.css -o out/bundle.css
|
npx tailwindcss -c tailwind.config.js -i out/bundle.css -o out/bundle.css
|
||||||
cp ../static/* out/
|
cp -r ../static/* out/
|
||||||
|
|
||||||
monitor:
|
monitor:
|
||||||
npx live-server --watch=out --open=out/index.html &
|
npx live-server --watch=out --open=out/index.html &
|
||||||
|
@ -21,7 +21,8 @@
|
|||||||
<div class="relative mx-auto my-[10%] w-4/5 lg:w-2/3 content card">
|
<div class="relative mx-auto my-[10%] w-4/5 lg:w-2/3 content card">
|
||||||
<span class="heading"> Debian/Ubuntu (apt)</span>
|
<span class="heading"> Debian/Ubuntu (apt)</span>
|
||||||
<div class="mt-1">
|
<div class="mt-1">
|
||||||
<pre style="margin: 0; line-height: 125%">curl https://apt.hrfee.dev/hrfee.pubkey.gpg | sudo apt-key add -
|
<pre style="margin: 0; line-height: 125%">sudo apt-get update && sudo apt-get install curl apt-transport-https gnupg
|
||||||
|
curl https://apt.hrfee.dev/hrfee.pubkey.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.hrfee.dev.gpg
|
||||||
|
|
||||||
echo <span style="color: #aa5500">"deb https://apt.hrfee.dev trusty<span id="deb-unstable" class="unfocused">-unstable</span> main"</span> | sudo tee /etc/apt/sources.list.d/hrfee.list
|
echo <span style="color: #aa5500">"deb https://apt.hrfee.dev trusty<span id="deb-unstable" class="unfocused">-unstable</span> main"</span> | sudo tee /etc/apt/sources.list.d/hrfee.list
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user