initial commit

This commit is contained in:
2025-09-24 20:32:28 +05:00
commit 1759326253
184 changed files with 23284 additions and 0 deletions

19
src/app/api/contactUs.js Normal file
View File

@@ -0,0 +1,19 @@
import { baseApi } from "./baseApi";
export const contactApi = baseApi.injectEndpoints({
endpoints: (builder) => ({
submitContactMessage: builder.mutation({
query: ({ phone, title, content, type }) => ({
url: "/forms/contact-us",
method: "POST",
body: { phone, title, content, type },
headers: {
"Content-Type": "application/json",
Accept: "application/json",
},
}),
}),
}),
});
export const { useSubmitContactMessageMutation } = contactApi;