WIP: add lifestyle block
This commit is contained in:
19
app/home/(user)/_components/ai/life-style-card.tsx
Normal file
19
app/home/(user)/_components/ai/life-style-card.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
'use server';
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import { Card } from '@kit/ui/shadcn/card';
|
||||
|
||||
import { loadLifeStyle } from '../../_lib/server/load-life-style';
|
||||
|
||||
const LifeStyleCard = async () => {
|
||||
const data = await loadLifeStyle();
|
||||
|
||||
return (
|
||||
<Card variant="gradient-success" className="flex flex-col justify-between">
|
||||
Test
|
||||
</Card>
|
||||
);
|
||||
};
|
||||
|
||||
export default LifeStyleCard;
|
||||
Reference in New Issue
Block a user