mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 07:37:10 +00:00
Add resource pack generators: blockstates and model
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
import config from '../../config.json'
|
||||
import { ToolCard } from '../components'
|
||||
import { locale } from '../Locales'
|
||||
import { cleanUrl } from '../Utils'
|
||||
|
||||
type WorldgenProps = {
|
||||
lang: string,
|
||||
changeTitle: (title: string) => unknown,
|
||||
path?: string,
|
||||
}
|
||||
export function Worldgen({ lang, changeTitle }: WorldgenProps) {
|
||||
const loc = locale.bind(null, lang)
|
||||
changeTitle(loc('title.generator_category', loc('worldgen')))
|
||||
return <main>
|
||||
<div class="home">
|
||||
{config.generators.filter(g => g.category === 'worldgen').map(g =>
|
||||
<ToolCard title={loc(g.id)} link={cleanUrl(g.url)} />
|
||||
)}
|
||||
</div>
|
||||
</main>
|
||||
}
|
||||
Reference in New Issue
Block a user