Updated website to include latest changes and remove downloads
Some checks failed
Deploy to Firebase Hosting on merge / build_and_deploy (push) Has been cancelled

This commit is contained in:
Jarrod Norwell 2025-06-24 02:57:15 +07:00
parent 33f5808d8f
commit 4f68b1eb37
5 changed files with 1287 additions and 1409 deletions

1519
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -24,7 +24,7 @@
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1", "@typescript-eslint/parser": "^7.13.1",
"@vanilla-extract/vite-plugin": "^4.0.11", "@vanilla-extract/vite-plugin": "^5.0.7",
"@vitejs/plugin-react": "^4.3.1", "@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-hooks": "^4.6.2",
@ -33,7 +33,7 @@
"postcss-preset-mantine": "1.15.0", "postcss-preset-mantine": "1.15.0",
"postcss-simple-vars": "^7.0.1", "postcss-simple-vars": "^7.0.1",
"typescript": "^5.5.2", "typescript": "^5.5.2",
"vite": "^5.3.1" "vite": "^6.3.5"
}, },
"packageManager": "yarn@4.3.1" "packageManager": "yarn@4.3.1"
} }

View file

@ -1,7 +1,7 @@
import "@mantine/core/styles.css"; import "@mantine/core/styles.css";
import { import {
Accordion, Anchor, Badge, Button, Container, Accordion,
Flex, Anchor, Badge, Center, Flex,
Group, Group,
List, List,
MantineProvider, MantineProvider,
@ -11,6 +11,139 @@ import {
import { theme } from "./theme"; import { theme } from "./theme";
export default function App() { export default function App() {
const changes = [
{
text: 'Latest Changes',
secondaryText: 'Updated 20th June 2025',
details: [
{
header: 'Added',
items: [
{
title: 'Added missing master_key_* identifiers from 0x0B to 0x13 to include FW 18.0.0+ support',
subtitle: ''
},
{
title: 'Added AliasRegionExtraSize to Kernel, ProgramMetadata and SVC to include FW 18.0.0+ support',
subtitle: ''
}
]
},
{
header: 'Changed',
items: [
{
title: 'Rewrote the AppletAE, MM:U and NVMEMP services to improve accuracy',
subtitle: ''
},
{
title: 'Rewrote the RawNACP structure to improve accuracy and include FW 20.0.0+ support',
subtitle: ''
}
]
},
{
header: 'Deprecated',
items: []
},
{
header: 'Fixed',
items: [
{
title: 'Fixed compilation errors and issues with Mbed-TLS',
subtitle: ''
}
]
},
{
header: 'Removed',
items: []
},
{
header: 'Security',
items: []
}
]
}
]
const items = changes.map((item) => {
return (
<Accordion.Item key={item.text} value={item.text}>
<Accordion.Control>
<Group justify={'space-between'} mr={'sm'}>
<Text>
{item.text}
</Text>
<Text c={'dimmed'}>
{item.secondaryText}
</Text>
</Group>
</Accordion.Control>
<Accordion.Panel mr={'md'}>
{
item.details.map((detail, index) => (
<>
<Title order={2}>
{detail.header}
</Title>
<List>
{
detail.items.length == 0 ? (
<Text c={'dimmed'}>Unchanged</Text>
) : (
detail.items.map((item) => (
<List.Item>
<Text c={'dimmed'}>
{item.title}
</Text>
</List.Item>
))
)
}
</List>
<Space h={index == item.details.length - 1 ? 0 : 'md'} />
</>
))
}
</Accordion.Panel>
</Accordion.Item>
)
})
const date = new Date()
return (
<MantineProvider theme={theme} forceColorScheme={date.getHours() >= 7 && date.getHours() <= 19 ? 'light' : 'dark'}>
<Flex align={'center'} h={'100vh'} justify={'center'} mx={'md'}>
<Stack>
<Anchor href='https://twitter.com/getsudachiemu' target={'_blank'}>
<Text c={theme.primaryColor} ta={'center'}>
@getsudachiemu
</Text>
</Anchor>
<Title order={1} ta={'center'}>
Sudachi, a Nintendo Switch emulator
</Title>
<Center>
<Badge variant={'dot'}>
#a-new-beginning
</Badge>
</Center>
<Text c={'dimmed'} ta={'center'}>
Nintendo Switch emulation focusing on accuracy, performance and support
</Text>
<Space h={'md'} />
<Accordion radius={'lg'} variant={'contained'}>
{items}
</Accordion>
</Stack>
</Flex>
</MantineProvider>
)
}
/*export default function App() {
const changes = [ const changes = [
{ {
version: 'v1.0.15', version: 'v1.0.15',
@ -209,4 +342,4 @@ export default function App() {
</Container> </Container>
</MantineProvider> </MantineProvider>
) )
} }*/

View file

@ -2,6 +2,6 @@ import { createTheme } from "@mantine/core";
import { themeToVars } from "@mantine/vanilla-extract"; import { themeToVars } from "@mantine/vanilla-extract";
export const theme = createTheme({ export const theme = createTheme({
primaryColor: 'violet' primaryColor: 'green'
}); });
export const vars = themeToVars(theme); export const vars = themeToVars(theme);

1030
yarn.lock

File diff suppressed because it is too large Load diff