Skip to content

Commit

Permalink
removed requirements page
Browse files Browse the repository at this point in the history
  • Loading branch information
stcalica authored Aug 30, 2024
1 parent e731160 commit e25ac20
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions templates/RequirementsPage/Main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,14 @@ interface Requirement {

const RequirementsTable: React.FC = () => {
return (
<div>
<table className="table-auto w-full border-collapse border border-n-300d">
<thead>
<tr>
<th title="Field #1">Merit Badge</th>
<th title="Field #2">Min. Age:</th>
<th title="Field #3">Min. Grade</th>
<th title="Field #4">Min. Rank:</th>
<th title="Field #6">Prerequisites</th>
</tr>
</thead>
<tbody>
{requirements.map((r: Requirement, index: number) => (
<tr key={index}>
<td className="border border-n-300 px-4 py-2 text-left">{r.badge}</td>
<td className="border border-n-300 px-4 py-2 text-left">{r.age}</td>
<td className="border border-n-300 px-4 py-2 text-left">{r.grade}</td>
<td className="border border-n-300 px-4 py-2 text-left">{r.rank}</td>
<td className="border border-n-300 px-4 py-2 text-left">{r.prerequisites}</td>
</tr>
))}
</tbody>
</table>
</div>
<div></div>
);
};


const Main = ({}: MainProps) => (
<div className="py-20 lg:px-10 xlg:px-10 2xlg:px-20 text-black overflow-x-scroll xs:overflow-x-scroll md:overflow-x-scroll">
<h2 className="text-h4 font-bold my-4 text-center">Merit Badge Requirements</h2>
<RequirementsTable />
<h2 className="text-h4 font-bold my-4 text-center">Merit Badge Requirements are in PDF </h2>
</div>
);

Expand Down

0 comments on commit e25ac20

Please sign in to comment.