diff --git a/src/app/(panels)/suite/patient/account/page.jsx b/src/app/(panels)/suite/patient/account/page.jsx index c14a946..0798117 100644 --- a/src/app/(panels)/suite/patient/account/page.jsx +++ b/src/app/(panels)/suite/patient/account/page.jsx @@ -45,7 +45,6 @@ const AccountPage = () => {
{userData.medications.map((medication, index) => (
-

{medication.name}

{medication.dosage}

{medication.frequency}

@@ -53,7 +52,7 @@ const AccountPage = () => { ))}
-

{userData.diagnoses.join(', ')}

+

{userData.diagnoses ? userData.diagnoses.join(', ') : ''}

diff --git a/src/app/(web)/page.tsx b/src/app/(web)/page.tsx index a5e7fb6..91f3e21 100644 --- a/src/app/(web)/page.tsx +++ b/src/app/(web)/page.tsx @@ -1,6 +1,7 @@ "use client" import { Hero } from "@/components/hero"; +import { Facts } from "@/components/facts"; import SignupPage from './signup/page' import Link from "next/link"; @@ -8,7 +9,10 @@ import Link from "next/link"; export default function Home() { return (
+ + +

Welcome to Hoya

diff --git a/src/components/facts.tsx b/src/components/facts.tsx new file mode 100644 index 0000000..bd75698 --- /dev/null +++ b/src/components/facts.tsx @@ -0,0 +1,19 @@ +"use client" +import { Card, CardContent } from "./ui/card" + +export function Facts() { + return ( +
+ + +

+ OUR MISSION +

+ 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 +
As well as a smooth experience
+
+
+
+ ) +} \ No newline at end of file diff --git a/src/components/hero.tsx b/src/components/hero.tsx index ece82ba..e13ec26 100644 --- a/src/components/hero.tsx +++ b/src/components/hero.tsx @@ -1,5 +1,5 @@ "use client" -import { Card } from "./ui/card" + import Link from "next/link" import { Button } from "@/components/ui/button" @@ -35,17 +35,7 @@ export function Hero() {
- -

- OUR MISSION -

- 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 -
As well as a smooth experience
-
-
- ) } \ No newline at end of file