Skip to content

Commit

Permalink
Deploy "brown" (#383)
Browse files Browse the repository at this point in the history
* Add team entry to navbar (#380)

* Add Hackathon regulations (#382)

Co-authored-by: Filipe Felício <[email protected]>
  • Loading branch information
miguelbrandao and feliciofilipe authored Feb 18, 2022
2 parents 50eee4b + d48611d commit 9cdffd9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
11 changes: 7 additions & 4 deletions components/website/hackathon/Regulations/index.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Link from "next/link";
import Button from "/components/utils/Button";

export default function Regulations() {
Expand All @@ -10,10 +11,12 @@ export default function Regulations() {
</h2>
</div>
<div className="mt-6 sm:mt-0 sm:w-80">
<Button
text="READ THE RULES"
customStyle="text-white bg-primary border-tertiary hover:bg-tertiary"
/>
<Link href={"/docs/hackathon.pdf"} passHref>
<Button
text="READ THE RULES"
customStyle="text-white bg-primary border-tertiary hover:bg-tertiary"
/>
</Link>
</div>
</div>
</div>
Expand Down
8 changes: 6 additions & 2 deletions components/website/utils/Navbar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import styles from "./style.module.css";
const navigation = [
{ name: "Schedule", slug: "/schedule" },
{ name: "Hackathon", slug: "/hackathon" },
// { name: 'Team', slug: '/team' },
{ name: "Team", slug: "/team" },
{ name: "Challenges", slug: "/challenges" },
{ name: "Speakers", slug: "/speakers" },
{ name: "FAQs", slug: "/faq" },
Expand Down Expand Up @@ -61,7 +61,11 @@ export default function Navbar({ bgColor, fgColor, button, children }) {
</Link>
<div className="col-span-3 hidden justify-self-end lg:block">
<div className="flex flex-auto gap-x-20">
<div className="grid grid-cols-3 gap-x-20 gap-y-6 xl:gap-y-0">
<div
className={`grid ${
isAuthenticated ? "grid-cols-3" : "grid-cols-4"
} gap-x-20 gap-y-6 xl:gap-y-0`}
>
{navigation.map((item) => (
<Link key={item.slug} href={item.slug} passHref>
<a className="font-iregular text-sm text-white text-opacity-40 hover:text-opacity-100">
Expand Down
Binary file added public/docs/hackathon.pdf
Binary file not shown.

0 comments on commit 9cdffd9

Please sign in to comment.