-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'alpha' of https://github.com/carrismetropolitana/website …
…into alpha
- Loading branch information
Showing
12 changed files
with
305 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 0 additions & 68 deletions
68
frontend/components/review-2024/Review2024LevelTwo/index.tsx
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
frontend/components/review-2024/Review2024LevelTwoA/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
'use client'; | ||
|
||
/* * */ | ||
|
||
import { Grid } from '@/components/layout/Grid'; | ||
import { Section } from '@/components/layout/Section'; | ||
import { Surface } from '@/components/layout/Surface'; | ||
import { Review2024CardGroup } from '@/components/review-2024/Review2024CardGroup'; | ||
import { useTranslations } from 'next-intl'; | ||
|
||
import styles from './styles.module.css'; | ||
|
||
/* * */ | ||
|
||
export function Review2024LevelTwoA() { | ||
// | ||
|
||
// | ||
// A. Setup variables | ||
|
||
const t = useTranslations('review-2024.Review2024LevelTwo'); | ||
|
||
// | ||
// B. Render components | ||
|
||
return ( | ||
<Surface forceOverflow> | ||
<Section withPadding="desktop" withGap> | ||
<div className={styles.headingWrapper}> | ||
<h2 className={styles.heading}>{t('municipio_growth.heading')}</h2> | ||
<h5 className={styles.subheading}>{t('municipio_growth.subheading')}</h5> | ||
</div> | ||
<Grid columns="abc" withGap> | ||
<Review2024CardGroup groupId="municipio_growth_area_1" /> | ||
<div className={styles.cardGroup}> | ||
<Review2024CardGroup groupId="municipio_growth_area_2" /> | ||
<Review2024CardGroup groupId="municipio_growth_area_3" /> | ||
</div> | ||
<Review2024CardGroup groupId="municipio_growth_area_4" /> | ||
</Grid> | ||
</Section> | ||
</Surface> | ||
); | ||
|
||
// | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
frontend/components/review-2024/Review2024LevelTwoB/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
'use client'; | ||
|
||
/* * */ | ||
|
||
import { Grid } from '@/components/layout/Grid'; | ||
import { Section } from '@/components/layout/Section'; | ||
import { Surface } from '@/components/layout/Surface'; | ||
import { Review2024CardGroup } from '@/components/review-2024/Review2024CardGroup'; | ||
import { useTranslations } from 'next-intl'; | ||
|
||
import styles from './styles.module.css'; | ||
|
||
/* * */ | ||
|
||
export function Review2024LevelTwoB() { | ||
// | ||
|
||
// | ||
// A. Setup variables | ||
|
||
const t = useTranslations('review-2024.Review2024LevelTwo'); | ||
|
||
// | ||
// B. Render components | ||
|
||
return ( | ||
|
||
<Surface> | ||
<Section withPadding="desktop" withGap> | ||
<div className={styles.headingWrapper}> | ||
<h2 className={styles.heading}>{t('municipio_pax.heading')}</h2> | ||
<h5 className={styles.subheading}>{t('municipio_pax.subheading')}</h5> | ||
</div> | ||
<Grid columns="abc" withGap> | ||
<Review2024CardGroup groupId="municipio_pax_area_1" /> | ||
<div className={styles.cardGroup}> | ||
<Review2024CardGroup groupId="municipio_pax_area_2" /> | ||
<Review2024CardGroup groupId="municipio_pax_area_3" /> | ||
</div> | ||
<Review2024CardGroup groupId="municipio_pax_area_4" /> | ||
</Grid> | ||
</Section> | ||
|
||
</Surface> | ||
|
||
); | ||
|
||
// | ||
} |
37 changes: 37 additions & 0 deletions
37
frontend/components/review-2024/Review2024LevelTwoB/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* * */ | ||
/* HEADINGS */ | ||
|
||
.headingWrapper { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--size-spacing-5); | ||
align-items: flex-start; | ||
justify-content: flex-start; | ||
width: 100%; | ||
} | ||
|
||
@media (width <= 650px) { | ||
.headingWrapper { | ||
padding: var(--size-spacing-20); | ||
padding-bottom: 0; | ||
padding-left: var(--size-spacing-25); | ||
} | ||
} | ||
|
||
.heading { | ||
font-size: 20px; | ||
font-weight: var(--font-weight-semibold); | ||
color: var(--color-system-text-100); | ||
} | ||
|
||
.subheading { | ||
font-size: 14px; | ||
font-weight: var(--font-weight-medium); | ||
color: var(--color-system-text-300); | ||
} | ||
|
||
.cardGroup { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--size-spacing-10); | ||
} |
48 changes: 48 additions & 0 deletions
48
frontend/components/review-2024/Review2024LevelTwoC/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
'use client'; | ||
|
||
/* * */ | ||
|
||
import { Grid } from '@/components/layout/Grid'; | ||
import { Section } from '@/components/layout/Section'; | ||
import { Surface } from '@/components/layout/Surface'; | ||
import { Review2024CardGroup } from '@/components/review-2024/Review2024CardGroup'; | ||
import { useTranslations } from 'next-intl'; | ||
|
||
import styles from './styles.module.css'; | ||
|
||
/* * */ | ||
|
||
export function Review2024LevelTwoC() { | ||
// | ||
|
||
// | ||
// A. Setup variables | ||
|
||
const t = useTranslations('review-2024.Review2024LevelTwo'); | ||
|
||
// | ||
// B. Render components | ||
|
||
return ( | ||
|
||
<Surface> | ||
<Section withPadding="desktop" withGap> | ||
<div className={styles.headingWrapper}> | ||
<h2 className={styles.heading}>{t('municipio_lines.heading')}</h2> | ||
<h5 className={styles.subheading}>{t('municipio_lines.subheading')}</h5> | ||
</div> | ||
<Grid columns="abc" withGap> | ||
<Review2024CardGroup groupId="municipio_lines_area_1" /> | ||
<div className={styles.cardGroup}> | ||
<Review2024CardGroup groupId="municipio_lines_area_2" /> | ||
<Review2024CardGroup groupId="municipio_lines_area_3" /> | ||
</div> | ||
<Review2024CardGroup groupId="municipio_lines_area_4" /> | ||
</Grid> | ||
</Section> | ||
|
||
</Surface> | ||
); | ||
|
||
// | ||
} |
37 changes: 37 additions & 0 deletions
37
frontend/components/review-2024/Review2024LevelTwoC/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* * */ | ||
/* HEADINGS */ | ||
|
||
.headingWrapper { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--size-spacing-5); | ||
align-items: flex-start; | ||
justify-content: flex-start; | ||
width: 100%; | ||
} | ||
|
||
@media (width <= 650px) { | ||
.headingWrapper { | ||
padding: var(--size-spacing-20); | ||
padding-bottom: 0; | ||
padding-left: var(--size-spacing-25); | ||
} | ||
} | ||
|
||
.heading { | ||
font-size: 20px; | ||
font-weight: var(--font-weight-semibold); | ||
color: var(--color-system-text-100); | ||
} | ||
|
||
.subheading { | ||
font-size: 14px; | ||
font-weight: var(--font-weight-medium); | ||
color: var(--color-system-text-300); | ||
} | ||
|
||
.cardGroup { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--size-spacing-10); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.