diff --git a/src/App.module.css b/src/App.module.css index 0bc45e7..9d4b5bb 100644 --- a/src/App.module.css +++ b/src/App.module.css @@ -1,5 +1,5 @@ .root { - border-radius: var(--mantine-radius-md); + border-radius: var(--mantine-radius-lg); background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6)); } @@ -16,7 +16,7 @@ background-color: var(--mantine-color-body); border-color: light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-4)); box-shadow: var(--mantine-shadow-md); - border-radius: var(--mantine-radius-md); + border-radius: var(--mantine-radius-lg); } } diff --git a/src/App.tsx b/src/App.tsx index 865eacf..6382a67 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,29 +1,47 @@ import "@mantine/core/styles.css"; import { Accordion, Anchor, Badge, Button, Container, - Flex, Group, List, MantineProvider, Menu, - Space, Stack, Text, Title, rem + Flex, Group, List, MantineProvider, + Space, Stack, Text, Title } from "@mantine/core"; -import { - IconDeviceMobile, - IconDeviceTablet, - IconDeviceLaptop, - IconCardboards -} from '@tabler/icons-react'; -import { useState } from "react"; import { theme } from "./theme"; import classes from './App.module.css'; export default function App() { const changes = [ { - text: 'v1.0.8', - sha: '450b52f', + text: 'v1.0.9', + sha: 'e56a8a0', isLatest: true, isUpcoming: false, details: [ { system: "Android", + download: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.9/app-mainline-release.apk', + last: true, + items: [ + { + primaryText: 'Added an additional page to the setup flow and button to the settings page allowing users to select a title.keys file', + secondaryText: null + }, + { + primaryText: 'Fixed an issue where the app would crash when installing a DLC or update', + secondaryText: 'Requires both prod.keys and title.keys' + } + ] + } + ] + }, + { + text: 'v1.0.8', + sha: '450b52f', + isLatest: false, + isUpcoming: false, + details: [ + { + system: "Android", + download: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.8/app-mainline-release.apk', + last: false, items: [ { primaryText: 'Improved memory accuracy and sizing', @@ -33,6 +51,8 @@ export default function App() { }, { system: "Windows", + download: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.8/sudachi-windows-v1.0.8.7z', + last: true, items: [ { primaryText: 'Improved memory accuracy and sizing', @@ -50,6 +70,8 @@ export default function App() { details: [ { system: 'Windows', + download: '', + last: true, items: [ { primaryText: 'Fixed an issue in Super Bomberman R 2 that caused the game to not boot due to an error in the Friend service', @@ -74,7 +96,7 @@ export default function App() { ]; const items = changes.map((item) => { - const listItems = item.details.map((detail, index) => { + const listItems = item.details.map((detail) => { const detailItems = detail.items.map((item) => ( <> @@ -94,7 +116,11 @@ export default function App() { {detailItems} - + + + ); }); @@ -123,8 +149,6 @@ export default function App() { ); }); - const [opened, setOpened] = useState(false); - const date = new Date(); return ( @@ -141,9 +165,9 @@ export default function App() { Nintendo Switch emulation without the iffy bits and support for more games - + {/* - + @@ -173,14 +197,14 @@ export default function App() { - + - + */} Changes - + {items}