Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add button #52

Merged
merged 4 commits into from
Mar 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
"use client";
import { Button } from "@/components/ui/button";
import { ProposalTable } from "../components/proposalTable";
import { useSession } from "next-auth/react";

export default async function Home() {
const handleScrape = () => {
// CHANGE THIS TO NAVIGATE TO NEW PAGE
console.log("change to scrape");
};
return (
<main>
<div className="w-full">
<div className="flex flex-col items-center justify-center bg-gray-200 mx-20 py-3 px-3">
<div className="font-bold">
<h1>Ecologistics Proposal Table</h1>
</div>
<div className="flex justify-center py-5">
<Button variant="outline" onClick={handleScrape}>
Begin Webscraping
</Button>
</div>
<p>
Development Project Approval Milestones that Trigger Document
Publication in Local/State Systems
Expand Down
Loading