Skip to content

Commit

Permalink
cleanup overview page
Browse files Browse the repository at this point in the history
  • Loading branch information
sutigit committed Jan 31, 2025
1 parent 2c346c2 commit 70391cc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions client/components/V1/Overview/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import DataComponent from "./DataComponent"
import { useLocation } from "react-router"

import DataComponent from "./DataComponent"

const OverviewPage = () => {
const location = useLocation()
const searchParams = new URLSearchParams(location.search)
Expand All @@ -10,14 +11,13 @@ const OverviewPage = () => {
const year = searchParams.get("year")

return (
<div className="content">
<div style={{ display: "flex", alignItems: "center", gap: "2rem", width: "100%" }}>
<div className="content" style={{padding: "2rem"}}>
<div style={{ display: "flex", alignItems: "center", gap: "2rem", width: "100%", marginBottom: "2.5rem" }}>
{/* TODO: TRANSLATE */}
<h1>VUOSISEURANTA</h1>
{/* TODO: Check global stylings for h1 */}
<h1 style={{margin: 0}}>VUOSISEURANTA</h1>

<span>filter</span>
<span>filter</span>
<span>filter</span>
{/* Filters */}
</div>

<DataComponent programLevel={programLevel} faculty={faculty} year={parseInt(year)}/>
Expand Down

0 comments on commit 70391cc

Please sign in to comment.