More Updatesss
This commit is contained in:
@@ -45,7 +45,6 @@ const AccountPage = () => {
|
|||||||
<br />
|
<br />
|
||||||
{userData.medications.map((medication, index) => (
|
{userData.medications.map((medication, index) => (
|
||||||
<div key={index} className="mb-2 grid grid-cols-3 gap-2">
|
<div key={index} className="mb-2 grid grid-cols-3 gap-2">
|
||||||
|
|
||||||
<p>{medication.name}</p>
|
<p>{medication.name}</p>
|
||||||
<p>{medication.dosage}</p>
|
<p>{medication.dosage}</p>
|
||||||
<p>{medication.frequency}</p>
|
<p>{medication.frequency}</p>
|
||||||
@@ -53,7 +52,7 @@ const AccountPage = () => {
|
|||||||
))}
|
))}
|
||||||
<div className="mb-4">
|
<div className="mb-4">
|
||||||
<Label>Diagnoses:</Label>
|
<Label>Diagnoses:</Label>
|
||||||
<p>{userData.diagnoses.join(', ')}</p>
|
<p>{userData.diagnoses ? userData.diagnoses.join(', ') : ''}</p>
|
||||||
</div>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
"use client"
|
"use client"
|
||||||
|
|
||||||
import { Hero } from "@/components/hero";
|
import { Hero } from "@/components/hero";
|
||||||
|
import { Facts } from "@/components/facts";
|
||||||
|
|
||||||
import SignupPage from './signup/page'
|
import SignupPage from './signup/page'
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
@@ -8,7 +9,10 @@ import Link from "next/link";
|
|||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<div className="items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
|
<div className="items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
|
||||||
|
|
||||||
<Hero />
|
<Hero />
|
||||||
|
<Facts />
|
||||||
|
|
||||||
<div style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', height: '100vh' }}>
|
<div style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', height: '100vh' }}>
|
||||||
<h1 style={{ fontSize: 64, marginBottom: 20 }}>Welcome to Hoya</h1>
|
<h1 style={{ fontSize: 64, marginBottom: 20 }}>Welcome to Hoya</h1>
|
||||||
<SignupPage />
|
<SignupPage />
|
||||||
|
|||||||
19
src/components/facts.tsx
Normal file
19
src/components/facts.tsx
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
"use client"
|
||||||
|
import { Card, CardContent } from "./ui/card"
|
||||||
|
|
||||||
|
export function Facts() {
|
||||||
|
return (
|
||||||
|
<section className="mx-auto my-auto bg-white dark:bg-gray-900">
|
||||||
|
<Card>
|
||||||
|
<CardContent>
|
||||||
|
<h2>
|
||||||
|
OUR MISSION
|
||||||
|
</h2>
|
||||||
|
At PostCare we want to ensure the health of those throughout the world.
|
||||||
|
Our goal is to make sure that our services can ensure clarity and accessibility
|
||||||
|
<center>As well as a smooth experience</center>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
"use client"
|
"use client"
|
||||||
import { Card } from "./ui/card"
|
|
||||||
import Link from "next/link"
|
import Link from "next/link"
|
||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "@/components/ui/button"
|
||||||
|
|
||||||
@@ -35,17 +35,7 @@ export function Hero() {
|
|||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<Card>
|
|
||||||
<h2>
|
|
||||||
OUR MISSION
|
|
||||||
</h2>
|
|
||||||
At PostCare we want to ensure the health of those throughout the world.
|
|
||||||
Our goal is to make sure that our services can ensure clarity and accessibility
|
|
||||||
<center>As well as a smooth experience</center>
|
|
||||||
</Card>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user