mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
This commit is contained in:
parent
0c98097abc
commit
6e0204bc49
1 changed files with 5 additions and 1 deletions
|
|
@ -3,6 +3,8 @@ import * as m from 'paraglide/messages'
|
|||
import { DISCORD_DONATOR_ID, DISCORD_GUILD_ID } from 'astro:env/server'
|
||||
import prismaClient from 'utils/prisma-client'
|
||||
|
||||
import BaseLayout from 'layouts/base.astro'
|
||||
|
||||
const { session, user, roles } = Astro.locals
|
||||
|
||||
async function getMessage() {
|
||||
|
|
@ -50,4 +52,6 @@ async function getMessage() {
|
|||
const message = await getMessage()
|
||||
---
|
||||
|
||||
<div>{message}</div>
|
||||
<BaseLayout>
|
||||
<div class='justify-center py-4 flex w-full'>{message}</div>
|
||||
</BaseLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue