💫 Add download module on the main page

This commit is contained in:
ajnart
2022-05-26 18:19:32 +02:00
parent 3a358a229d
commit da31832a1e

View File

@@ -8,6 +8,8 @@ import LoadConfigComponent from '../components/Config/LoadConfig';
import { Config } from '../tools/types'; import { Config } from '../tools/types';
import { useConfig } from '../tools/state'; import { useConfig } from '../tools/state';
import { migrateToIdConfig } from '../tools/migrate'; import { migrateToIdConfig } from '../tools/migrate';
import { ModuleWrapper } from '../components/modules/moduleWrapper';
import { DownloadsModule } from '../components/modules';
export async function getServerSideProps({ export async function getServerSideProps({
req, req,
@@ -55,6 +57,7 @@ export default function HomePage(props: any) {
<> <>
<AppShelf /> <AppShelf />
<LoadConfigComponent /> <LoadConfigComponent />
<ModuleWrapper mt="xl" module={DownloadsModule} />
</> </>
); );
} }