Skip to content
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

DBC22-1883 #334

Merged
merged 1 commit into from
Mar 20, 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
7 changes: 7 additions & 0 deletions src/frontend/src/Components/advisories/AdvisoriesList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,11 @@
.timestamp-container--mobile {
display: none;
}
}

.empty-advisory-display {
h2 {
margin-bottom: 2rem;
color: $BC-Blue;
}
}
26 changes: 11 additions & 15 deletions src/frontend/src/Components/advisories/EmptyAdvisory.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,16 @@ import Container from 'react-bootstrap/Container';
export default function EmptyAdvisory() {
// Rendering
return (
<div>
<h4 className='advisory-li-title'>No advisories are active at the moment</h4>
<Container className="advisory-body-container cms-body">
<div className="advisory-body-container cms-body container">
<p>
If there are widespread travel advisories, they will be posted here to give you guidance on:
</p>
<ul>
<li>how to navigate safely through the affected area</li>
<li>where to detour if available, and</li>
<li>keep you informed with the most up-to-date information we have.</li>
</ul>
</div>
</Container>
</div>
<Container className="empty-advisory-display">
<h2>No advisories are active at the moment</h2>
<p>
If there are widespread travel advisories, they will be posted here to give you guidance on:
</p>
<ul>
<li>how to navigate safely through the affected area</li>
<li>where to detour if available, and</li>
<li>keep you informed with the most up-to-date information we have.</li>
</ul>
</Container>
);
}
6 changes: 6 additions & 0 deletions src/frontend/src/Components/bulletins/BulletinsList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@
cursor: pointer;
width: fit-content;
}
}
.empty-bulletin-display {
h2 {
margin-bottom: 2rem;
color: $BC-Blue;
}
}
20 changes: 8 additions & 12 deletions src/frontend/src/Components/bulletins/EmptyBulletin.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@ import Container from 'react-bootstrap/Container';
export default function EmptyBulletin() {
// Rendering
return (
<div>
<h4 className='bulletin-li-title'>No bulletins at the moment</h4>
<Container className="bulletin-body-container cms-body">
<div className="bulletin-body-container cms-body container">
<p>
There are currently no bulletins to display.
As we continue to evolve DriveBC to better meet the needs of British Columbians,
watch this space for updates as they come!
</p>
</div>
</Container>
</div>
<Container className="empty-advisory-display">
<h2>No bulletins at the moment</h2>
<p>
There are currently no bulletins to display.
As we continue to evolve DriveBC to better meet the needs of British Columbians,
watch this space for updates as they come!
</p>
</Container>
);
}
Loading