refactoring home
This commit is contained in:
parent
0d7b760f91
commit
328c3f3181
|
|
@ -1,10 +1,10 @@
|
|||
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 screenWorker1 from "../assets/img/screen_worker_1.svg";
|
||||
import screenWorker2 from "../assets/img/screen_worker_2.svg";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
export default function Home() {
|
||||
const welcomeScreenDatas = useWordpressCustomData("/interface-content/welcome");
|
||||
|
|
@ -25,7 +25,10 @@ export default function Home() {
|
|||
<p className='application_description'>
|
||||
{welcomeScreenDatas.applicationDescription}
|
||||
</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>
|
||||
<img className='screen_worker_1' src={screenWorker1} alt='' />
|
||||
<img className='screen_worker_2' src={screenWorker2} alt='' />
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user