Skip to content

Commit

Permalink
feat: add event regulation link (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsp45 authored Mar 13, 2024
1 parent a98a355 commit 31b971e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import type { NavItem } from "~/types";
const { sticky } = Astro.props;
const navItems: Array<NavItem> = [
{ title: "Previous edition", url: "https://2023.bugsbyte.org/" },
{ title: "Regulation", url: "/docs/regulation.pdf" },
{ title: "FAQs", url: "/faqs" },
{ title: "Previous edition", url: "https://2023.bugsbyte.org/" },
];
const headerClass = sticky
Expand Down Expand Up @@ -148,4 +149,3 @@ const headerClass = sticky
@apply block;
}
</style>

2 changes: 1 addition & 1 deletion src/components/registerForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default function Form() {
<div class="flex items-center h-5">
<input id="terms" type="checkbox" value="" class="w-4 h-4 border border-gray-300 text-primary rounded bg-gray-50 focus:ring-3 focus:ring-primary" required />
</div>
<label for="terms" class="ms-2 text-sm font-medium text-white ">I agree with the <a href="/docs/regulation.pdf" class="text-primary hover:underline">terms and conditions</a></label>
<label for="terms" class="ms-2 text-sm font-medium text-white ">I agree with the <a href="/docs/regulation.pdf" class="text-primary hover:underline">event regulations</a></label>
</div>
<button className="text-white bg-primary hover:bg-primary focus:ring-4 focus:outline-none focus:ring-primary font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center">
Send
Expand Down

0 comments on commit 31b971e

Please sign in to comment.