Resize and rename sections
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Hamcha 2020-06-19 20:43:58 +02:00
parent 32c69ee4ca
commit 4198faa4b7
Signed by: hamcha
GPG key ID: 41467804B19A3315
3 changed files with 28 additions and 33 deletions

View file

@ -53,13 +53,13 @@ steps:
depends_on: depends_on:
- dependencies - dependencies
- name: build_master - name: build_branch
image: node image: node
commands: commands:
- yarn build - yarn build
environment: environment:
SUBPATH: /tghandbook/latest SUBPATH: /tghandbook/${DRONE_COMMIT_BRANCH/\//_}
OUTDIR: ./dist-master OUTDIR: ./dist-branch
when: when:
event: event:
- push - push
@ -106,7 +106,7 @@ steps:
depends_on: depends_on:
- build_pr - build_pr
- name: upload_build_master - name: upload_build_branch
image: plugins/s3 image: plugins/s3
settings: settings:
bucket: tghandbook bucket: tghandbook
@ -114,18 +114,16 @@ steps:
from_secret: minio_access from_secret: minio_access
secret_key: secret_key:
from_secret: minio_secret from_secret: minio_secret
source: dist-master/**/* source: dist-branch/**/*
target: /latest/ target: /${DRONE_COMMIT_BRANCH/\//_}/
strip_prefix: dist-master/ strip_prefix: dist-branch/
path_style: true path_style: true
endpoint: https://artifacts.fromouter.space endpoint: https://artifacts.fromouter.space
when: when:
event: event:
- push - push
branch:
- master
depends_on: depends_on:
- build_master - build_branch
- name: rebuild-cache - name: rebuild-cache
image: drillster/drone-volume-cache image: drillster/drone-volume-cache
@ -146,4 +144,4 @@ volumes:
path: /opt/gitea/drone-cache/hamcha/tghandbook path: /opt/gitea/drone-cache/hamcha/tghandbook
--- ---
kind: signature kind: signature
hmac: 9f4b08596bdaa078a6c60fc63d932084bab117c340a310903bbe96f31c0122bb hmac: 95ed9609f0ead6f8b59dbee87b8f0a5d1e68fe8eb264fbc6410a314a7289ffff

View file

@ -8,31 +8,26 @@ const sections = [
{ page: "Guide_to_medicine", icon: null }, { page: "Guide_to_medicine", icon: null },
{ page: "Guide_to_chemistry", icon: chemistry }, { page: "Guide_to_chemistry", icon: chemistry },
{ page: "Guide_to_plumbing", icon: null }, { page: "Guide_to_plumbing", icon: null },
{ page: "Grenade", icon: null }, { page: "Grenade", text: "nade", icon: null },
{ page: "Guide_to_genetics", icon: null }, { page: "Guide_to_genetics", icon: null },
{ page: "Infections", text: "VIRS", icon: null }, { page: "Infections", text: "virus", icon: null },
{ page: "Surgery", icon: null }, { page: "Surgery", icon: null },
{ page: "Guide_to_Traumas", icon: null }, { page: "Guide_to_Traumas", text: "trauma", icon: null },
{ page: "Guide_to_Wounds", icon: null }, { page: "Guide_to_Wounds", text: "wound", icon: null },
{ page: "Guide_to_Ghetto_Chemistry", text: "ghet", icon: null }, { page: "Guide_to_Ghetto_Chemistry", text: "ghetto", icon: null },
], ],
}, },
{ {
name: "Engineering", name: "Engineering",
tabs: [ tabs: [
{ page: "Guide_to_construction", icon: null }, { page: "Guide_to_construction", icon: null },
{ { page: "Machines", icon: null },
page: "Guide_to_advanced_construction", { page: "Guide_to_power", text: "power", icon: null },
text: "mach", { page: "Solars", text: "solar", icon: null },
icon: null, { page: "Guide_to_the_Supermatter", text: "smatt", icon: null },
}, { page: "Singularity_and_Tesla_engines", text: "sing/tesl", icon: null },
{ page: "Solars", icon: null },
{ page: "Guide_to_the_Supermatter", text: "SUPM", icon: null },
{ page: "Singularity_Engine", text: "SING", icon: null },
{ page: "Tesla_Engine", text: "TESL", icon: null },
{ page: "Gas_turbine", text: "GAS", icon: null }, { page: "Gas_turbine", text: "GAS", icon: null },
{ page: "Guide_to_power", icon: null }, { page: "Guide_to_Atmospherics", text: "atmos", icon: null },
{ page: "Guide_to_Atmospherics", icon: null },
{ page: "Guide_to_Telecommunications", icon: null, text: "tcomm" }, { page: "Guide_to_Telecommunications", icon: null, text: "tcomm" },
], ],
}, },
@ -41,20 +36,20 @@ const sections = [
tabs: [ tabs: [
{ page: "Guide_to_Research_and_Development", text: "R&D", icon: null }, { page: "Guide_to_Research_and_Development", text: "R&D", icon: null },
{ page: "Guide_to_robotics", icon: null }, { page: "Guide_to_robotics", icon: null },
{ page: "Guide_to_toxins", icon: null }, { page: "Guide_to_toxins", text: "toxin", icon: null },
{ page: "Guide_to_xenobiology", icon: null }, { page: "Guide_to_xenobiology", icon: null },
{ page: "Guide_to_genetics", icon: null }, { page: "Guide_to_genetics", icon: null },
{ page: "Guide_to_telescience", icon: null }, { page: "Guide_to_telescience", icon: null },
{ page: "Guide_to_Nanites", icon: null }, { page: "Guide_to_Nanites", text: "nanite", icon: null },
], ],
}, },
{ {
name: "Security", name: "Security",
tabs: [ tabs: [
{ page: "Guide_to_security", icon: null }, { page: "Guide_to_security", text: "security", icon: null },
{ page: "Space_Law", text: "LAW", icon: null }, { page: "Space_Law", text: "space law", icon: null },
{ page: "Standard_Operating_Procedure", text: "SOP", icon: null }, { page: "Standard_Operating_Procedure", text: "S.O.P.", icon: null },
{ page: "Guide_to_Trials", icon: null }, { page: "Guide_to_Trials", text: "trials", icon: null },
], ],
}, },
{ {

View file

@ -175,6 +175,8 @@ $tab-active: lighten($nanotrasen, 10%);
padding: 2px 4px; padding: 2px 4px;
padding-bottom: 0; padding-bottom: 0;
text-transform: uppercase; text-transform: uppercase;
flex: 1;
max-width: 100px;
img { img {
height: 80%; height: 80%;