forked from UKSOURCE/hailearning.edu.vn
refactor ui and json data about
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
import {
|
||||
AboutHero,
|
||||
AboutIntro,
|
||||
AboutMission,
|
||||
AboutStats,
|
||||
AboutTeam,
|
||||
AboutFeatures,
|
||||
AboutNews
|
||||
} from '../components/about';
|
||||
import aboutData from './about.json';
|
||||
import { AboutHero, AboutIntro, AboutMission, AboutFeatures, AboutNews } from "../components/about";
|
||||
import aboutData from "./about.json";
|
||||
|
||||
export default function AboutPage() {
|
||||
return (
|
||||
@@ -15,10 +7,8 @@ export default function AboutPage() {
|
||||
<AboutHero data={aboutData.hero} />
|
||||
<AboutIntro data={aboutData.intro} />
|
||||
<AboutMission data={aboutData.mission} />
|
||||
<AboutStats data={aboutData.stats} />
|
||||
<AboutTeam data={aboutData.team} />
|
||||
<AboutFeatures />
|
||||
<AboutNews />
|
||||
<AboutFeatures data={aboutData.features} />
|
||||
<AboutNews data={aboutData.news} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user