add - loading spinner, administration, navbar modfications

This commit is contained in:
eric committed 2022-12-07 15:11:50 +01:00
1 parent 6a10740307
commit 27187c6c68
28 files changed
+886 -116

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ export const generateGains = async () => {
const gainCreated = await prisma.gain.create({
data: {
codeCadeau: randomNoGain,
codeActif: true,
retrait: false
}
})
+11 -9
View File
@@ -4,17 +4,19 @@ export const userData: Prisma.UserCreateInput[] = [
{
name: 'Alice',
email: 'alice@prisma.io',
createdAt: new Date(),
role: 'USER'
},
{
name: 'Nilu',
email: 'nilu@prisma.io',
name: 'John',
email: 'john@prisma.io',
createdAt: new Date(),
role: 'SELLER'
},
},
{
name: 'Mahmoud',
email: 'mahmoud@prisma.io',
},
{
name: 'Mosse',
email: 'mosse@prisma.io',
createdAt: new Date(),
role: 'USER'
},
]