Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/frontend/cypress-14.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ChelseaKR authored Jan 31, 2025
2 parents 9f8a8d9 + 5581e11 commit 4a69b0e
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 39 deletions.
24 changes: 15 additions & 9 deletions frontend/src/career-pathways-page/CareerPathwaysPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,12 @@ export const CareerPathwaysPage = (props: Props): ReactElement<Props> => {
<div className="content">
<Heading level={1}>
{content.banner.title}
<span className="tag-item color-navy" data-tooltip-id="beta-tooltip"
data-tooltip-content={content.betaToolTip}>
<Info/> Beta
<span
className="tag-item color-navy"
data-tooltip-id="beta-tooltip"
data-tooltip-content={content.betaToolTip}
>
<Info /> Beta
</span>
<Tooltip id="beta-tooltip" className="custom-tooltip" />
</Heading>
Expand All @@ -149,12 +152,15 @@ export const CareerPathwaysPage = (props: Props): ReactElement<Props> => {
<IndustrySelector />
<section className="body-copy">
<div className="container">
<div
className="content"
dangerouslySetInnerHTML={{
__html: parseMarkdownToHTML(`${content.markdownSection}`),
}}
/>
{content.copySections.map((section, index) => (
<div
key={section}
className={`content content-block section-${index + 1}`}
dangerouslySetInnerHTML={{
__html: parseMarkdownToHTML(`${section}`),
}}
/>
))}
</div>
</section>
<section className="contact-cta">
Expand Down
40 changes: 20 additions & 20 deletions frontend/src/career-pathways-page/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const content = {
description:
"Explore career pathways in the field of Manufacturing in the state of New Jersey.",
drawerDescription:
"Everything that doesnt exist in nature has to be manufactured, such as candy bars, apparel and shoes, airplanes, and wind turbines. Simply put, manufacturing means “making things.”",
"Everything that doesn't exist in nature has to be manufactured, such as candy bars, apparel and shoes, airplanes, and wind turbines. Simply put, manufacturing means “making things.”",
drawerCards: [
{
icon: "manufacturing" as SelectorProps["name"],
Expand All @@ -43,11 +43,11 @@ You can actually see the outcome of your work in a tangible object. People who w
title: "Top Manufacturing Sectors",
copy: `### Food
Food manufacturers pick New Jersey because the state is at the center of one of the nations largest metropolitan areas. And so, food produced in New Jersey easily reaches millions of people. Our state is home to some of the worlds leading food brands like Campbells Soup, Mars Bars, M&Ms, and Nabisco all made right here in the state. New and upcoming brands like Oatly and Bai started here too.
Food manufacturers pick New Jersey because the state is at the center of one of the nation's largest metropolitan areas. And so, food produced in New Jersey easily reaches millions of people. Our state is home to some of the world's leading food brands like Campbells Soup, Mars Bars, M&Ms, and Nabisco - all made right here in the state. New and upcoming brands like Oatly and Bai started here too.
### Pharmaceuticals
New Jersey is known as “The Medicine Chest of the World” because of its importance to the global pharmaceutical industry. Novartis, Merck & Co., Johnson & Johnson, Bristol-Myers Squibb, Novo Nordisk, and Bayer Healthcare are among the states leading firms in the industry. Pharmaceutical companies are in New Jersey because the state has a highly educated workforce, including scientists.
New Jersey is known as “The Medicine Chest of the World” because of its importance to the global pharmaceutical industry. Novartis, Merck & Co., Johnson & Johnson, Bristol-Myers Squibb, Novo Nordisk, and Bayer Healthcare are among the state's leading firms in the industry. Pharmaceutical companies are in New Jersey because the state has a highly educated workforce, including scientists.
### Fabricated Metals
Expand Down Expand Up @@ -78,21 +78,21 @@ There are jobs for people at all education levels.
### Well Paid Meaningful Work
You can make a meaningful difference in peoples lives while earning a living.`,
You can make a meaningful difference in people's lives while earning a living.`,
},
{
title: "Top Healthcare Sectors",
copy: `### Hospitals
Hospitals provide people with inpatient care. The most common type of hospital is a general hospital, which typically has an emergency department, operating rooms, diagnostic rooms, and rooms where patients receive treatment and recuperate. Doctors, nurses and other healthcare professionals often receive education in hospitals. Hospitals are also important places for clinical research.
### Doctors and Dentists Offices
### Doctors' and Dentists' Offices
Doctors and dentists offices are just two of many types of outpatient or ambulatory care settings. Other types include diagnostic laboratories, urgent care centers, same-day surgery centers, and rehabilitation centers.
Doctors' and dentists' offices are just two of many types of outpatient or ambulatory care settings. Other types include diagnostic laboratories, urgent care centers, same-day surgery centers, and rehabilitation centers.
### Nursing and Residential Care
People who need 24-hour supervision, but dont need to be hospitalized stay in nursing and residential care settings. The care they receive can be a mix of health and social services. Health services provided in nursing and residential care settings are often provided by skilled nurses.`,
People who need 24-hour supervision, but don't need to be hospitalized stay in nursing and residential care settings. The care they receive can be a mix of health and social services. Health services provided in nursing and residential care settings are often provided by skilled nurses.`,
},
],
},
Expand All @@ -105,7 +105,7 @@ People who need 24-hour supervision, but don’t need to be hospitalized stay in
description:
"Pathways for this sector are in development but you can still explore the most in-demand TDL occupations.",
drawerDescription:
"Be an important part of our nations supply chain with a career in transportation, distribution, and logistics (TDL). The diverse range of job roles and responsibilities listed below represent the latest in-demand TDL positions in the state of New Jersey.",
"Be an important part of our nation's supply chain with a career in transportation, distribution, and logistics (TDL). The diverse range of job roles and responsibilities listed below represent the latest in-demand TDL positions in the state of New Jersey.",
drawerCards: [
{
icon: "tdl" as SelectorProps["name"],
Expand All @@ -116,7 +116,7 @@ Many jobs in transportation distribution and logistics offer long-term employmen
### For a variety of interests
The industry offers opportunities for people who like working with customers flight attendants and train conductors, for example - as well as people who like to build and fix things and solve problems, like engineers, service technicians, and mechanics.
The industry offers opportunities for people who like working with customers - flight attendants and train conductors, for example - as well as people who like to build and fix things and solve problems, like engineers, service technicians, and mechanics.
### Important Contribution
Expand All @@ -126,7 +126,7 @@ Transportation disctribulation and logistics are all critical to the economy and
title: "Top Manufacturing Sectors",
copy: `### Air Transportation
Aircraft are used to move passengers or cargo. They can be scheduled or on-demand and the companies that run them range in size from major airlines to regional carriers. New Jersey is home to three commercial airports Newark Liberty, Trenton Mercer, and Atlantic City - eight airports that support corporate and private-use general aviation activities, 30 other public-use airports, one seaplane base, as well as several heliports and balloon ports.
Aircraft are used to move passengers or cargo. They can be scheduled or on-demand and the companies that run them range in size from major airlines to regional carriers. New Jersey is home to three commercial airports - Newark Liberty, Trenton Mercer, and Atlantic City - eight airports that support corporate and private-use general aviation activities, 30 other public-use airports, one seaplane base, as well as several heliports and balloon ports.
### Road Trucking
Expand All @@ -140,39 +140,39 @@ Warehousing is the process of storing physical inventory for sale or distributio
},
],
},
markdownSection: `## Career Pathways and Industry Sectors—what’s the difference, exactly?
copySections: [
`## Career Pathways and Industry Sectors—what's the difference, exactly?
### Think of Career Pathways as a GPS.
Career Pathways offers the best route to reach your career destination, outlining the steps you need to take to get where you want to go, including education, training, and upskilling.
### Think of Industry Sector Information as a guidebook.
Industry Sector Information provides an overview of various industries, including a snapshot of the job market. Heres some of the helpful information youll find:
Industry Sector Information provides an overview of various industries, including a snapshot of the job market. Here's some of the helpful information you'll find:
- Types of jobs
- Salary expectations
- Specific skills in high demand
- Companies that are the major players
- Potential for Industry growth
- Potential for Industry growth`,
`## It's important to make informed choices. See how Career Pathways and Industry Sector Information can help.
## It’s important to make informed choices. See how Career Pathways and Industry Sector Information can help.
Through Career Pathways and Industry Sector Information, you’ll be able to make impactful, data-driven decisions. For instance, if you choose to explore the Manufacturing Career Pathway, you’ll discover:
Through Career Pathways and Industry Sector Information, you'll be able to make impactful, data-driven decisions. For instance, if you choose to explore the Manufacturing Career Pathway, you'll discover:
- Information about the most in-demand manufacturing jobs in New Jersey
- Insights from over 40 manufacturing companies throughout New Jersey
- Valuable data about available jobs
- The skills, education, and experience you need to get started.
## Our legwork can help you get a leg up in your career.
- The skills, education, and experience you need to get started.`,
` ## Our legwork can help you get a leg up in your career.
Our data comes from trusted sources with the most up-to-date information:
- Experienced New Jersey labor market analysts who study job trends
- Actual New Jersey employers
- Recent employment and wage surveys
Everyone’s career path is different. With Career Pathways and Industry Sector Information, you’ll have what you need to help you move forward successfully.`,
Everyone's career path is different. With Career Pathways and Industry Sector Information, you'll have what you need to help you move forward successfully.`,
],
cta: {
heading: "Still have a question about My Career NJ?",
button: {
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ export const Header = (data: { mainNav?: NavMenuData; globalNav?: NavMenuData })
icons={true}
url="/contact"
/>
{process.env.REACT_APP_SIGNUP_FOR_UPDATES === 'true' ?
<SignUpFormModal />
: <></>}
</div>
</div>
</div>
Expand Down
43 changes: 37 additions & 6 deletions frontend/src/styles/pages/_career-pathways.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,48 @@

.body-copy {
padding: $size-96 0;
max-width: $tablet-lg;
margin: 0 auto;

.content {
* {
margin: 0;
line-height: 1.3;
.container {
display: flex;
flex-direction: column;
gap: $size-48;

@media screen and (max-width: ($tablet-md - 1)) {
gap: $size-32;
}

@media screen and (max-width: ($mobile-lg - 1)) {
gap: $size-16;
}
}

.content {
display: flex;
flex-direction: column;
gap: $size-24;

&.content-block {
border-radius: $size-16;
padding: $size-32;
}

&.section-1 {
background-color: $primary-extra-light;
}

&.section-2 {
background-color: $tertiary-extra-light;
}

&.section-3 {
background-color: $secondary-extra-light;
}

* {
margin: 0;
line-height: 1.3;
}
}

h2 {
Expand All @@ -85,6 +115,7 @@

h3 {
font-size: $size-22;
font-weight: bold;

@media screen and (max-width: ($tablet-md - 1)) {
font-size: $size-18;
Expand Down Expand Up @@ -128,4 +159,4 @@
width: 250px !important;
padding: 12px !important;
line-height: 1.3rem !important;
}
}
12 changes: 10 additions & 2 deletions frontend/src/styles/pages/_training-explorer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
font-size: $size-48;

@media screen and (max-width: ($tablet-md)) {
font-size: $size-32;
font-size: $size-40;
margin-bottom: $size-32;
}
}
Expand All @@ -99,11 +99,19 @@
line-height: 1.5;

.heading {
font-size: $size-24;
font-size: $size-32;

@media screen and (max-width: ($tablet-md)) {
font-size: $size-24;
}
}

p {
line-height: 1.2;

@media screen and (min-width: ($tablet-md + 1)) {
font-size: $size-18;
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/styles/system.scss
Original file line number Diff line number Diff line change
Expand Up @@ -483,14 +483,14 @@ $primary-darker: $blue-warm-80v;
$secondary: $green-cool-50v;
$secondary-light: $green-cool-20;
$secondary-lighter: $green-cool-10;
$secondary-extra-light: #f6f9f6;
$secondary-extra-light: #ecf3ec;
$secondary-vivid: $green-cool-60v;
$secondary-dark: $green-cool-70v;
$secondary-darker: $green-cool-80v;
$tertiary: $indigo-50;
$tertiary-light: $indigo-30;
$tertiary-lighter: $indigo-cool-5v;
$tertiary-extra-light: #f8f8ff;
$tertiary-extra-light: #edf0ff;
$tertiary-vivid: $indigo-50v;
$tertiary-dark: $indigo-60v;
$tertiary-darker: $indigo-70v;
Expand Down

0 comments on commit 4a69b0e

Please sign in to comment.