diff --git a/index.html b/index.html index b5dea4c..6b55d87 100644 --- a/index.html +++ b/index.html @@ -41,6 +41,10 @@ + + + + Profectus diff --git a/public/heart_small.png b/public/heart_small.png new file mode 100644 index 0000000..99ffb75 Binary files /dev/null and b/public/heart_small.png differ diff --git a/public/money_small.png b/public/money_small.png new file mode 100644 index 0000000..77bf532 Binary files /dev/null and b/public/money_small.png differ diff --git a/public/presence_small.png b/public/presence_small.png new file mode 100644 index 0000000..819984a Binary files /dev/null and b/public/presence_small.png differ diff --git a/public/wins_small.png b/public/wins_small.png new file mode 100644 index 0000000..3b2f564 Binary files /dev/null and b/public/wins_small.png differ diff --git a/src/App.vue b/src/App.vue index ac8f8fe..605d0b1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,32 +6,78 @@ + + + + + diff --git a/src/components/Nav.vue b/src/components/Nav.vue index d9a2478..acc046b 100644 --- a/src/components/Nav.vue +++ b/src/components/Nav.vue @@ -36,6 +36,11 @@ info +
+ + help + +
settings @@ -92,6 +97,7 @@ import Changelog from "data/Changelog.vue"; import projInfo from "data/projInfo.json"; import Tooltip from "features/tooltips/Tooltip.vue"; +import settings from "game/settings"; import { Direction } from "util/common"; import type { ComponentPublicInstance } from "vue"; import { ref } from "vue"; diff --git a/src/features/tabs/TabButton.vue b/src/features/tabs/TabButton.vue index 2b4991f..08dc534 100644 --- a/src/features/tabs/TabButton.vue +++ b/src/features/tabs/TabButton.vue @@ -80,9 +80,9 @@ export default defineComponent({ .tabButton { background-color: transparent; color: var(--foreground); - font-size: 20px; + font-size: 14px; cursor: pointer; - padding: 5px 20px; + padding: 5px 10px; margin: 5px; border-radius: 5px; border: 2px solid; diff --git a/src/game/settings.ts b/src/game/settings.ts index 4f62599..bc6c014 100644 --- a/src/game/settings.ts +++ b/src/game/settings.ts @@ -22,6 +22,7 @@ export interface Settings { alignUnits: boolean; autoplay: boolean; fast: boolean; + showTutorial: boolean; } const state = reactive>({ @@ -32,7 +33,8 @@ const state = reactive>({ unthrottled: false, alignUnits: false, autoplay: false, - fast: false + fast: false, + showTutorial: true }); watch(