Skip to content
Merged
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
37 changes: 37 additions & 0 deletions client/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ const Header = styled.h1`
align-items: center;
justify-content: center;
gap: 16px;

@media (max-width: 1212px){
font-size: 36px;
gap: 12px;
letter-spacing: 2px;
}

@media (max-width: 768px) {
font-size: 36px;
Expand All @@ -46,6 +52,12 @@ const Header = styled.h1`
letter-spacing: 1px;
gap: 8px;
}
@media (max-width: 380px) {
font-size: 20px;
letter-spacing: 1px;
gap: 8px;
}

`;

const Description = styled.p`
Expand All @@ -59,6 +71,9 @@ const Description = styled.p`
strong {
font-family: 'Gilroy-Bold', sans-serif;
}
@media (max-width: 320px) {
font-size: 14px;
}
`;

const HeaderBold = styled.span`
Expand Down Expand Up @@ -86,6 +101,8 @@ const ByACM = styled.span`
font-size: 12px;
margin-left: 6px;
}


`;

const Logo = {
Expand Down Expand Up @@ -131,6 +148,23 @@ const ThemeToggle = styled.button`
}
`;

const LogoWrapper = styled.div`
width: 52px;
height: 52px;
flex-shrink: 0;

@media (max-width: 768px) {
width: 40px;
height: 40px;
}

@media (max-width: 480px) {
width: 34px;
height: 34px;
}
`;


const SunIcon = () => (
<svg
fill="none"
Expand Down Expand Up @@ -209,13 +243,16 @@ export default function Home() {
<Col lg={{ span: 10, offset: 7 }} xs={{ span: 20, offset: 2 }}>
<FadeIn delay={0}>
<Header>
<LogoWrapper>
<Image
src={theme === "light" ? "/ACMDev-logo.svg" : "/ACMDev-logo-white.svg"}
alt="ACM Dev Logo"
width={52}
height={52}
style={Logo}
/>
</LogoWrapper>

<div>
<HeaderBold>UTD</HeaderBold> <HeaderLight>GRADES</HeaderLight>
<ByACM>by <HeaderBold>ACM Dev</HeaderBold></ByACM>
Expand Down