Skip to content

Commit

Permalink
fix: console errors + warning. Numbers animation home. Home style fix (
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro100 authored Aug 16, 2024
1 parent 32a01dc commit 6b62a3c
Show file tree
Hide file tree
Showing 12 changed files with 515 additions and 417 deletions.
1 change: 1 addition & 0 deletions web-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"leaflet": "^1.9.4",
"openapi-fetch": "^0.9.3",
"react": "^17.0.0 || ^18.0.0",
"react-animated-numbers": "^0.18.0",
"react-dom": "^17.0.0 || ^18.0.0",
"react-ga4": "^2.1.0",
"react-google-recaptcha": "^3.1.0",
Expand Down
22 changes: 11 additions & 11 deletions web-app/src/app/screens/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export default function APIAccount(): React.ReactElement {
</Typography>
<Typography variant='body1'>
{user?.email !== undefined && user?.email !== '' ? (
<Typography variant='body1'>
<Typography variant='body1' component={'span'}>
<b>{t('common:email')}:</b>{' '}
{' ' + user?.email ?? t('common:unknown')}
</Typography>
Expand Down Expand Up @@ -484,21 +484,21 @@ export default function APIAccount(): React.ReactElement {
{t('accessToken.description.pt2')}
</Typography>
<Paper elevation={3} id='code-block'>
<div
style={{
<Box
sx={{
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
marginBottom: '10px',
}}
>
<div>
<Box>
<Typography variant='h6'>
{t('accessToken.generate')}
</Typography>

<Typography>{t('accessToken.copy')}</Typography>
</div>
</Box>
<Tooltip title={accountState.codeBlockTooltip}>
<IconButton
color='inherit'
Expand All @@ -512,7 +512,7 @@ export default function APIAccount(): React.ReactElement {
<ContentCopyOutlined fontSize='small' />
</IconButton>
</Tooltip>
</div>
</Box>
<Typography id='code-block-content'>
<span style={{ ...theme.mixins.code.command }}>curl</span>{' '}
--location &apos;{apiURL}/tokens&apos;
Expand Down Expand Up @@ -687,21 +687,21 @@ export default function APIAccount(): React.ReactElement {
</Box>
)}
<Paper elevation={3} id='code-block'>
<div
style={{
<Box
sx={{
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
marginBottom: '10px',
}}
>
<div>
<Box>
<Typography variant='h6'>
{t('accessToken.testing.api')}
</Typography>

<Typography>{t('accessToken.testing.copyCli')}</Typography>
</div>
</Box>
<Tooltip title={accountState.codeBlockTooltip}>
<IconButton
color='inherit'
Expand All @@ -715,7 +715,7 @@ export default function APIAccount(): React.ReactElement {
<ContentCopyOutlined fontSize='small' />
</IconButton>
</Tooltip>
</div>
</Box>
<Typography id='code-block-content'>
<span style={{ color: '#ff79c6', fontWeight: 'bold' }}>
curl
Expand Down
163 changes: 82 additions & 81 deletions web-app/src/app/screens/Contribute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,19 +151,19 @@ export default function Contribute(): React.ReactElement {
information, transit providers should add a new feed on the catalogs
when there are major changes to their URL. Examples of changes
include:
<ul>
<li>The feed URL changes</li>
<li>
The feed is combined with several other feeds (for example:
several providers&apos; feeds are combined together)
</li>
<li>
The feed is split from a combined/aggregated feed (for example:
a provider whose GTFS was only available in an aggregate feed
now has their own independent feed)
</li>
</ul>
</Typography>
<Box component='ul' sx={{ typography: 'body1' }}>
<li>The feed URL changes</li>
<li>
The feed is combined with several other feeds (for example:
several providers&apos; feeds are combined together)
</li>
<li>
The feed is split from a combined/aggregated feed (for example: a
provider whose GTFS was only available in an aggregate feed now
has their own independent feed)
</li>
</Box>
<Typography className='question'>
Who can contribute a feed?
</Typography>
Expand Down Expand Up @@ -241,61 +241,62 @@ export default function Contribute(): React.ReactElement {
<br />
<br />
<b>Organizations:</b>
<ul style={{ marginTop: 0 }}>
<li>Adelaide Metro</li>
<li>Bettendorf Transit</li>
<li>Bi-State Regional Commission</li>
<li>BreizhGo</li>
<li>Cal-ITP</li>
<li>Commerce Municipal Bus Lines</li>
<li>Corpus Christi Regional Transportation Authority</li>
<li>County of Hawai’i Mass Transit Agency</li>
<li>DART Delaware</li>
<li>
Department of Municipalities and Transport, Abu Dhabi, United
Arab Emirates
</li>
<li>Development Bank of Latin America (CAF)</li>
<li>Digital Transport for Africa (DT4A)</li>
<li>ECO Transit</li>
<li>Eismo Info</li>
<li>Entur AS</li>
<li>GTFS.be</li>
<li>Garnet Consultants</li>
<li>Golden Gate Bridge Highway Transit District</li>
<li>High Valley Transit</li>
<li>Kitsap Transit</li>
<li>Kuzzle</li>
<li>Metro Christchurch</li>
<li>Metro de Málaga</li>
<li>Passio Technologies</li>
<li>Pinpoint AVL</li>
<li>Port Phillip Ferries</li>
<li>Redmon Group</li>
<li>Rhode Island Public Transit Authority (RIPTA)</li>
<li>Rhode Island Public Transit Authority (RIPTA)</li>
<li>Rio de Janeiro City Hall</li>
<li>Rochester-Genesee Regional Transportation Authority</li>
<li>Roma Mobilita</li>
<li>SFMTA</li>
<li>SMMAG</li>
<li>San Francisco Municipal Transportation Agency (SFMTA)</li>
<li>San Luis Obispo Regional Transit Authority</li>
<li>Santiago Directorio de Transporte Público Metropolitano</li>
<li>Skedgo</li>
<li>Société nationale des chemins de fer français (SNCF)</li>
<li>Sound Transit</li>
<li>Springfield Mass Transit District (SMTD)</li>
<li>Ticpoi</li>
<li>Transcollines</li>
<li>Transport for Cairo</li>
<li>Two Sigma Data Clinic</li>
<li>UCSC Transporation and Parking Services</li>
<li>Unobus</li>
<li>Volánbusz</li>
<li>Walker Consultants</li>
</ul>
<br /> <br />
</Typography>
<Box component='ul' sx={{ typography: 'body1' }}>
<li>Adelaide Metro</li>
<li>Bettendorf Transit</li>
<li>Bi-State Regional Commission</li>
<li>BreizhGo</li>
<li>Cal-ITP</li>
<li>Commerce Municipal Bus Lines</li>
<li>Corpus Christi Regional Transportation Authority</li>
<li>County of Hawai’i Mass Transit Agency</li>
<li>DART Delaware</li>
<li>
Department of Municipalities and Transport, Abu Dhabi, United Arab
Emirates
</li>
<li>Development Bank of Latin America (CAF)</li>
<li>Digital Transport for Africa (DT4A)</li>
<li>ECO Transit</li>
<li>Eismo Info</li>
<li>Entur AS</li>
<li>GTFS.be</li>
<li>Garnet Consultants</li>
<li>Golden Gate Bridge Highway Transit District</li>
<li>High Valley Transit</li>
<li>Kitsap Transit</li>
<li>Kuzzle</li>
<li>Metro Christchurch</li>
<li>Metro de Málaga</li>
<li>Passio Technologies</li>
<li>Pinpoint AVL</li>
<li>Port Phillip Ferries</li>
<li>Redmon Group</li>
<li>Rhode Island Public Transit Authority (RIPTA)</li>
<li>Rhode Island Public Transit Authority (RIPTA)</li>
<li>Rio de Janeiro City Hall</li>
<li>Rochester-Genesee Regional Transportation Authority</li>
<li>Roma Mobilita</li>
<li>SFMTA</li>
<li>SMMAG</li>
<li>San Francisco Municipal Transportation Agency (SFMTA)</li>
<li>San Luis Obispo Regional Transit Authority</li>
<li>Santiago Directorio de Transporte Público Metropolitano</li>
<li>Skedgo</li>
<li>Société nationale des chemins de fer français (SNCF)</li>
<li>Sound Transit</li>
<li>Springfield Mass Transit District (SMTD)</li>
<li>Ticpoi</li>
<li>Transcollines</li>
<li>Transport for Cairo</li>
<li>Two Sigma Data Clinic</li>
<li>UCSC Transporation and Parking Services</li>
<li>Unobus</li>
<li>Volánbusz</li>
<li>Walker Consultants</li>
</Box>
<Typography>
<b>Individuals:</b> <br />
If you are listed here and would like to add your organization,{' '}
<a
Expand All @@ -306,21 +307,21 @@ export default function Contribute(): React.ReactElement {
let MobilityData know
</a>
.
<ul style={{ marginTop: 0 }}>
<li>@1-Byte on GitHub</li>
<li>Allan Fernando</li>
<li>Eloi Torrents</li>
<li>Florian Maunier</li>
<li>Gábor Kovács</li>
<li>Jessica Rapson</li>
<li>Joop Kiefte</li>
<li>Justin Brooks</li>
<li>Kevin Butler</li>
<li>Kovács Áron</li>
<li>Oliver Hattshire</li>
<li>Saipraneeth Devunuri</li>
</ul>
</Typography>
<Box component='ul' sx={{ typography: 'body1' }}>
<li>@1-Byte on GitHub</li>
<li>Allan Fernando</li>
<li>Eloi Torrents</li>
<li>Florian Maunier</li>
<li>Gábor Kovács</li>
<li>Jessica Rapson</li>
<li>Joop Kiefte</li>
<li>Justin Brooks</li>
<li>Kevin Butler</li>
<li>Kovács Áron</li>
<li>Oliver Hattshire</li>
<li>Saipraneeth Devunuri</li>
</Box>
</Box>
</Box>
</Container>
Expand Down
Loading

0 comments on commit 6b62a3c

Please sign in to comment.