forked from UKSOURCE/hailearning.edu.vn
refactor ui and json data about
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { AboutData } from '../../about/types';
|
||||
import { AboutData } from "../../about/types";
|
||||
|
||||
interface AboutIntroProps {
|
||||
data: AboutData['intro'];
|
||||
data: AboutData["intro"];
|
||||
}
|
||||
|
||||
const AboutIntro = ({ data }: AboutIntroProps) => {
|
||||
@@ -10,14 +10,10 @@ const AboutIntro = ({ data }: AboutIntroProps) => {
|
||||
<div className="container">
|
||||
<div className="section-title-area">
|
||||
<div className="section-title">
|
||||
<span className="sub-title-2 wow fadeInUp">Company Intro</span>
|
||||
<h2 className="split-text-right split-text-in-right">
|
||||
{data.heading}
|
||||
</h2>
|
||||
<span className="sub-title-2 wow fadeInUp">{data.subheading}</span>
|
||||
<h2 className="split-text-right split-text-in-right">{data.heading}</h2>
|
||||
</div>
|
||||
<p>
|
||||
{data.description}
|
||||
</p>
|
||||
<p>{data.description}</p>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="intro-image tp-clip-anim p-relative">
|
||||
|
||||
Reference in New Issue
Block a user