1
- import { Link , useNavigate } from 'react-router-dom' ;
1
+ import { useNavigate } from 'react-router-dom' ;
2
2
3
- import { handleLogin } from '../services/authService' ;
4
3
import { useAuth } from '../context/AuthContext' ;
5
- import { SiteConfig } from '../constants/SiteConfig' ;
6
- import logo from "../assets/images/logo.png" ;
7
4
8
- import { Button } from 'react-chatbotify' ;
9
5
import HeroSection from '../components/LandingPage/HeroSection' ;
10
6
11
7
import NavigationBar from '../components/NavigationBar/NavigationBar' ;
@@ -19,17 +15,21 @@ import { useTranslation } from 'react-i18next';
19
15
*/
20
16
const HomePage = ( ) => {
21
17
// used to render different text if user is logged in
18
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
22
19
const { isLoggedIn, userData } = useAuth ( )
23
20
24
21
// eslint-disable-next-line @typescript-eslint/no-unused-vars
25
22
const { t} = useTranslation ( ) ;
26
23
27
24
// handles navigation
25
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
28
26
const navigate = useNavigate ( )
29
27
30
28
return (
31
29
< div className = "relative overflow-hidden h-screen bg-accent-50 w-full" >
32
- < div className = 'absolute size-[60%] sm:size-[60%] md:size-[60%] bg-gradient-to-r from-secondary-900 -rotate-[30deg] to-primary-600 rounded-full z-0 top-[50%] left-[50%] -translate-x-[50%] -translate-y-[50%] blur-[150px] sm:blur-[200px]' >
30
+ < div className = 'absolute size-[60%] sm:size-[60%] md:size-[60%] bg-gradient-to-r from-secondary-900
31
+ -rotate-[30deg] to-primary-600 rounded-full z-0 top-[50%] left-[50%] -translate-x-[50%] -translate-y-[50%]
32
+ blur-[150px] sm:blur-[200px]' >
33
33
</ div >
34
34
< div className = 'relative z-1' >
35
35
< NavigationBar />
0 commit comments