Skip to content

Commit

Permalink
Merge pull request #52 from hack4impact-calpoly/45-button-to-run-web-…
Browse files Browse the repository at this point in the history
…scraper

add button
  • Loading branch information
ryanchansf authored Mar 2, 2024
2 parents 02f8370 + 31e0e41 commit 609cf21
Showing 1 changed file with 11 additions and 0 deletions.
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

0 comments on commit 609cf21

Please sign in to comment.