diff --git a/.github/workflows/build-frontend.yml b/.github/workflows/build-frontend.yml
index cbf3e053c8..316464b648 100644
--- a/.github/workflows/build-frontend.yml
+++ b/.github/workflows/build-frontend.yml
@@ -60,6 +60,7 @@ jobs:
- name: Setup .env
run: |
printf '%s' "$ENVFILE" > apps/frontend/.env.local
+ printf '%s' "$ENVFILE" > apps/zzz-frontend/.env.local
env:
ENVFILE: ${{ vars.ENVFILE }}
- name: Build frontend
diff --git a/.github/workflows/build-new-release.yml b/.github/workflows/build-new-release.yml
index 7d89398040..822cd47f72 100644
--- a/.github/workflows/build-new-release.yml
+++ b/.github/workflows/build-new-release.yml
@@ -39,6 +39,7 @@ jobs:
- name: Setup .env
run: |
printf '%s' "$ENVFILE" > apps/frontend/.env.local
+ printf '%s' "$ENVFILE" > apps/zzz-frontend/.env.local
env:
ENVFILE: ${{ vars.ENVFILE }}
- name: Build genshin-optimizer
diff --git a/apps/zzz-frontend/.env b/apps/zzz-frontend/.env
index bbf1022e1c..840918facb 100644
--- a/apps/zzz-frontend/.env
+++ b/apps/zzz-frontend/.env
@@ -1,2 +1,2 @@
-NX_URL_GITHUB_API_ZZZ_RELEASES=https://api.github.com/repos///releases/tags/
+NX_URL_GITHUB_API_GO_RELEASES=https://api.github.com/repos///releases/tags/
NX_URL_GITHUB_GO_CURRENT_VERSION=
diff --git a/libs/zzz/page-home/src/Roadmap.tsx b/libs/zzz/page-home/src/Roadmap.tsx
new file mode 100644
index 0000000000..552c7b5492
--- /dev/null
+++ b/libs/zzz/page-home/src/Roadmap.tsx
@@ -0,0 +1,180 @@
+import { SqBadge } from '@genshin-optimizer/common/ui'
+import { ZCard } from '@genshin-optimizer/zzz/ui'
+import {
+ CardContent,
+ List,
+ ListItem,
+ ListItemText,
+ Stack,
+ Typography,
+} from '@mui/material'
+
+export function Roadmap() {
+ return (
+
+
+
+
+ π
+ {' '}
+ Roadmap to ZZZero-maxxing
+
+
+
+
+
+ {/* Milestone 1 */}
+
+
+ π―
+ {' '}
+ Milestone 1: MVPish COMPLETED
+
+
+ A real test of "Whatβs the absolute least I can
+ do and still call it an optimizer?" π€‘
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/* Milestone 2 */}
+
+
+ π‘
+ {' '}
+ Milestone 2: I NEED THIS{' '}
+ COMPLETED
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/* Milestone 3 */}
+
+
+ π
+ {' '}
+ Milestone 3: I WANT THIS.{' '}
+ COMPLETED
+
+
+ Weβre entering premium optimizer experience{' '}
+ territory. π οΈβ¨
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/* Milestone 4: Engine Swap */}
+
+
+ βοΈ
+ {' '}
+ Milestone 4: ENGINE SWAP BABY ππ¨{' '}
+ IN-PROGRESS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/* Milestone 5 */}
+
+
+ π
+ {' '}
+ Milestone 5: Characters ARE Built Different
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ )
+}
diff --git a/libs/zzz/page-home/src/index.tsx b/libs/zzz/page-home/src/index.tsx
index d421ff8b67..5a30807ce0 100644
--- a/libs/zzz/page-home/src/index.tsx
+++ b/libs/zzz/page-home/src/index.tsx
@@ -1,43 +1,22 @@
import { CardThemed } from '@genshin-optimizer/common/ui'
+import { ZCard } from '@genshin-optimizer/zzz/ui'
import DescriptionIcon from '@mui/icons-material/Description'
-import { CardContent, CardHeader, Divider, Typography } from '@mui/material'
-import { Box } from '@mui/system'
+import { CardContent, CardHeader, Stack, Typography } from '@mui/material'
import { useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next'
import ReactMarkdown from 'react-markdown'
import remarkGfm from 'remark-gfm'
+import { Roadmap } from './Roadmap'
declare const __VERSION__: string
export default function PageHome() {
return (
-
-
- I know what this looks like...
-
- This is an Alpha(desperately unfinished) version of{' '}
- Zenless Optimizer. You have to understand, this is
- the result of asking,
-
-
- "What is the most Optimizer I can, if I was cutting corners like it's
- crunch time at a circle factory?" β frzyc, probably
-
-
- I know a lot of stuff isn't implemented, and the stuff that are, are
- super ugly. This is only like{' '}
-
- 10
- {' '}
- 20 hours of coding, cut me some slack.
-
- Have an optimal day,
-
- frzyc
-
-
-
-
-
+
+
+
+
+
+
)
}
@@ -47,7 +26,7 @@ function PatchNotesCard() {
useEffect(() => {
const regex = /^(\d+)\.(\d+)\.(\d+)$/
const minorVersion = __VERSION__.replace(regex, `$1.$2.${0}`)
- fetch(process.env['NX_URL_GITHUB_API_ZZZ_RELEASES'] + minorVersion)
+ fetch(process.env['NX_URL_GITHUB_API_GO_RELEASES'] + minorVersion)
.then((res) => res.arrayBuffer())
.then((buffer) => {
const decoder = new TextDecoder('utf-8')