chore: move unused components to deprecated dir
This commit is contained in:
@@ -1,27 +1,9 @@
|
||||
import { getGlobalsCallToActionSection } from '@/services/get-globals-call-to-action-section';
|
||||
import { getGlobalsCommunitiesSection } from '@/services/get-globals-communitues-section';
|
||||
import { getGlobalsTestimonialsSection } from '@/services/get-globals-testimonials-section';
|
||||
import { CallToAction } from './_components/call-to-action';
|
||||
import { Community } from './_components/community';
|
||||
import { Hero } from './_components/hero';
|
||||
import { Testimonials } from './_components/testimonials';
|
||||
|
||||
export const revalidate = 10; // Seconds
|
||||
|
||||
export default async function Page() {
|
||||
const [communitiesData, testimonialsData, callToActionData] =
|
||||
await Promise.all([
|
||||
getGlobalsCommunitiesSection(),
|
||||
getGlobalsTestimonialsSection(),
|
||||
getGlobalsCallToActionSection(),
|
||||
]);
|
||||
|
||||
return (
|
||||
<>
|
||||
<Hero />
|
||||
<Community {...communitiesData} />
|
||||
<Testimonials {...testimonialsData} />
|
||||
<CallToAction {...callToActionData} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user