feat: static unirse

This commit is contained in:
2023-10-06 12:27:28 -06:00
parent 33a3e7bb70
commit b01e211acb
22 changed files with 722 additions and 54 deletions
+9 -1
View File
@@ -2,9 +2,17 @@ import Clanes from '@/app/Clanes'
import Hero from '@/app/Hero'
import Social from '@/app/Social'
import Team from '@/app/Team'
import { ensureRoles } from '@/services/backend/roles'
import { ensureTeamApplyCollection } from '@/services/backend/teamApply'
import { type FC } from 'react'
const HomePage: FC = () => {
const ensureAll = async (): Promise<void> => {
await ensureRoles()
await ensureTeamApplyCollection()
}
const HomePage: FC = async () => {
await ensureAll()
return (
<>
<Hero />