refactoring home
This commit is contained in:
parent
0d7b760f91
commit
328c3f3181
|
|
@ -1,10 +1,10 @@
|
||||||
import Menu from "../components/Menu";
|
import Menu from "../components/Menu";
|
||||||
import { useWordpressCustomData } from "../hooks/WordpressFetchData";
|
import { useWordpressCustomData, useUmamiDatas, useUmamiUpdateDatas } from "../hooks/WordpressFetchData";
|
||||||
import coverWorker from "../assets/img/cover_worker.svg";
|
import coverWorker from "../assets/img/cover_worker.svg";
|
||||||
import screenWorker1 from "../assets/img/screen_worker_1.svg";
|
import screenWorker1 from "../assets/img/screen_worker_1.svg";
|
||||||
import screenWorker2 from "../assets/img/screen_worker_2.svg";
|
import screenWorker2 from "../assets/img/screen_worker_2.svg";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
|
import { useEffect, useState } from "react";
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
const welcomeScreenDatas = useWordpressCustomData("/interface-content/welcome");
|
const welcomeScreenDatas = useWordpressCustomData("/interface-content/welcome");
|
||||||
|
|
@ -25,7 +25,10 @@ export default function Home() {
|
||||||
<p className='application_description'>
|
<p className='application_description'>
|
||||||
{welcomeScreenDatas.applicationDescription}
|
{welcomeScreenDatas.applicationDescription}
|
||||||
</p>
|
</p>
|
||||||
<Link to='/profile' className='cta cta--construction cta--round cta--play ' />
|
<Link
|
||||||
|
to='/select-profile'
|
||||||
|
className='cta cta--construction cta--round cta--play '
|
||||||
|
/>
|
||||||
</section>
|
</section>
|
||||||
<img className='screen_worker_1' src={screenWorker1} alt='' />
|
<img className='screen_worker_1' src={screenWorker1} alt='' />
|
||||||
<img className='screen_worker_2' src={screenWorker2} alt='' />
|
<img className='screen_worker_2' src={screenWorker2} alt='' />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user