0
That is the code
import React, {Component} from 'react';
const content = {
title: `Cl<span className="mask">i</span>entes`,
description: 'Veja abaixo nossos clientes!'
}
export default class Hero extends React.Component {
render() {
return (
<div id="hero">
{content.map((item) => (
<div class="hero-content">
<div class="hero-header">
<h1>{item.title}</h1>
<h2>{item.description}</h2>
</div>
</div>
))};
</div>
);
}
}
And here’s the image of how it’s being displayed:
Thank you @André Luis
– Js Dev