From 7cc9a451c233f2a9c915c5843211892323460afb Mon Sep 17 00:00:00 2001 From: Jarrod Norwell Date: Sun, 8 Sep 2024 15:47:05 +0800 Subject: [PATCH] Added upcoming changes --- src/NewHome/NewHome.tsx | 81 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 2 deletions(-) diff --git a/src/NewHome/NewHome.tsx b/src/NewHome/NewHome.tsx index 82133f0..4edb671 100644 --- a/src/NewHome/NewHome.tsx +++ b/src/NewHome/NewHome.tsx @@ -1,12 +1,83 @@ import '@mantine/core/styles.css'; import { - Anchor, Button, Flex, - MantineProvider, + Anchor, Button, Flex, Group, Badge, + MantineProvider, List, Accordion, Stack, Text, Title } from '@mantine/core'; import { theme } from '../theme'; export default function NewHome() { + const changes = [ + { + text: 'v1.9', + isLatest: false, + isUpcoming: true, + details: [ + { + secondaryText: 'Added automatic hiding and showing of the on-screen controller when a physical controller is connected and disconnected', + tertiaryText: null + }, + { + secondaryText: 'Added support for the front camera in the Cytrus core', + tertiaryText: null + }, + { + secondaryText: 'Added YUV422 support for both the front and rear cameras in the Cytrus core', + tertiaryText: null + }, + { + secondaryText: 'Added an archive feature that will back up and reset the documents directory every major release to ensure a smooth transition between releases', + tertiaryText: 'archive.zip will contain the currently available core folders, this can be moved out of the documents directory, extracted on-device and used with the latest release' + }, + { + secondaryText: 'Changed how several features are handled improving support for both iPad and iPhone', + tertiaryText: null + }, + { + secondaryText: 'Fixed crashing when using Sign in with Apple or Skip due to a damaged documents directory', + tertiaryText: null + }, + { + secondaryText: 'Sorted games within the library screen alphabetically', + tertiaryText: null + } + ] + } + ]; + + const items = changes.map((item) => { + const listItems = item.details.map((detail) => ( + + + {detail.secondaryText} + + + + )); + + return ( + + + + + {item.text} + + + {item.isLatest ? 'Latest' : item.isUpcoming ? 'Upcoming' : 'Latest'} + + + + + + {listItems} + + + + ); + }); + return ( @@ -27,6 +98,12 @@ export default function NewHome() { + + Changes + + + {items} +