From 88ca451fd92d8f6c62dbb0bb4308bc8d2152aa07 Mon Sep 17 00:00:00 2001 From: RizqiSyahrendra Date: Fri, 7 Feb 2025 23:23:43 +0700 Subject: [PATCH] fix: Footer content --- src/components/Footer.tsx | 27 +++++---------- src/components/FooterSocial.tsx | 10 ++---- src/data/footer.ts | 58 ++++++++------------------------- 3 files changed, 25 insertions(+), 70 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 15b4fad..e36c532 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -21,44 +21,35 @@ export default function Footer() {
Your Company Logo Your Company Logo
-

- Integer auctor aliquet martor, sed lorem malesuada eros blandit eget. Proin lacinia mortoc id odio - vestibulum. -

-
- (520) 803-6644 -
{/* Footer Widget */}
-

Company

+

Business Hours

{/* End Footer Widget */} {/* Footer Widget */}
-

Social Media

+

Contact Us

@@ -87,8 +78,8 @@ export default function Footer() {
{/* Back to Top Link */} diff --git a/src/components/FooterSocial.tsx b/src/components/FooterSocial.tsx index 2909ca8..79d4853 100644 --- a/src/components/FooterSocial.tsx +++ b/src/components/FooterSocial.tsx @@ -1,16 +1,10 @@ +import { socialMediaLinks } from "@/data/footer"; import React from "react"; export default function FooterSocials() { - const socials = [ - { name: "Facebook", icon: "fa-facebook", url: "#" }, - { name: "YouTube", icon: "fa-youtube", url: "#" }, - { name: "Pinterest", icon: "fa-pinterest", url: "#" }, - { name: "LinkedIn", icon: "fa-linkedin", url: "#" }, - ]; - return ( <> - {socials.map((social, index) => ( + {socialMediaLinks.map((social, index) => (
  • {social.name} diff --git a/src/data/footer.ts b/src/data/footer.ts index 121e673..ce3e28a 100644 --- a/src/data/footer.ts +++ b/src/data/footer.ts @@ -1,57 +1,27 @@ export const footerLinks = [ - { name: "Privacy Policy", path: "#" }, + { name: "Privacy Policy", path: "/privacy-policy" }, { name: "Terms & Conditions", path: "#" }, - { name: "Presskit", path: "#" }, -]; - -export const footerLinks2 = [ - { text: "Privacy Policy", href: "#" }, - { text: "Terms & Conditions", href: "#" }, - { text: "Presskit", href: "#" }, - { text: "Credits", href: "#" }, -]; - -export const socialLinks = [ - { - href: "#", - text: "Instagram", - }, - { - href: "#", - text: "Facebook", - }, - { - href: "#", - text: "YouTube", - }, - { - href: "#", - text: "LinkedIn", - }, ]; export const socialMediaLinks = [ { - href: "#", - title: "Facebook", - iconClass: "fa-facebook-f", - name: "Facebook", + name: "5151 E HIGHWAY 90 Sierra Vista, Arizona 85635", + url: "https://maps.app.goo.gl/VEnC9gsK7d7nkN5w5", + icon: "fa-location", }, - { href: "#", title: "Skype", iconClass: "fa-skype", name: "Skype" }, { - href: "#", - title: "Pinterest", - iconClass: "fa-pinterest", - name: "Pinterest", + name: "(520) 803-6644", + url: "tel:5208036644", + icon: "fa-phone", + }, + { + name: "Facebook", + url: "https://www.facebook.com/p/Cochise-Oncology-61556262839823", + icon: "fa-facebook", }, - { href: "#", title: "Behance", iconClass: "fa-behance", name: "Behance" }, - { href: "#", title: "Dribbble", iconClass: "fa-dribbble", name: "Dribbble" }, ]; export const navigationLinks = [ - { href: "#about", text: "About" }, - { href: "#services", text: "Services" }, - { href: "#portfolio", text: "Portfolio" }, - { href: "#blog", text: "Blog" }, - { href: "#contact", text: "Contact" }, + { href: "/our-oncology-center", text: "About" }, + { href: "/privacy-policy", text: "Privacy Policy" }, ];