irongit

paragraphs populate

huncholanehuncholaneauthored
parent 85150c4commit ed9bafe6639ccade64935aafd041dc3562d20babBrowse files

1 file changed, +11 -19

+11-19pages/team-details.js
@@ -11,6 +11,11 @@ function phoneToLink(phone) {
1111 }
1212
1313 export default function TeamDetails(props) {
14+ const leadingParagraphs = props.paragraphs.slice(
15+ 0,
16+ props.paragraphs.length - 1
17+ );
18+ const trailingParagraph = props.paragraphs[props.paragraphs.length - 1];
1419 return (
1520 <>
1621 <Layout breadcrumbTitle={props.name}>
@@ -91,25 +96,12 @@ export default function TeamDetails(props) {
9196 <div className="col-lg-12">
9297 <div className="team-details-content">
9398 <h3 className="title">Personal Experience and Skills</h3>
94- <p className="info-one">
95- Since joining Sotcox in 2009 .Web design encompasses many
96- different skills and disciplines in the production and
97- maintenance of websites. The different area of web design
98- ki je bolbo as include web graphic design; user interface
99- design (UI design); authoring, including standardised code
100- and proprietary amra kothai jabo assoftware; user
101- experience design (UX design); and search engine
102- optimization. Often many individuals will work in teams
103- covering different aspects of the design process,
104- including writing markup.
105- </p>
106- <p className="info-two">
107- The term "web design" is normally used to describe the
108- design process relating to the front-end (client side)
109- design of a ki holo design ki valo hoy nai website
110- including writing markup. Web design partially overlaps
111- web engineering in the broader scope of web development.
112- </p>
99+ {leadingParagraphs.map((paragraph, index) => (
100+ <p className="info-one" key={`paragraph-${index}`}>
101+ {paragraph}
102+ </p>
103+ ))}
104+ <p className="info-two">{trailingParagraph}</p>
113105 <div className="progress-wrap">
114106 <div className="progress-item">
115107 <h5 className="title">Software Development</h5>