almost change all layouts to ssr
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import ClinicPage from "@/components/clinic";
|
||||
import Layout from "@/components/layout";
|
||||
import Layout from "@/components/layout/StLayout";
|
||||
import clinics from "@/data/clinics.json";
|
||||
import doctors from "@/data/doctors.json";
|
||||
|
||||
@@ -7,7 +7,7 @@ function Blog({ params: { slug } }) {
|
||||
const clinic = clinics.find((item) => item.id === +slug);
|
||||
|
||||
return (
|
||||
<Layout title="کلینیک" name="clinic">
|
||||
<Layout>
|
||||
<ClinicPage data={clinic} doctors={doctors} />
|
||||
</Layout>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user