diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css index 7ec36fd..db59396 100644 --- a/src/assets/styles/index.css +++ b/src/assets/styles/index.css @@ -16,6 +16,10 @@ body { width: 100vw; } +.w-75{ + width: 75%; +} + .h-fit{ height: fit-content; } @@ -355,9 +359,17 @@ body { } +@media (max-width: 992px) { + .ilustration-img{ + height: 50%; + } +} - - +@media (max-width: 768px) { + .landing-page section:not(:last-of-type){ + margin-bottom: 0!important; + } +} diff --git a/src/components/layout/guest/MainNav.jsx b/src/components/layout/guest/MainNav.jsx index b4adffc..fe65e7f 100644 --- a/src/components/layout/guest/MainNav.jsx +++ b/src/components/layout/guest/MainNav.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import { Navbar, Nav, Container, Button } from 'react-bootstrap'; +import { Navbar, Nav, Container, Button, Offcanvas } from 'react-bootstrap'; import logo from '../../../assets/images/logo.png'; import logoWhite from '../../../assets/images/logo-w.png'; import { useLocation } from 'react-router-dom'; @@ -8,6 +8,10 @@ const MainNav = () => { const location = useLocation(); const [scrolled, setScrolled] = useState(false); + const [show, setShow] = useState(false); + const handleClose = () => setShow(false); + const handleShow = () => setShow(true); + const handleScroll = () => { if (window.scrollY > 80) { setScrolled(true); @@ -25,51 +29,76 @@ const MainNav = () => { const getNavbarMenu = () => { if (location.pathname === '/') { - return 'd-block w-100'; + return 'd-block flex-grow-1'; } else{ return 'd-none' } }; return ( - - - {/* - {' '} - */} - - {' '} - -
- - - - - -
-
+ <> + + + {/* + {' '} + */} + + {' '} + +
+
+ + + + + +
+
+ +
+
+
+ + + Menu + + + Home. + What Is. + Feature. + You Get. + Join Now. +
+ Sign Up + Login +
+
+
+ ); }; diff --git a/src/roles/guest/landing_page/views/Home.jsx b/src/roles/guest/landing_page/views/Home.jsx index a01a8bc..71f147a 100644 --- a/src/roles/guest/landing_page/views/Home.jsx +++ b/src/roles/guest/landing_page/views/Home.jsx @@ -15,15 +15,15 @@ const Home = () => {
- +

Your Learning,
Your Way

Transform the way you learn English with exercises that adapt to your pace and style.

-
- +
+
- + / @@ -35,8 +35,8 @@ const Home = () => {
- - / + + /
@@ -47,8 +47,8 @@ const Home = () => {

SEALS refers to a personalized approach to language education that adjusts to the individual learner's needs, pace, and skill level.

-
- +
+
@@ -63,7 +63,7 @@ const Home = () => { English skills. - +
/

Listening

@@ -72,7 +72,7 @@ const Home = () => {

- +
/

Reading

@@ -81,7 +81,7 @@ const Home = () => {

- +
/

Grammar

@@ -90,7 +90,7 @@ const Home = () => {

- +
/

Vocabulary

@@ -105,8 +105,8 @@ const Home = () => {
- - / + + /

What Will You Get ?

@@ -176,7 +176,7 @@ const Home = () => {
*/} - +

SEALS

The first free end-to-end analytics service for the site, designed to work with enterprises of various levels and business segments.

@@ -211,7 +211,7 @@ const Home = () => {

- +