Added Home Page Caching

This commit is contained in:
Ahmad 2024-12-15 17:04:39 -05:00
parent 9147e4f7c1
commit 467268ff95
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF

View file

@ -2,6 +2,7 @@ import { Medal } from 'lucide-react';
import localFont from 'next/font/local'; import localFont from 'next/font/local';
import { Poppins } from 'next/font/google'; import { Poppins } from 'next/font/google';
import Link from 'next/link'; import Link from 'next/link';
import { GetStaticProps } from 'next';
import { cn } from '@/lib/utils'; import { cn } from '@/lib/utils';
import { Button } from '@/components/ui/button'; import { Button } from '@/components/ui/button';
@ -50,4 +51,11 @@ const MarketingPage = () => {
); );
}; };
export const getStaticProps: GetStaticProps = async () => {
return {
props: {},
revalidate: 60,
};
};
export default MarketingPage; export default MarketingPage;