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

[ref] Create page results #75

Merged
merged 3 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 1 addition & 3 deletions src/app/elections/[electionId]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import type { NextPage } from "next";

const Home = ({ params }: { params: { electionId: string } }) => {
return (
<div className="flex items-center justify-center h-[80vh] content-center">
<div>
<p> Elections {params.electionId}</p>
</div>{" "}
</div>
</div>
);
};
Expand Down
11 changes: 11 additions & 0 deletions src/app/elections/[electionId]/results/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const Home = () => {
return (
<div className="flex items-center justify-center h-[80vh] content-center">
<div>
<h1> Resultados da Eleição </h1>
</div>
</div>
);
};

export default Home;
3 changes: 1 addition & 2 deletions src/app/elections/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import ElectionForm from "@packages/components/HomePage/ElectionForm";
import type { NextPage } from "next";

const Home: NextPage = () => {
return (
<div className="flex items-center justify-center h-[80vh] content-center">
<div>
<p> Elections</p>
</div>{" "}
</div>
</div>
);
};
Expand Down
Loading