Skip to content

Commit 73ecde8

Browse files
committed
fix: ISR and carousel delay
1 parent 6c1bbd9 commit 73ecde8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/app/layout.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export const metadata: Metadata = {
8686
],
8787
robots: "index, follow",
8888
};
89+
export const revalidate = 60;
8990

9091
export default function RootLayout({
9192
children,

src/components/StoredPapers.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ function StoredPapers() {
6161
return <Loader prop="m-10" />;
6262
}
6363

64-
const plugins = [Autoplay({ delay: 5000, stopOnInteraction: true })];
64+
const plugins = [Autoplay({ delay: 8000, stopOnInteraction: true })];
6565

6666
return (
6767
<div className="px-4">
68-
<p className="font-play my-8 text-center text-lg font-semibold">
68+
<p className="my-8 text-center font-play text-lg font-semibold">
6969
Upcoming Papers
7070
</p>
7171

0 commit comments

Comments
 (0)