@@ -0,0 +1,31 @@ +import { getContacts } from '@/src/shared/api/requests' +import ContactsBlock from '@/src/shared/components/pages_components/contacts_page/ContactsBlock' +import Footer from '@/src/shared/components/shared_components/Footer/Footer' +import Header from '@/src/shared/components/shared_components/Header/Header' +import UpperBlock from '@/src/shared/components/shared_components/Header/UpperBlock' +import QuestionButton from '@/src/shared/components/shared_components/QuestionButton/QuestionButton' +import React from 'react' + +export default async function page() { + const contacts = (await getContacts()).data + + return ( + <> +
+ +
+ +
+
+
+
+ +
+
+ + + + ) +} @@ -1,3 +1,4 @@ +import { getContacts } from "@/src/shared/api/requests"; import MeasurementsBlock from "@/src/shared/components/pages_components/measurements_page/MeasurementsBlock"; import FeedbackBlock from "@/src/shared/components/shared_components/FeedbackBlock/FeedbackBlock"; import Footer from "@/src/shared/components/shared_components/Footer/Footer"; @@ -7,7 +8,10 @@ import QuestionButton from "@/src/shared/components/shared_components/QuestionBu import { contacts } from "@/src/shared/utils/staticMockData"; -export default function page() { +export default async function page() { + + const contacts = (await getContacts()).data + return (
@@ -18,7 +22,7 @@ export default function page() {
- +