feat: base pages and news fetching with cron job

This commit is contained in:
Riccardo
2023-11-25 09:20:38 +01:00
parent aa34263bdf
commit 74ec709155
31 changed files with 10641 additions and 123 deletions

14
app/success/page.tsx Normal file
View 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>
);
}