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

feat: add event regulation link #29

Merged
merged 1 commit into from
Mar 13, 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: 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/" },
danielsp45 marked this conversation as resolved.
Show resolved Hide resolved
{ 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
Loading