feat: base pages and news fetching with cron job
This commit is contained in:
14
app/success/page.tsx
Normal file
14
app/success/page.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { useRouter } from 'next/router';
|
||||
import { Button } from '../../components/Button';
|
||||
import { VerticalLayout } from '../../components/VerticalLayout';
|
||||
|
||||
export default function Home() {
|
||||
const router = useRouter();
|
||||
|
||||
return (
|
||||
<VerticalLayout>
|
||||
<h1>Success!</h1>
|
||||
<Button label="Home" onClick={() => router.push('/')} />
|
||||
</VerticalLayout>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user