diff --git a/public/assets/css/style.css b/public/assets/css/style.css index b3a16c0..fe31300 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -3908,8 +3908,8 @@ a.logo:hover { display: none; } -.body-scrolled .social-nav { - color: var(--color-dark-3); +.social-nav:hover { + color: #00abad; } /* Menu sub */ diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx index b0821a8..bba8bcd 100644 --- a/src/app/(main)/layout.tsx +++ b/src/app/(main)/layout.tsx @@ -33,9 +33,7 @@ export default function MainLayout({
- +
{children}
diff --git a/src/components/Blogs/Blog.tsx b/src/components/Blogs/Blog.tsx index 809e60f..ff63cea 100644 --- a/src/components/Blogs/Blog.tsx +++ b/src/components/Blogs/Blog.tsx @@ -15,24 +15,12 @@ export default async function Blog() {

Our Blog

-

Check the latest news about our company in our blog.

-

- There are three kinds of web developer specialization front-end developer, back-end developer, and - full-stack developer. +

Knowledge and Support for Your Cancer Journey

+

+ Cancer treatment involves a team of specialists providing personalized, comprehensive care. Staying + informed and engaged empowers you to choose the best approach. Remember, you’re not alone in this journey.

-
-
- - - Our blog - - - -
-
{/* Blog Posts Grid */}
diff --git a/src/components/Blogs/BlogDetail.tsx b/src/components/Blogs/BlogDetail.tsx index 2b4c825..bf05b87 100644 --- a/src/components/Blogs/BlogDetail.tsx +++ b/src/components/Blogs/BlogDetail.tsx @@ -4,6 +4,7 @@ import { RichText } from "@payloadcms/richtext-lexical/react"; import { headers } from "next/headers"; import Image from "next/image"; import { notFound } from "next/navigation"; +import Blog from "./Blog"; export interface BlogDetailProps { slug: string | undefined; @@ -48,10 +49,14 @@ export default async function BlogDetail({ slug }: BlogDetailProps) { {/* End Post */}
{/* End Content */} +
{/* End Section */} +
+ +
); } diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 8b0c041..38d7ef7 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -5,66 +5,79 @@ import { navMenuData } from "@/data/menu"; import { toggleMobileMenu } from "@/utils/toggleMobileMenu"; import Image from "next/image"; import Link from "next/link"; -import { FaFacebook, FaLinkedin, FaTwitter } from "react-icons/fa"; +import { FaFacebook, FaLinkedin, FaPhone } from "react-icons/fa"; const shareIcons: Record = { - facebook: , - linkedin: , - twitter: , + phone: { + link: "tel:+15208036644", + dom: ( + + + (520) 803-6644 + + ), + }, + facebook: { + link: "https://www.facebook.com/p/Cochise-Oncology-61556262839823", + dom: , + }, + linkedin: { + link: "https://linkedin.com/company/cochise-oncology", + dom: , + }, }; export default function Header({ links }: { links: typeof navMenuData }) { return ( -
- {/* Logo (* Add your text or image to the link tag. Use SVG or PNG image format. + ); } diff --git a/src/components/HeaderNav.tsx b/src/components/HeaderNav.tsx index 132d4a8..b29626a 100644 --- a/src/components/HeaderNav.tsx +++ b/src/components/HeaderNav.tsx @@ -56,7 +56,7 @@ export default function HeaderNav({ links, animateY = false }: { links: typeof n {Array.isArray(link?.child) && ( <> - + {link.text} toggleDropdown([link.text])} /> @@ -70,8 +70,8 @@ export default function HeaderNav({ links, animateY = false }: { links: typeof n )} {Array.isArray(subLink?.child) && ( <> - - {subLink.text} + + {subLink.text} toggleDropdown([link.text, subLink.text])} /> diff --git a/src/components/Homepage.tsx b/src/components/Homepage.tsx index 3008cf7..191ea9c 100644 --- a/src/components/Homepage.tsx +++ b/src/components/Homepage.tsx @@ -57,55 +57,61 @@ export default function homepage({ dark = false }) {
-
-
-

- I was diagnosed with cancer up in Tucson. The doctor was said to be best oncologist in the state. Problem - was I needed radiation for 45 days not counting weekends and holidays. -

-

- I had to tell her that that was not doable. I couldn't commute daily and I couldn't rent. I told her that I - could get treatment of some sort in Sierra Vista. She told me that normally she would fight me, but only 2 - Clinics in the state had this latest and greatest radiation hardware. Hers and Cochise Oncology in Sierra - Vista. -

-

- I had to tell her that that was not doable. I couldn't commute daily and I couldn't rent. I told her that I - could get treatment of some sort in Sierra Vista. She told me that normally she would fight me, but only 2 - Clinics in the state had this latest and greatest radiation hardware. Hers and Cochise Oncology in Sierra - Vista. -

-

Do yourself a favor and see Dr. Vedula.

-

- a Cochise Oncology patient

-

*Individual Results May Vary

-
-
-
-
-

Testimonials

-
-

- I was diagnosed with cancer up in Tucson. The doctor was said to be the best oncologist in the state. - Problem was I needed radiation for 45 days not counting weekends and holidays. -

-

- I had to tell her that that was not doable. I couldn't commute daily and I couldn't rent. I told her that - I could get treatment of some sort in Sierra Vista. She told me that normally she would fight me, but only - 2 clinics in the state had this latest and greatest radiation hardware. Hers and Cochise Oncology in - Sierra Vista. -

-

- At Cochise Oncology I was introduced to Dr. Vedula. What a good man and what a great doctor. Check out his - credentials. I am now cancer free for 9 months. It was still 45 days of treatment but no side effects. - Plus, I would go home every day after undergoing treatment. I forget, maybe 15 minutes of treatment. -

-

Do yourself a favor and see Dr. Vedula.

-

- a Cochise Oncology patient

+
+
+
+
+
+ I was diagnosed with cancer up in Tucson. The doctor was said to be best oncologist in the state. + Problem was I needed radiation for 45 days not counting weekends and holidays. +
+
+ I had to tell her that that was not doable. I couldn't commute daily and I couldn't rent. I + told her that I could get treatment of some sort in Sierra Vista. She told me that normally she would + fight me, but only 2 Clinics in the state had this latest and greatest radiation hardware. Hers and + Cochise Oncology in Sierra Vista. +
+
+ At Cochise Oncology I was introduced to Dr. Vedula. What a good man and what a great doctor. Check out + his credentials. I am now cancer free for 9 months. It was still 45 days of treatment but no side + effects. Plus, I would go home every day after undergoing treatment. I forget, maybe 15 minutes of + treatment. +
+
+ Do yourself a favor and see Dr. Vedula. +

+ -a Cochise Oncology patient +
+
-

*Individual Results May Vary

-
-
+

Testimonials

+
+ I was diagnosed with cancer up in Tucson. The doctor was said to be best oncologist in the state. Problem was + I needed radiation for 45 days not counting weekends and holidays. +
+
+ I had to tell her that that was not doable. I couldn't commute daily and I couldn't rent. I told her + that I could get treatment of some sort in Sierra Vista. She told me that normally she would fight me, but + only 2 Clinics in the state had this latest and greatest radiation hardware. Hers and Cochise Oncology in + Sierra Vista. +
+
+ At Cochise Oncology I was introduced to Dr. Vedula. What a good man and what a great doctor. Check out his + credentials. I am now cancer free for 9 months. It was still 45 days of treatment but no side effects. Plus, I + would go home every day after undergoing treatment. I forget, maybe 15 minutes of treatment. +
+
+ Do yourself a favor and see Dr. Vedula. +

+ -a Cochise Oncology patient +
diff --git a/src/utils/changeHeaderOnScroll.ts b/src/utils/changeHeaderOnScroll.ts index 6f93a35..35e22dc 100644 --- a/src/utils/changeHeaderOnScroll.ts +++ b/src/utils/changeHeaderOnScroll.ts @@ -2,11 +2,9 @@ export const headerChangeOnScroll = () => { const mainNav = document.querySelector(".main-nav"); const lightAfterScroll = document.querySelector(".light-after-scroll"); if (window.scrollY > 0) { - mainNav?.classList.remove("transparent"); mainNav?.classList.add("body-scrolled"); if (lightAfterScroll) lightAfterScroll.classList.remove("dark"); } else if (window.scrollY === 0) { - mainNav?.classList.add("transparent"); mainNav?.classList.remove("body-scrolled"); if (lightAfterScroll) lightAfterScroll.classList.add("dark"); }