diff --git a/src/app/(main)/testimonials/page.tsx b/src/app/(main)/testimonials/page.tsx new file mode 100644 index 0000000..2ef089b --- /dev/null +++ b/src/app/(main)/testimonials/page.tsx @@ -0,0 +1,34 @@ +import { BeforeFooterBlock } from "@/components/Blocks/BeforeFooter"; +import { GoogleReviewsBlock } from "@/components/Blocks/GoogleReviews"; +import Image from "next/image"; + +export const metadata = { + title: "Testimonials - Cochise Oncology", + description: "Testimonials - Cochise Oncology", +}; + +export default function SlickAboutPage() { + return ( + <> +
+ {/* */} +
+ +
+ {/* */} + +
+
+
+

Testimonials

+
+
+
+
+
+ +
+ + + ); +} diff --git a/src/app/frontend-sample-payload/layout.tsx b/src/app/frontend-sample-payload/layout.tsx deleted file mode 100644 index e7681f7..0000000 --- a/src/app/frontend-sample-payload/layout.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import React from 'react' -import './styles.css' - -export const metadata = { - description: 'A blank template using Payload in a Next.js app.', - title: 'Payload Blank Template', -} - -export default async function RootLayout(props: { children: React.ReactNode }) { - const { children } = props - - return ( - - -
{children}
- - - ) -} diff --git a/src/app/frontend-sample-payload/page.tsx b/src/app/frontend-sample-payload/page.tsx deleted file mode 100644 index d0e8d64..0000000 --- a/src/app/frontend-sample-payload/page.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import { headers as getHeaders } from 'next/headers.js' -import Image from 'next/image' -import { getPayload } from 'payload' -import React from 'react' -import { fileURLToPath } from 'url' - -import config from '@/payload.config' -import './styles.css' - -export default async function HomePage() { - const headers = await getHeaders() - const payloadConfig = await config - const payload = await getPayload({ config: payloadConfig }) - const { user } = await payload.auth({ headers }) - - const fileURL = `vscode://file/${fileURLToPath(import.meta.url)}` - - return ( -
-
- - - Payload Logo - - {!user &&

Welcome to your new project.

} - {user &&

Welcome back, {user.email}

} -
- - Go to admin panel - - - Documentation - -
-
-
-

Update this page by editing

- - app/(frontend)/page.tsx - -
-
- ) -} diff --git a/src/app/frontend-sample-payload/styles.css b/src/app/frontend-sample-payload/styles.css deleted file mode 100644 index d1fb941..0000000 --- a/src/app/frontend-sample-payload/styles.css +++ /dev/null @@ -1,164 +0,0 @@ -:root { - --font-mono: 'Roboto Mono', monospace; -} - -* { - box-sizing: border-box; -} - -html { - font-size: 18px; - line-height: 32px; - - background: rgb(0, 0, 0); - -webkit-font-smoothing: antialiased; -} - -html, -body, -#app { - height: 100%; -} - -body { - font-family: system-ui; - font-size: 18px; - line-height: 32px; - - margin: 0; - color: rgb(1000, 1000, 1000); - - @media (max-width: 1024px) { - font-size: 15px; - line-height: 24px; - } -} - -img { - max-width: 100%; - height: auto; - display: block; -} - -h1 { - margin: 40px 0; - font-size: 64px; - line-height: 70px; - font-weight: bold; - - @media (max-width: 1024px) { - margin: 24px 0; - font-size: 42px; - line-height: 42px; - } - - @media (max-width: 768px) { - font-size: 38px; - line-height: 38px; - } - - @media (max-width: 400px) { - font-size: 32px; - line-height: 32px; - } -} - -p { - margin: 24px 0; - - @media (max-width: 1024px) { - margin: calc(var(--base) * 0.75) 0; - } -} - -a { - color: currentColor; - - &:focus { - opacity: 0.8; - outline: none; - } - - &:active { - opacity: 0.7; - outline: none; - } -} - -svg { - vertical-align: middle; -} - -.home { - display: flex; - flex-direction: column; - justify-content: space-between; - align-items: center; - height: 100vh; - padding: 45px; - max-width: 1024px; - margin: 0 auto; - overflow: hidden; - - @media (max-width: 400px) { - padding: 24px; - } - - .content { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - flex-grow: 1; - - h1 { - text-align: center; - } - } - - .links { - display: flex; - align-items: center; - gap: 12px; - - a { - text-decoration: none; - padding: 0.25rem 0.5rem; - border-radius: 4px; - } - - .admin { - color: rgb(0, 0, 0); - background: rgb(1000, 1000, 1000); - border: 1px solid rgb(0, 0, 0); - } - - .docs { - color: rgb(1000, 1000, 1000); - background: rgb(0, 0, 0); - border: 1px solid rgb(1000, 1000, 1000); - } - } - - .footer { - display: flex; - align-items: center; - gap: 8px; - - @media (max-width: 1024px) { - flex-direction: column; - gap: 6px; - } - - p { - margin: 0; - } - - .codeLink { - text-decoration: none; - padding: 0 0.5rem; - background: rgb(60, 60, 60); - border-radius: 4px; - } - } -} diff --git a/src/app/my-route/route.ts b/src/app/my-route/route.ts deleted file mode 100644 index a6422f3..0000000 --- a/src/app/my-route/route.ts +++ /dev/null @@ -1,14 +0,0 @@ -import configPromise from '@payload-config' -import { getPayload } from 'payload' - -export const GET = async () => { - const payload = await getPayload({ - config: configPromise, - }) - - const data = await payload.find({ - collection: 'users', - }) - - return Response.json(data) -} diff --git a/src/components/Blocks/BeforeFooter/index.tsx b/src/components/Blocks/BeforeFooter/index.tsx index 23af317..6325e23 100644 --- a/src/components/Blocks/BeforeFooter/index.tsx +++ b/src/components/Blocks/BeforeFooter/index.tsx @@ -1,28 +1,33 @@ import Link from "next/link"; export interface BeforeFooterBlockProps { - id: string; - title: string; - description: string; - buttonText: string; + id?: string; + title?: string; + description?: string; + buttonText?: string; } +const placeholderTitle = "Begin your path to healing with Cochise Oncology"; +const placeholderDescription = + "Our dedicated team in Sierra Vista, AZ is here to support you with hope, strength, and courage. We offer personalized cancer care using innovative treatments in our state-of-the-art facility. Take the first step towards comprehensive, patient-focused treatment by scheduling a consultation. Let us listen to your needs, answer your questions, and create a tailored plan for your journey. Fill out our form to connect with our compassionate experts and discover how Cochise Oncology can stand with you in your fight against cancer."; +const placeholderButtonText = "Get Started"; + export function BeforeFooterBlock({ title, description, buttonText }: BeforeFooterBlockProps) { return (
+
+
-

{title}

-

{description}

- {!!buttonText && ( -
- - {buttonText} - -
- )} +

{title ?? placeholderTitle}

+

{description ?? placeholderDescription}

+
+ + {buttonText ?? placeholderButtonText} + +
); diff --git a/src/components/Blocks/GoogleReviews/index.tsx b/src/components/Blocks/GoogleReviews/index.tsx index 5991bf0..1100d59 100644 --- a/src/components/Blocks/GoogleReviews/index.tsx +++ b/src/components/Blocks/GoogleReviews/index.tsx @@ -1,13 +1,59 @@ -import { CardStarRating } from "@/components/Ratings/CardStarRating"; +"use client"; + +import { CardStarRating, CardStarRatingProps } from "@/components/Ratings/CardStarRating"; import StarRating from "@/components/Ratings/StarRating"; -import { teamMembers } from "@/data/team"; import Image from "next/image"; import { Navigation } from "swiper/modules"; import { Swiper, SwiperSlide } from "swiper/react"; +const data: CardStarRatingProps["data"][] = [ + { + star: 5, + description: + "Today i did my cat scan , and met Raymond, he radiates hope and good will, i then met Larry who showed me the hospitality suite, i was overwhelmed by thier kindness, every one i have met so far has been truly amazing.while at physical therapy the doc said i had made a wise", + }, + { + star: 5, + description: "Great and caring service. Completely satisfied.", + }, + { + star: 5, + description: "Sincere and caring attitude...very professional and inspires confidence.", + }, + { + star: 5, + description: + "I've been going to cochise oncology for many years and everyone is always professional and take the time to explain everything", + }, + { + star: 5, + description: "One fine person\n Very concerning. Glad to see her", + }, + { + star: 5, + description: + "Barbara was very professional and friendly. She shared all info with me and gave me a copy of my lab results.", + }, + { + star: 5, + description: + "Barbara is great! She listens and ask questions on other issues outside her area just to be sure you’re well taken care of.", + }, + { + star: 5, + description: + "Today, at Cochise Oncology, I had an appointment with Dr. Reid Culton. He explained in great detail from the medical chart of the blood work and listen to my concerns. Dr. Reid Culton also answered my questions in great detail. Thank you.", + }, + { + star: 5, + description: + "I absolutely love the people that work at this place. From the front desk to radiation room. Everyone is loving and caring.", + }, +]; + export function GoogleReviewsBlock() { return ( -
+
@@ -22,7 +68,7 @@ export function GoogleReviewsBlock() {

4.8

- +
Over 200 Reviews
@@ -56,16 +102,16 @@ export function GoogleReviewsBlock() { }} > {/* Group item */} - {teamMembers.map((member, index) => ( + {data.map((rev, index) => (
- +
))} -
+
-
+
Previous Slide
diff --git a/src/components/Homepage.tsx b/src/components/Homepage.tsx index b4fdcd7..0865447 100644 --- a/src/components/Homepage.tsx +++ b/src/components/Homepage.tsx @@ -50,7 +50,7 @@ export default function homepage({ onePage = false, dark = false }) { ) : ( <> Contact us diff --git a/src/components/Ratings/CardStarRating.tsx b/src/components/Ratings/CardStarRating.tsx index b2a5aa0..94c716a 100644 --- a/src/components/Ratings/CardStarRating.tsx +++ b/src/components/Ratings/CardStarRating.tsx @@ -1,14 +1,21 @@ import Image from "next/image"; import StarRating from "./StarRating"; -export function CardStarRating() { +export interface CardStarRatingProps { + data: { + star: number; + description: string; + }; +} + +export function CardStarRating({ data }: CardStarRatingProps) { return (
- +
-

Today my cat scan

+

{data.description}

); }