Add Django backend, Next.js frontend, and deploy templates
This commit is contained in:
1 parent
fc0c991335
commit
e9cd22d36f
93 files changed
+7840
-1
No files matched your search
@@ -0,0 +1,58 @@
|
||||
export type SiteSettings = {
|
||||
site_name: string;
|
||||
tagline: string;
|
||||
phone: string;
|
||||
email: string;
|
||||
address: string;
|
||||
city: string;
|
||||
working_hours: string;
|
||||
hero_title: string;
|
||||
hero_subtitle: string;
|
||||
hero_image: string;
|
||||
about_excerpt: string;
|
||||
};
|
||||
|
||||
export type Page = {
|
||||
id: number;
|
||||
title: string;
|
||||
slug: string;
|
||||
intro: string;
|
||||
body: string;
|
||||
meta_title: string;
|
||||
meta_description: string;
|
||||
};
|
||||
|
||||
export type Service = {
|
||||
id: number;
|
||||
title: string;
|
||||
slug: string;
|
||||
short_description: string;
|
||||
description: string;
|
||||
icon: string;
|
||||
};
|
||||
|
||||
export type Doctor = {
|
||||
id: number;
|
||||
full_name: string;
|
||||
position: string;
|
||||
credentials: string;
|
||||
bio: string;
|
||||
photo: string;
|
||||
};
|
||||
|
||||
export type Document = {
|
||||
id: number;
|
||||
title: string;
|
||||
category: string;
|
||||
description: string;
|
||||
file_url: string;
|
||||
};
|
||||
|
||||
export type HomePayload = {
|
||||
site: SiteSettings;
|
||||
pages: Page[];
|
||||
services: Service[];
|
||||
doctors: Doctor[];
|
||||
documents: Document[];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user