Skip to content

Commit b6f70f5

Browse files
authored
Merge pull request #336 from HackBeanpot/mainsite/feature/Navbar-adjustments
Mainsite/feature/navbar adjustments
2 parents 7880beb + 91d9848 commit b6f70f5

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

apps/main/src/app/(landing)/Sections/FAQ.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ const appQuestions = [
4646
},
4747
];
4848

49-
5049
const logisticsQuestions = [
5150
{
5251
question: "Will my travel be reimbursed?",

apps/main/src/app/lib/Components/NavBar.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const NavBar = () => {
5858
<div className={outerDivStyles}>
5959
<div className={navBarStyles}>
6060
<LocalLink href={"/"}>
61-
<Logo />
61+
<Logo className="w-[10vw] min-w-[100px]" />
6262
</LocalLink>
6363

6464
{!isDesktop && (
@@ -78,20 +78,26 @@ const NavBar = () => {
7878
<LocalLink
7979
key={item.pageName}
8080
href={item.link}
81-
className="text-lg font-DMSans-Bold"
81+
className="text-charcoalFog hover:text-charcoalFogLight text-[1vw] mobile:text-[4vw] mobile:text-white font-DMSans-Bold"
8282
>
8383
{item.pageName}
8484
</LocalLink>
8585
))}
8686
<div className={buttonsStyles}>
8787
<LocalLink href={"/sponsor-us"}>
88-
<Button textColor="white" text="Sponsor Us" size="medium" />
88+
<Button
89+
textColor="white"
90+
text="Sponsor Us"
91+
size="medium"
92+
className="w-[5vw] min-w-[100px] text-[1vw]"
93+
/>
8994
</LocalLink>
9095
<Button
9196
textColor="white"
9297
text="Apply"
9398
color="firecrackerRedLight"
9499
size="medium"
100+
className="w-[5vw] min-w-[100px] text-[1vw]"
95101
onClick={() => window.open("https://apply.hackbeanpot.com/")}
96102
/>
97103
</div>

packages/ui/src/Button.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ interface ButtonProps {
99
textColor?: string;
1010
size?: string;
1111
removePadding?: boolean;
12+
className?: string;
1213
}
1314

1415
const bgColorMap: Record<string, string> = {
@@ -40,12 +41,13 @@ const Button: React.FC<ButtonProps> = ({
4041
icon,
4142
size = "small",
4243
removePadding,
44+
className,
4345
}) => {
4446
const bgClass = bgColorMap[color] || bgColorMap["mossGreen"];
4547
const textColorClass = textColorMap[textColor];
4648
const sizeClass = sizeMap[size] || sizeMap["small"];
4749

48-
const buttonClasses = `font-DMSans-Bold flex items-center justify-center gap-1 rounded-full w-auto h-auto ${text ? "px-4" : "px-2"} py-2 ${bgClass} shadow-[inset_2px_3px_0_rgba(0,0,0,0.10)] ${textColorClass} ${sizeClass} text-base whitespace-nowrap transition-transform duration-200 ease-in-out hover:scale-105`;
50+
const buttonClasses = `font-DMSans-Bold flex items-center justify-center gap-1 rounded-full w-auto h-auto ${text ? "px-4" : "px-2"} py-2 ${bgClass} shadow-[inset_2px_3px_0_rgba(0,0,0,0.10)] ${textColorClass} ${sizeClass} text-base whitespace-nowrap transition-transform duration-200 ease-in-out hover:scale-105 ${className ?? ""}`;
4951

5052
return (
5153
<button className={buttonClasses} onClick={onClick}>

packages/ui/src/Logos/HackBeanpotLogo.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import * as React from "react";
22

33
const Logo = (props: React.SVGProps<SVGSVGElement>) => (
44
<svg
5-
width={163}
6-
height={54}
75
viewBox="0 0 163 54"
86
fill="none"
97
xmlns="http://www.w3.org/2000/svg"

0 commit comments

Comments
 (0)