diff --git a/assets/images/tab-icons/chemistry.svg b/assets/images/tab-icons/chemistry.svg index a8e2c14..a21576f 100644 --- a/assets/images/tab-icons/chemistry.svg +++ b/assets/images/tab-icons/chemistry.svg @@ -1,7 +1,22 @@ - - + + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/construction.svg b/assets/images/tab-icons/construction.svg new file mode 100644 index 0000000..1d1748a --- /dev/null +++ b/assets/images/tab-icons/construction.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/genetics.svg b/assets/images/tab-icons/genetics.svg new file mode 100644 index 0000000..3dd6907 --- /dev/null +++ b/assets/images/tab-icons/genetics.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/ghetto.svg b/assets/images/tab-icons/ghetto.svg new file mode 100644 index 0000000..501926d --- /dev/null +++ b/assets/images/tab-icons/ghetto.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/grenade.svg b/assets/images/tab-icons/grenade.svg new file mode 100644 index 0000000..36e74c9 --- /dev/null +++ b/assets/images/tab-icons/grenade.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/medicine.svg b/assets/images/tab-icons/medicine.svg index 45094e0..33c8dd3 100644 --- a/assets/images/tab-icons/medicine.svg +++ b/assets/images/tab-icons/medicine.svg @@ -2,8 +2,23 @@ - + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/plumbing.svg b/assets/images/tab-icons/plumbing.svg index c122774..f75e6c9 100644 --- a/assets/images/tab-icons/plumbing.svg +++ b/assets/images/tab-icons/plumbing.svg @@ -1,12 +1,28 @@ - + - - + + + + - - + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/power.svg b/assets/images/tab-icons/power.svg new file mode 100644 index 0000000..9d159b3 --- /dev/null +++ b/assets/images/tab-icons/power.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/surgery.svg b/assets/images/tab-icons/surgery.svg new file mode 100644 index 0000000..939a58b --- /dev/null +++ b/assets/images/tab-icons/surgery.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/trauma.svg b/assets/images/tab-icons/trauma.svg new file mode 100644 index 0000000..086026a --- /dev/null +++ b/assets/images/tab-icons/trauma.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/unknown.svg b/assets/images/tab-icons/unknown.svg index 0d8e44c..353abdb 100644 --- a/assets/images/tab-icons/unknown.svg +++ b/assets/images/tab-icons/unknown.svg @@ -2,14 +2,26 @@ - - + + + + + + + + + + - - + - - + + + + + + + diff --git a/assets/images/tab-icons/virus.svg b/assets/images/tab-icons/virus.svg new file mode 100644 index 0000000..fe8d6f1 --- /dev/null +++ b/assets/images/tab-icons/virus.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/tab-icons/wound.svg b/assets/images/tab-icons/wound.svg new file mode 100644 index 0000000..aa02eec --- /dev/null +++ b/assets/images/tab-icons/wound.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/projectfiles/icons.afdesign b/assets/projectfiles/icons.afdesign index 3a2f7c4..8e12f18 100644 Binary files a/assets/projectfiles/icons.afdesign and b/assets/projectfiles/icons.afdesign differ diff --git a/index.html b/index.html index 9ede1f2..bf0d605 100644 --- a/index.html +++ b/index.html @@ -35,11 +35,6 @@ href="assets/fonts/iosevka/iosevka-aile.css" as="style" /> - diff --git a/src/sections.ts b/src/sections.ts index fa82b93..cdcc594 100644 --- a/src/sections.ts +++ b/src/sections.ts @@ -4,29 +4,58 @@ import chemistry from "~/assets/images/tab-icons/chemistry.svg"; import medicine from "~/assets/images/tab-icons/medicine.svg"; // @ts-expect-error: Parcel image import import plumbing from "~/assets/images/tab-icons/plumbing.svg"; +// @ts-expect-error: Parcel image import +import grenade from "~/assets/images/tab-icons/grenade.svg"; +// @ts-expect-error: Parcel image import +import genetics from "~/assets/images/tab-icons/genetics.svg"; +// @ts-expect-error: Parcel image import +import virus from "~/assets/images/tab-icons/virus.svg"; +// @ts-expect-error: Parcel image import +import surgery from "~/assets/images/tab-icons/surgery.svg"; +// @ts-expect-error: Parcel image import +import trauma from "~/assets/images/tab-icons/trauma.svg"; +// @ts-expect-error: Parcel image import +import wound from "~/assets/images/tab-icons/wound.svg"; +// @ts-expect-error: Parcel image import +import ghetto from "~/assets/images/tab-icons/ghetto.svg"; +// @ts-expect-error: Parcel image import +import construction from "~/assets/images/tab-icons/construction.svg"; +// @ts-expect-error: Parcel image import +import power from "~/assets/images/tab-icons/power.svg"; -const sections = [ +export interface SectionInfo { + name: string; + tabs: TabInfo[]; +} + +export interface TabInfo { + page: string; + icon: string | null; + text?: string; +} + +const sections: SectionInfo[] = [ { name: "Medical", tabs: [ { page: "Guide_to_medicine", icon: medicine }, { page: "Guide_to_chemistry", icon: chemistry }, { page: "Guide_to_plumbing", icon: plumbing }, - { page: "Grenade", text: "nade", icon: null }, - { page: "Guide_to_genetics", icon: null }, - { page: "Infections", text: "virus", icon: null }, - { page: "Surgery", icon: null }, - { page: "Guide_to_Traumas", text: "trauma", icon: null }, - { page: "Guide_to_Wounds", text: "wound", icon: null }, - { page: "Guide_to_Ghetto_Chemistry", text: "ghetto", icon: null }, + { page: "Grenade", text: "nade", icon: grenade }, + { page: "Guide_to_genetics", icon: genetics }, + { page: "Infections", text: "virus", icon: virus }, + { page: "Surgery", icon: surgery }, + { page: "Guide_to_Traumas", text: "trauma", icon: trauma }, + { page: "Guide_to_Wounds", text: "wound", icon: wound }, + { page: "Guide_to_Ghetto_Chemistry", text: "ghetto", icon: ghetto }, ], }, { name: "Engineering", tabs: [ - { page: "Guide_to_construction", icon: null }, + { page: "Guide_to_construction", icon: construction }, { page: "Machines", icon: null }, - { page: "Guide_to_power", text: "power", icon: null }, + { page: "Guide_to_power", text: "power", icon: power }, { page: "Solars", text: "solar", icon: null }, { page: "Guide_to_the_Supermatter", text: "smatt", icon: null }, { page: "Singularity_and_Tesla_engines", text: "sing/tesl", icon: null }, @@ -78,19 +107,17 @@ const sections = [ { name: "Other", tabs: [ - { page: "Ai_Modules", text: "aimo", icon: null }, - { page: "Silicon_Policy", text: "sipo", icon: null }, + { page: "Rules", text: "rules", icon: null }, + { page: "AI_modules", text: "aimo", icon: null }, { page: "Guide_to_Awesome_Miscellaneous_Stuff", text: "misc", icon: null, }, - { page: "Creatures", icon: null }, { page: "Critters", icon: null }, { page: "Guide_to_races", icon: null }, { page: "Guide_to_food_and_drinks", text: "food", icon: null }, { page: "Guide_to_hydroponics", icon: null }, - { page: "Guide_to_plants", icon: null }, { page: "Songs", icon: null }, { page: "Supply_crates", icon: null }, { page: "Auxiliary_Base_Construction", text: "aux", icon: null },