Switch to version 1: remove src/pages/HomePage/sections/Timings.tsx
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
import React from 'react';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
import { Clock } from "lucide-react";
|
||||
|
||||
export default function TimingsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="timings" data-webild-section="timings" className="py-16 bg-background-accent">
|
||||
<SectionErrorBoundary name="timings">
|
||||
<div className="w-content-width mx-auto px-4 text-center">
|
||||
<Clock className="w-12 h-12 mx-auto text-primary-cta mb-4" />
|
||||
<h2 className="text-3xl font-bold text-foreground mb-8">Clinic Timings</h2>
|
||||
<div className="max-w-md mx-auto bg-card p-8 rounded-theme shadow-sm">
|
||||
<div className="flex justify-between items-center border-b border-border pb-4 mb-4">
|
||||
<span className="font-semibold text-foreground">Monday – Saturday</span>
|
||||
<span className="text-muted-foreground">9:00 AM – 8:00 PM</span>
|
||||
</div>
|
||||
<div className="flex justify-between items-center">
|
||||
<span className="font-semibold text-foreground">Sunday</span>
|
||||
<span className="text-red-500 font-medium">Emergency Appointments Only</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user