diff --git a/src/components/Button.svelte b/src/components/Button.svelte new file mode 100644 index 00000000..f2cb7600 --- /dev/null +++ b/src/components/Button.svelte @@ -0,0 +1,8 @@ + + + diff --git a/src/components/Sidebar/Sidebar.svelte b/src/components/Sidebar/Sidebar.svelte index edce7946..47d39bc0 100644 --- a/src/components/Sidebar/Sidebar.svelte +++ b/src/components/Sidebar/Sidebar.svelte @@ -52,8 +52,8 @@ href="/characters" /> + active={segment === 'wish'} + image="/images/wish.png" + label="Wish Counter" + href="/wish" /> diff --git a/src/routes/wish/_counter.svelte b/src/routes/wish/_counter.svelte new file mode 100644 index 00000000..026c6ca3 --- /dev/null +++ b/src/routes/wish/_counter.svelte @@ -0,0 +1,116 @@ + + +
+

{name}

+
+
+ Lifetime Pulls + {total} +
+
+ + 5 + + Pity +
Guaranteed at 90 +
+ {legendary} +
+
+ + 4 + + Pity +
Guaranteed at 10 +
+ {rare} +
+
+ + +
+
+ + + +
+
+
diff --git a/src/routes/wish/index.svelte b/src/routes/wish/index.svelte new file mode 100644 index 00000000..af5ea998 --- /dev/null +++ b/src/routes/wish/index.svelte @@ -0,0 +1,15 @@ + + + + Wish Counter - Paimon.moe + +
+

Wish Counter

+
+ + + +
+
diff --git a/static/images/wish.png b/static/images/wish.png new file mode 100644 index 00000000..7636068a Binary files /dev/null and b/static/images/wish.png differ diff --git a/tailwind.config.js b/tailwind.config.js index 6c4f5562..911f2939 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -20,6 +20,7 @@ module.exports = { 'background-secondary': '#25294A', item: '#2D325A', primary: '#4E7CFF', + button: '#394076', rare: { from: '#AD76B0', to: '#665680',