mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
Added Home Page Caching
This commit is contained in:
parent
9147e4f7c1
commit
467268ff95
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue