diff --git a/package.json b/package.json index 4e1f2199..d9b4444a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tof-tools", - "version": "3.11.0", + "version": "3.12.0", "private": true, "scripts": { "dev": "next dev", diff --git a/pages/damage-calculator.tsx b/pages/damage-calculator.tsx index 74cfd56a..ac111474 100644 --- a/pages/damage-calculator.tsx +++ b/pages/damage-calculator.tsx @@ -7,7 +7,7 @@ export default function DamageCalculatorPage() { return ( <> - ToF Damage Calculator + Damage Calculator | Tower of Fantasy Tools diff --git a/pages/gear-comparer.tsx b/pages/gear-comparer.tsx index dd701927..8e5bfb76 100644 --- a/pages/gear-comparer.tsx +++ b/pages/gear-comparer.tsx @@ -13,7 +13,7 @@ export default function GearComparerPage() { return ( <> - ToF Gear Comparer + Compare Gear | Tower of Fantasy Tools diff --git a/pages/index.tsx b/pages/index.tsx index 981e3caa..2916b5b8 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -5,7 +5,7 @@ export default function Home() { return ( <> - ToF tools + Tower of Fantasy Tools diff --git a/pages/links.tsx b/pages/links.tsx new file mode 100644 index 00000000..69d63e64 --- /dev/null +++ b/pages/links.tsx @@ -0,0 +1,82 @@ +import CalculateIcon from '@mui/icons-material/Calculate'; +import MapRoundedIcon from '@mui/icons-material/MapRounded'; +import MenuBookRoundedIcon from '@mui/icons-material/MenuBookRounded'; +import { + Container, + List, + ListItemButton, + ListItemIcon, + ListItemText, + Paper, + Typography, +} from '@mui/material'; +import Head from 'next/head'; +import type { ReactNode } from 'react'; + +const links: { + title: string; + description: string; + href: string; + icon: ReactNode; +}[] = [ + { + title: "Maygi's Team DPS Calculator", + description: + 'Calculator for analyzing frame data, finding optimal combos, and theorycrafting team comps', + href: 'https://docs.google.com/spreadsheets/d/1ZrJokNh_0AF_9welc7Etz6K8jlpzi5bXpiWz-mQZa78/edit#gid=1482052592', + icon: , + }, + { + title: 'Tower of Fantasy Index', + description: + 'Community online resource for Global and Chinese versions of the game', + href: 'https://toweroffantasy.info/', + icon: , + }, + { + title: 'Tower of Fantasy Wiki', + description: + 'Community wiki - English resource centered around the Global version of the game', + href: 'https://toweroffantasy.fandom.com', + icon: , + }, + { + title: 'Tower of Fantasy Interactive Map', + description: '', + href: 'https://toweroffantasy.interactivemap.app/', + icon: , + }, + { + title: 'Tower of Fantasy Interactive Map', + description: + 'Another interactive map based off the Chinese version of the game', + href: 'https://www.ghzs666.com/tower-of-fantasy-map#/', + icon: , + }, +]; + +export default function LinksPage() { + return ( + <> + + Useful Links | Tower of Fantasy Tools + + + + + + {links.map(({ title, description, href, icon }, index) => ( + + {icon} + {title}} + secondary={description} + /> + + ))} + + + + + ); +} diff --git a/pages/loadouts.tsx b/pages/loadouts.tsx index 13447652..b7884c2b 100644 --- a/pages/loadouts.tsx +++ b/pages/loadouts.tsx @@ -13,7 +13,7 @@ export default function LoadoutsPage() { return ( <> - ToF Loadouts + Loadouts | Tower of Fantasy Tools diff --git a/pages/settings.tsx b/pages/settings.tsx index f5e5d8c0..5a612e4f 100644 --- a/pages/settings.tsx +++ b/pages/settings.tsx @@ -7,7 +7,7 @@ export default function StatsPage() { return ( <> - ToF tools settings + Settings | Tower of Fantasy Tools diff --git a/pages/stats.tsx b/pages/stats.tsx index 4217ad69..6ca4498c 100644 --- a/pages/stats.tsx +++ b/pages/stats.tsx @@ -9,7 +9,7 @@ export default function StatsPage() { return ( <> - ToF Stats stuff + Stats Stuff | Tower of Fantasy Tools diff --git a/src/components/Navbar/Navbar.tsx b/src/components/Navbar/Navbar.tsx index 96c2f339..55f76f8a 100644 --- a/src/components/Navbar/Navbar.tsx +++ b/src/components/Navbar/Navbar.tsx @@ -20,7 +20,7 @@ const pages: { label: string; path: string }[] = [ path: '/loadouts', }, { - label: 'Gear comparer', + label: 'Compare Gear', path: '/gear-comparer', }, { @@ -31,6 +31,10 @@ const pages: { label: string; path: string }[] = [ label: 'Settings', path: '/settings', }, + { + label: 'Useful Links', + path: '/links', + }, ]; export function Navbar() { diff --git a/src/constants/changelog.tsx b/src/constants/changelog.tsx index ce664268..286508a2 100644 --- a/src/constants/changelog.tsx +++ b/src/constants/changelog.tsx @@ -196,4 +196,9 @@ export const changelog: Changelog = [ date: new Date(Date.UTC(2024, 2, 13)), title: 'Add Asuka', }, + { + semver: '3.12.0', + date: new Date(Date.UTC(2024, 2, 15)), + title: 'Add a page containing useful links', + }, ];