Skip to content

[Feature]: Privacy Page #55

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

Merged
merged 5 commits into from
Jul 14, 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
113 changes: 60 additions & 53 deletions src/app/code-of-conduct/code-of-conduct.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,169 +3,176 @@
.code-of-conduct {

@include tablet {
padding: 0 98px;
padding: 0 6.125rem;
}

@include mobile {
padding: 0 16px;
padding: 0 1rem;
}

&__heading-container {
padding: 96px 0;
text-align: center;
padding: 6rem 0;

@include tablet {
padding: 48px 0;
padding: 3rem 0;
}

@include mobile {
padding: 32px 0;
padding: 2rem 0;
}
}

&__heading {
font-family: inherit;
font-size: 2.75rem;
line-height: 3.4375rem;
font-weight: 600;
color: $heading-color-primary;
}

&__main-wrapper {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
gap: 64px;
padding: 64px 0;
gap: 4rem;
padding: 4rem 0;

@include tablet {
gap: 32px;
padding: 48px 0;
gap: 2rem;
padding: 3rem 0;
}

@include mobile {
padding: 32px 0;
padding: 2rem 0;
}
}

&__wrapper {
display: flex;
flex-direction: column;
gap: 32px;
gap: 2rem;

@include tablet {
gap: 24px;
gap: 1.5rem;
}
}

&__sub-heading {
font-family: inherit;
font-size: 32px;
line-height: 40px;
font-size: 2rem;
line-height: 2.5rem;
font-weight: 600;
color: $heading-color-primary;
color: $navbar-text-color;

@include tablet {
font-size: 28px;
line-height: 35px;
font-size: 1.75rem;
line-height: 2.1875rem;
}

@include mobile {
font-size: 24px;
line-height: 30px;
font-size: 1.5rem;
line-height: 1.875rem;
}
}

&__text {
font-family: inherit;
font-size: 28px;
line-height: 35px;
font-size: 1.75rem;
line-height: 2.1875rem;
font-weight: 500;
color: $heading-color-secondary;
color: $navbar-text-color;

@include tablet {
font-size: 24px;
line-height: 30px;
font-size: 1.5rem;
line-height: 1.875rem;
}

@include mobile {
font-size: 20px;
line-height: 25px;
font-size: 1.25rem;
line-height: 1.5625rem;
}
}

&__list {
display: flex;
flex-direction: column;
gap: 12px;
gap: 0.75rem;
}

&__list-item {
font-family: inherit;
font-size: 24px;
font-size: 1.5rem;
font-weight: 500;
line-height: 30px;
color: $heading-color-secondary;
line-height: 1.875rem;
color: $navbar-text-color;

@include tablet {
font-size: 20px;
line-height: 25px;
font-size: 1.25rem;
line-height: 1.5625rem;
}
}

&__list-text {
font-family: inherit;
font-size: 24px;
font-size: 1.5rem;
font-weight: 500;
line-height: 30px;
color: $heading-color-secondary;
line-height: 1.875rem;
color: $navbar-text-color;

@include tablet {
font-size: 20px;
line-height: 25px;
font-size: 1.25rem;
line-height: 1.5625rem;
}
}

&__tertiary-heading {
font-family: inherit;
font-size: 28px;
line-height: 35px;
font-size: 1.75rem;
line-height: 2.1875rem;
font-weight: 700;
color: $heading-color-secondary;
color: $navbar-text-color;

@include tablet {
font-size: 24px;
line-height: 30px;
font-size: 1.5rem;
line-height: 1.875rem;
}

@include mobile {
font-size: 20px;
line-height: 25px;
font-size: 1.25rem;
line-height: 1.5625rem;
}
}

&__reporting-template {
max-width: 800px;
padding: 16px;
padding: 1rem;
box-shadow: 0px 10px 20px -3px rgba(16, 24, 40, 0.10), 0px 4px 6px -4px rgba(16, 24, 40, 0.10);
align-self: center;
display: flex;
flex-direction: column;
gap: 16px;
gap: 1rem;
}

&__note {
padding: 96px 0;
padding: 6rem 0;

@include tablet {
padding: 48px 0;
padding: 3rem 0;
}

@include mobile {
padding: 32px 0;
padding: 2rem 0;
}
}

&__note-text {
font-family: inherit;
font-size: 28px;
line-height: 35px;
font-size: 1.75rem;
line-height: 2.1875rem;
font-weight: 600;
color: $text-color-primary;
padding-top: 16px;
padding-top: 1rem;
border-top: 1.6px solid $divider-color-secondary;
}
}
2 changes: 1 addition & 1 deletion src/app/code-of-conduct/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function CodeOfConduct() {
return (
<Container className="code-of-conduct">
<Box className="code-of-conduct__heading-container">
<Typography variant="h1" className="page-heading">
<Typography variant="h1" className="code-of-conduct__heading">
CodeForBC is a space for everyone.
</Typography>
</Box>
Expand Down
Loading
Loading