Skip to content

Commit 2b55beb

Browse files
author
Roméo Maignal
committed
fix(Navbar): changed the name of the two first viz
1 parent 3f35a85 commit 2b55beb

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/NavigationBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const topNavItems = [
77
]
88

99
const vizItems = [
10-
{ id: 'section1', label: 'Viz 1' },
11-
{ id: 'section2', label: 'Viz 2' },
10+
{ id: 'section1', label: 'Safety record of aircraft manufacturers' },
11+
{ id: 'section2', label: 'Safety record of airlines' },
1212
{ id: 'section3', label: 'Viz 3' },
1313
{ id: 'section4', label: 'Viz 4' },
1414
{ id: 'section5', label: 'Viz 5' },

src/components/Viz1.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ if (!data.length || !svgRef.current || !chartRef.current) return
254254
<div className="viz-container">
255255
<div className="paragraph">
256256
<p className="section-badge">/ Visualization 01</p>
257-
<h1 className="viz-title">Compare the safety record of aircraft manufacturers</h1>
257+
<h1 className="viz-title">Safety record of aircraft manufacturers</h1>
258258
<p>
259259
Select any combination of manufacturers and see how their incident and fatality records compare year by year, from the dawn of commercial aviation to today.
260260
</p>

src/components/Viz2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ const Viz2: React.FC = () => {
339339

340340
<div className="paragraph">
341341
<p className="section-badge">/ Visualization 02</p>
342-
<h1 className="viz-title">Which airlines have the worst safety record?</h1>
342+
<h1 className="viz-title">Safety record of airlines</h1>
343343
<p>
344344
Each bubble represents one of the top airlines by incident count.
345345
Its size reflects the number of incidents or fatalities in the selected

0 commit comments

Comments
 (0)