Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lms-frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Ameen
lms-frontend
Commits
4821917a
Commit
4821917a
authored
Jun 08, 2022
by
Muhammad Ameen
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Project Complete
parent
29a36a92
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
377 additions
and
82 deletions
+377
-82
App.js
src/App.js
+1
-4
AcheiveGoalCard.js
src/Components/AcheiveGoalCard/AcheiveGoalCard.js
+0
-1
AcheiveGoalCard.module.scss
src/Components/AcheiveGoalCard/AcheiveGoalCard.module.scss
+0
-1
BlogCard.js
src/Components/BlogCard/BlogCard.js
+0
-2
BlogCard.module.scss
src/Components/BlogCard/BlogCard.module.scss
+0
-1
Carousel.js
src/Components/Carousel/Carousel.js
+4
-10
CourseCard.js
src/Components/CourseCard/CourseCard.js
+1
-3
CourseCard.module.scss
src/Components/CourseCard/CourseCard.module.scss
+0
-5
CourseCategories.module.scss
src/Components/CourseCategories/CourseCategories.module.scss
+0
-1
Footer.js
src/Components/Footer/Footer.js
+44
-5
Footer.module.scss
src/Components/Footer/Footer.module.scss
+84
-2
Navbar.js
src/Components/Navbar/Navbar.js
+8
-10
Navbar.module.scss
src/Components/Navbar/Navbar.module.scss
+20
-3
AppRoutes.js
src/Routes/AppRoutes.js
+1
-2
Home.js
src/Screens/Home/Home.js
+53
-28
Home.module.scss
src/Screens/Home/Home.module.scss
+161
-4
No files found.
src/App.js
View file @
4821917a
import
logo
from
"./logo.svg"
;
import
"./App.scss"
;
import
NavbarComponent
from
"./Components/Navbar/Navbar"
;
import
{
BrowserRouter
}
from
"react-router-dom"
;
import
{
BrowserRouter
}
from
"react-router-dom"
;
import
"./App.scss"
;
import
AppRoutes
from
"./Routes/AppRoutes"
;
import
AppRoutes
from
"./Routes/AppRoutes"
;
function
App
()
{
function
App
()
{
return
(
return
(
<
BrowserRouter
>
<
BrowserRouter
>
<
AppRoutes
/>
<
AppRoutes
/>
{
/* <NavbarComponent /> */
}
<
/BrowserRouter
>
<
/BrowserRouter
>
);
);
}
}
...
...
src/Components/AcheiveGoalCard/AcheiveGoalCard.js
View file @
4821917a
import
React
from
"react"
;
import
React
from
"react"
;
import
{
skillPad
}
from
"../../Constant/Images"
;
import
style
from
"./AcheiveGoalCard.module.scss"
;
import
style
from
"./AcheiveGoalCard.module.scss"
;
const
AcheiveGoalCard
=
({
data
})
=>
{
const
AcheiveGoalCard
=
({
data
})
=>
{
...
...
src/Components/AcheiveGoalCard/AcheiveGoalCard.module.scss
View file @
4821917a
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
height
:
300px
;
height
:
300px
;
padding
:
40px
;
padding
:
40px
;
margin-top
:
20px
;
margin-top
:
20px
;
// background-color: red;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
...
...
src/Components/BlogCard/BlogCard.js
View file @
4821917a
...
@@ -7,7 +7,6 @@ import { BsFillPersonFill, BsArrowRight } from "react-icons/bs";
...
@@ -7,7 +7,6 @@ import { BsFillPersonFill, BsArrowRight } from "react-icons/bs";
const
BlogCard
=
({
data
})
=>
{
const
BlogCard
=
({
data
})
=>
{
return
(
return
(
// <Col md={4} style={{marginTop: "40px"}}>
<
div
className
=
{
style
.
cardMainContianer
}
>
<
div
className
=
{
style
.
cardMainContianer
}
>
<
div
className
=
{
style
.
imageContainer
}
>
<
div
className
=
{
style
.
imageContainer
}
>
<
img
src
=
{
data
?.
image
}
alt
=
""
/>
<
img
src
=
{
data
?.
image
}
alt
=
""
/>
...
@@ -32,7 +31,6 @@ const BlogCard = ({ data }) => {
...
@@ -32,7 +31,6 @@ const BlogCard = ({ data }) => {
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
// </Col>
);
);
};
};
...
...
src/Components/BlogCard/BlogCard.module.scss
View file @
4821917a
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
}
}
}
}
&
:hover
{
&
:hover
{
// background-color: red;
-webkit-box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
-webkit-box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
-moz-box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
-moz-box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
...
...
src/Components/Carousel/Carousel.js
View file @
4821917a
import
React
from
"react"
;
import
React
from
"react"
;
import
Carousel
,
{
consts
}
from
"react-elastic-carousel"
;
import
Carousel
,
{
consts
}
from
"react-elastic-carousel"
;
import
{
google
,
envato
}
from
"../../Constant/Images"
;
import
{
AiOutlineLeft
,
AiOutlineRight
}
from
"react-icons/ai"
;
import
{
Button
}
from
"react-bootstrap"
;
import
{
envato
,
google
}
from
"../../Constant/Images"
;
import
{
AiOutlineRight
,
AiOutlineLeft
}
from
"react-icons/ai"
;
import
style
from
"./Carousel.module.scss"
;
import
style
from
"./Carousel.module.scss"
;
const
CarouselComponent
=
()
=>
{
const
CarouselComponent
=
(
{
breakPoints
}
)
=>
{
const
myArrow
=
({
type
,
onClick
,
isEdge
})
=>
{
const
myArrow
=
({
type
,
onClick
,
isEdge
})
=>
{
const
pointer
=
const
pointer
=
type
===
consts
.
PREV
?
(
type
===
consts
.
PREV
?
(
...
@@ -21,9 +20,8 @@ const CarouselComponent = () => {
...
@@ -21,9 +20,8 @@ const CarouselComponent = () => {
};
};
return
(
return
(
<
Carousel
<
Carousel
breakPoints
=
{
breakPoints
}
pagination
=
{
false
}
pagination
=
{
false
}
itemsToShow
=
{
4
}
itemsToScroll
=
{
4
}
renderArrow
=
{
myArrow
}
renderArrow
=
{
myArrow
}
>
>
<
img
src
=
{
envato
}
alt
=
""
className
=
{
style
.
img
}
/
>
<
img
src
=
{
envato
}
alt
=
""
className
=
{
style
.
img
}
/
>
...
@@ -35,10 +33,6 @@ const CarouselComponent = () => {
...
@@ -35,10 +33,6 @@ const CarouselComponent = () => {
<
img
src
=
{
google
}
alt
=
""
className
=
{
style
.
img
}
/
>
<
img
src
=
{
google
}
alt
=
""
className
=
{
style
.
img
}
/
>
<
img
src
=
{
google
}
alt
=
""
className
=
{
style
.
img
}
/
>
<
img
src
=
{
google
}
alt
=
""
className
=
{
style
.
img
}
/
>
<
img
src
=
{
envato
}
alt
=
""
className
=
{
style
.
img
}
/
>
<
img
src
=
{
envato
}
alt
=
""
className
=
{
style
.
img
}
/
>
{
/* {items.map((item) => (
<div key={item.id}>{item.title}</div>
))} */
}
<
/Carousel
>
<
/Carousel
>
);
);
};
};
...
...
src/Components/CourseCard/CourseCard.js
View file @
4821917a
import
React
from
"react"
;
import
React
from
"react"
;
import
{
Container
}
from
"react-bootstrap
"
;
import
{
AiFillStar
}
from
"react-icons/ai
"
;
import
style
from
"./CourseCard.module.scss"
;
import
style
from
"./CourseCard.module.scss"
;
import
photographerMan
from
"../../assets//images//photographer_man.png"
;
import
{
AiFillStar
}
from
"react-icons/ai"
const
CourseCard
=
({
data
})
=>
{
const
CourseCard
=
({
data
})
=>
{
return
(
return
(
...
...
src/Components/CourseCard/CourseCard.module.scss
View file @
4821917a
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
min-height
:
400px
;
min-height
:
400px
;
height
:
100%
;
height
:
100%
;
transition
:
0
.3s
;
transition
:
0
.3s
;
// background-color: yellow;
margin-top
:
40px
;
margin-top
:
40px
;
-webkit-box-shadow
:
0px
0px
5px
-1px
rgba
(
0
,
0
,
0
,
0
.75
);
-webkit-box-shadow
:
0px
0px
5px
-1px
rgba
(
0
,
0
,
0
,
0
.75
);
-moz-box-shadow
:
0px
0px
5px
-1px
rgba
(
0
,
0
,
0
,
0
.75
);
-moz-box-shadow
:
0px
0px
5px
-1px
rgba
(
0
,
0
,
0
,
0
.75
);
...
@@ -14,8 +13,6 @@
...
@@ -14,8 +13,6 @@
width
:
100%
;
width
:
100%
;
height
:
50%
;
height
:
50%
;
background-color
:
orange
;
background-color
:
orange
;
// background-image: url(../../assets//images//photographer_man.png);
// object-fit: cover;
img
{
img
{
object-fit
:
cover
;
object-fit
:
cover
;
width
:
100%
;
width
:
100%
;
...
@@ -27,14 +24,12 @@
...
@@ -27,14 +24,12 @@
white-space
:
wrap
;
white-space
:
wrap
;
overflow
:
hidden
;
overflow
:
hidden
;
// text-overflow: ellipsis;
.price
{
.price
{
color
:
root
.
$main_red
;
color
:
root
.
$main_red
;
margin-bottom
:
0px
;
margin-bottom
:
0px
;
}
}
}
}
&
:hover
{
&
:hover
{
// background-color: red;
-webkit-box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
-webkit-box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
-moz-box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
-moz-box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
box-shadow
:
0px
0px
10px
-1px
rgba
(
0
,
0
,
0
,
0
.62
);
...
...
src/Components/CourseCategories/CourseCategories.module.scss
View file @
4821917a
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
content
:
""
;
content
:
""
;
position
:
absolute
;
position
:
absolute
;
pointer-events
:
none
;
pointer-events
:
none
;
/* to click through anytime */
border
:
1px
solid
rgb
(
132
,
132
,
132
);
border
:
1px
solid
rgb
(
132
,
132
,
132
);
}
}
&
:after
{
&
:after
{
...
...
src/Components/Footer/Footer.js
View file @
4821917a
...
@@ -6,11 +6,50 @@ const Footer = () => {
...
@@ -6,11 +6,50 @@ const Footer = () => {
<
div
className
=
{
style
.
footerMainContainer
}
>
<
div
className
=
{
style
.
footerMainContainer
}
>
<
Container
>
<
Container
>
<
div
className
=
{
style
.
footerInnerContainer
}
>
<
div
className
=
{
style
.
footerInnerContainer
}
>
<
div
className
=
{
style
.
footerDiv1
}
>
asdsadas
<
/div
>
<
div
className
=
{
style
.
footerDiv1
}
>
<
div
className
=
{
style
.
footerDiv2
}
>
asdassad
<
/div
>
<
p
className
=
{
`p-16`
}
>
Address
<
/p
>
<
div
className
=
{
style
.
footerDiv3
}
>
asdaas
<
/div
>
<
p
className
=
{
`p-14`
}
>
73724
Route
30
<
/p
>
<
div
className
=
{
style
.
footerDiv4
}
>
asdasd
<
/div
>
<
p
className
=
{
`p-14`
}
>
South
Richmond
Hill
,
NY
11419
<
/p
>
<
div
className
=
{
style
.
footerDiv5
}
>
asdsa
<
/div
>
<
p
className
=
{
`p-14`
}
>
Tel
:
(
603
)
-
677
-
3400
<
/p
>
<
p
className
=
{
`p-14`
}
>
Email
:
info
@
yourdomain
.
com
<
/p
>
<
p
className
=
{
`p-14`
}
>
Web
:
yourdomain
.
com
<
/p
>
<
/div
>
<
div
className
=
{
style
.
footerDiv2
}
>
<
p
className
=
{
`p-16`
}
>
Help
Center
<
/p
>
<
p
className
=
{
`p-14`
}
>
Documentation
<
/p
>
<
p
className
=
{
`p-14`
}
>
Tutorials
<
/p
>
<
p
className
=
{
`p-14`
}
>
Term
of
Use
<
/p
>
<
p
className
=
{
`p-14`
}
>
Privacy
Policy
<
/p
>
<
/div
>
<
div
className
=
{
style
.
footerDiv3
}
>
<
p
className
=
{
`p-16`
}
>
About
Us
<
/p
>
<
p
className
=
{
`p-14`
}
>
Our
Team
<
/p
>
<
p
className
=
{
`p-14`
}
>
Company
<
/p
>
<
p
className
=
{
`p-14`
}
>
Jobs
<
/p
>
<
p
className
=
{
`p-14`
}
>
News
Latter
<
/p
>
<
/div
>
<
div
className
=
{
style
.
footerDiv4
}
>
<
p
className
=
{
`p-16`
}
>
Tools
<
/p
>
<
p
className
=
{
`p-14`
}
>
Create
Acccount
<
/p
>
<
p
className
=
{
`p-14`
}
>
Log
In
<
/p
>
<
p
className
=
{
`p-14`
}
>
Services
<
/p
>
<
p
className
=
{
`p-14`
}
>
Sitemap
<
/p
>
<
/div
>
<
div
className
=
{
style
.
footerDiv5
}
>
<
p
className
=
{
`p-16`
}
>
Get
In
Touch
<
/p
>
<
p
className
=
{
`p-14`
}
>
Contact
Us
<
/p
>
<
p
className
=
{
`p-14`
}
>
Join
Us
<
/p
>
<
p
className
=
{
`p-14`
}
>
Invite
Us
<
/p
>
<
p
className
=
{
`p-14`
}
>
Donate
<
/p
>
<
/div
>
<
/div
>
<
div
className
=
{
style
.
footerBottom
}
>
<
div
>
<
p
>
Facebook
.
Twitter
.
Instagram
.
LinkedIn
.
Google
Plus
.
<
/p
>
<
/div
>
<
div
>
<
p
>
Copyright
©
2017
LMS
EDUCATION
.
All
Rights
Reserved
<
/p
>
<
/div
>
<
/div
>
<
/div
>
<
/Container
>
<
/Container
>
<
/div
>
<
/div
>
...
...
src/Components/Footer/Footer.module.scss
View file @
4821917a
...
@@ -2,19 +2,101 @@
...
@@ -2,19 +2,101 @@
.footerMainContainer
{
.footerMainContainer
{
width
:
100%
;
width
:
100%
;
height
:
400px
;
background-color
:
root
.
$footer_background
;
background-color
:
root
.
$footer_background
;
color
:
white
;
color
:
white
;
.footerInnerContainer
{
.footerInnerContainer
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
width
:
100%
;
width
:
100%
;
padding-top
:
50px
;
padding-top
:
50px
;
.footerDiv1
,
.footerDiv1
{
width
:
20%
;
}
.footerDiv2
,
.footerDiv2
,
.footerDiv3
,
.footerDiv3
,
.footerDiv4
,
.footerDiv4
,
.footerDiv5
{
.footerDiv5
{
width
:
20%
;
width
:
20%
;
p
{
cursor
:
pointer
;
}
}
}
.footerBottom
{
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
}
@media
screen
and
(
max-width
:
1000px
)
{
.footerMainContainer
{
.footerInnerContainer
{
.footerDiv1
{
width
:
40%
;
}
.footerDiv2
,
.footerDiv3
,
.footerDiv4
,
.footerDiv5
{
width
:
20%
;
p
{
cursor
:
pointer
;
}
}
}
.footerBottom
{
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
}
}
@media
screen
and
(
max-width
:
768px
)
{
.footerMainContainer
{
.footerInnerContainer
{
.footerDiv1
{
width
:
50%
;
}
.footerDiv2
,
.footerDiv3
,
.footerDiv4
,
.footerDiv5
{
width
:
30%
;
p
{
cursor
:
pointer
;
}
}
}
.footerBottom
{
width
:
100%
;
display
:
block
;
// justify-content: space-between;
// align-items: center;
}
}
}
@media
screen
and
(
max-width
:
576px
)
{
.footerMainContainer
{
.footerInnerContainer
{
.footerDiv1
{
width
:
50%
;
}
.footerDiv2
,
.footerDiv3
,
.footerDiv4
,
.footerDiv5
{
width
:
100%
;
p
{
cursor
:
pointer
;
}
}
}
}
}
}
}
}
src/Components/Navbar/Navbar.js
View file @
4821917a
import
React
,
{
useState
}
from
"react"
;
import
React
from
"react"
;
import
style
from
"./Navbar.module.scss"
;
import
{
Container
,
Nav
,
Navbar
}
from
"react-bootstrap"
;
// import Logo from "../../images/logo.png";
import
{
BiLogIn
,
BiSearch
}
from
"react-icons/bi"
;
import
"../../App.scss"
;
import
{
Navbar
,
Container
,
Nav
,
NavDropdown
}
from
"react-bootstrap"
;
import
{
useNavigate
}
from
"react-router-dom"
;
// import ModalComponent from "../InputModal/InputModal";
import
{
BiSearch
,
BiLogIn
}
from
"react-icons/bi"
;
import
{
HiOutlineShoppingCart
}
from
"react-icons/hi"
;
import
{
GoPerson
}
from
"react-icons/go"
;
import
{
GoPerson
}
from
"react-icons/go"
;
import
{
HiOutlineShoppingCart
}
from
"react-icons/hi"
;
import
{
useNavigate
}
from
"react-router-dom"
;
import
"../../App.scss"
;
import
style
from
"./Navbar.module.scss"
;
const
NavbarComponent
=
()
=>
{
const
NavbarComponent
=
()
=>
{
const
history
=
useNavigate
();
const
history
=
useNavigate
();
...
@@ -32,7 +30,7 @@ const NavbarComponent = () => {
...
@@ -32,7 +30,7 @@ const NavbarComponent = () => {
id
=
"responsive-navbar-nav"
id
=
"responsive-navbar-nav"
style
=
{{
backgroundColor
:
"white !important"
}}
style
=
{{
backgroundColor
:
"white !important"
}}
>
>
<
Nav
className
=
"me-auto"
style
=
{{
paddingLeft
:
"30px"
}
}
>
<
Nav
className
=
{
`me-auto
${
style
.
navContainer
}
`
}
>
<
Nav
.
Link
href
=
"#features"
className
=
{
style
.
padding
}
>
<
Nav
.
Link
href
=
"#features"
className
=
{
style
.
padding
}
>
Home
Home
<
/Nav.Link
>
<
/Nav.Link
>
...
...
src/Components/Navbar/Navbar.module.scss
View file @
4821917a
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
.mainContainer
{
.mainContainer
{
background-color
:
root
.
$main_red
!
important
;
background-color
:
root
.
$main_red
!
important
;
color
:
white
;
color
:
white
;
-webkit-box-shadow
:
0px
1px
4px
0px
rgba
(
0
,
0
,
0
,
0
.52
);
-webkit-box-shadow
:
0px
1px
4px
0px
rgba
(
0
,
0
,
0
,
0
.52
);
-moz-box-shadow
:
0px
1px
4px
0px
rgba
(
0
,
0
,
0
,
0
.52
);
-moz-box-shadow
:
0px
1px
4px
0px
rgba
(
0
,
0
,
0
,
0
.52
);
box-shadow
:
0px
1px
4px
0px
rgba
(
0
,
0
,
0
,
0
.52
);
box-shadow
:
0px
1px
4px
0px
rgba
(
0
,
0
,
0
,
0
.52
);
}
}
.rightIcon
{
.rightIcon
{
...
@@ -18,6 +18,10 @@ box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.52);
...
@@ -18,6 +18,10 @@ box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.52);
color
:
white
!
important
;
color
:
white
!
important
;
}
}
.navContainer
{
padding-left
:
20px
;
}
.lms
{
.lms
{
font-size
:
30px
;
font-size
:
30px
;
font-weight
:
bolder
;
font-weight
:
bolder
;
...
@@ -35,3 +39,16 @@ box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.52);
...
@@ -35,3 +39,16 @@ box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.52);
font-size
:
22px
;
font-size
:
22px
;
color
:
white
;
color
:
white
;
}
}
@media
screen
and
(
max-width
:
992px
)
{
.padding
{
padding
:
10px
0px
!
important
;
}
.rightIcon
{
padding
:
10px
0px
!
important
;
color
:
white
!
important
;
}
.navContainer
{
padding-left
:
0px
;
}
}
src/Routes/AppRoutes.js
View file @
4821917a
import
React
from
"react"
;
import
React
from
"react"
;
import
{
BrowserRouter
,
Routes
,
Route
}
from
"react-router-dom"
;
import
{
Route
,
Routes
}
from
"react-router-dom"
;
import
NavbarComponent
from
"../Components/Navbar/Navbar"
;
import
Home
from
"../Screens/Home/Home"
;
import
Home
from
"../Screens/Home/Home"
;
const
AppRoutes
=
()
=>
{
const
AppRoutes
=
()
=>
{
return
(
return
(
...
...
src/Screens/Home/Home.js
View file @
4821917a
import
React
from
"react"
;
import
React
from
"react"
;
import
style
from
"./Home.module.scss"
;
import
{
Col
,
Container
,
Row
}
from
"react-bootstrap"
;
import
{
Container
,
Row
,
Col
}
from
"react-bootstrap"
;
import
Carousel
from
"react-elastic-carousel"
;
import
NavbarComponent
from
"../../Components/Navbar/Navbar"
;
import
{
BiCircle
}
from
"react-icons/bi"
;
import
ReactPlayer
from
"react-player"
;
import
"../../App.scss"
;
import
"../../App.scss"
;
import
{
headImg
,
quoteImg
,
profile
}
from
"../../Constant/Images"
;
import
AcheiveGoalCard
from
"../../Components/AcheiveGoalCard/AcheiveGoalCard"
;
import
BlogCard
from
"../../Components/BlogCard/BlogCard"
;
import
CarouselComponent
from
"../../Components/Carousel/Carousel"
;
import
CourseCard
from
"../../Components/CourseCard/CourseCard"
;
import
CourseCategories
from
"../../Components/CourseCategories/CourseCategories"
;
import
CourseCategories
from
"../../Components/CourseCategories/CourseCategories"
;
import
Footer
from
"../../Components/Footer/Footer"
;
import
NavbarComponent
from
"../../Components/Navbar/Navbar"
;
import
{
headImg
,
profile
,
quoteImg
}
from
"../../Constant/Images"
;
import
{
import
{
acheiveGoalData
,
acheiveGoalData
,
categories
,
categories
,
topCourse
,
topCourse
}
from
"../../Constant/mockData"
;
}
from
"../../Constant/mockData"
;
import
CourseCard
from
"../../Components/CourseCard/CourseCard"
;
import
style
from
"./Home.module.scss"
;
import
AcheiveGoalCard
from
"../../Components/AcheiveGoalCard/AcheiveGoalCard"
;
import
ReactPlayer
from
"react-player"
;
import
CarouselComponent
from
"../../Components/Carousel/Carousel"
;
import
BlogCard
from
"../../Components/BlogCard/BlogCard"
;
import
Carousel
from
"react-elastic-carousel"
;
import
{
BiCircle
,
BiSquare
}
from
"react-icons/bi"
;
import
Footer
from
"../../Components/Footer/Footer"
;
const
Home
=
()
=>
{
const
Home
=
()
=>
{
const
breakPoints
=
[
{
width
:
1
,
itemsToShow
:
1
},
{
width
:
550
,
itemsToShow
:
2
,
itemsToScroll
:
2
,
pagination
:
false
},
{
width
:
850
,
itemsToShow
:
3
},
{
width
:
1150
,
itemsToShow
:
3
,
itemsToScroll
:
2
},
{
width
:
1450
,
itemsToShow
:
5
},
{
width
:
1750
,
itemsToShow
:
6
},
];
return
(
return
(
<>
<>
<
div
>
<
div
>
...
@@ -48,7 +56,7 @@ const Home = () => {
...
@@ -48,7 +56,7 @@ const Home = () => {
<
Col
>
<
Col
>
<
div
className
=
{
style
.
innerMainContainer
}
>
<
div
className
=
{
style
.
innerMainContainer
}
>
<
h2
className
=
{
style
.
headTitle
}
>
Course
Categories
<
/h2
>
<
h2
className
=
{
style
.
headTitle
}
>
Course
Categories
<
/h2
>
<
div
className
=
{
style
.
bottomBorder
}
><
/div
>
{
/* <div className={style.bottomBorder}></div> */
}
<
div
className
=
{
style
.
courseCategoriesBox
}
>
<
div
className
=
{
style
.
courseCategoriesBox
}
>
{
categories
?.
map
((
item
,
ind
)
=>
{
{
categories
?.
map
((
item
,
ind
)
=>
{
return
<
CourseCategories
title
=
{
item
?.
title
}
/>
;
return
<
CourseCategories
title
=
{
item
?.
title
}
/>
;
...
@@ -82,7 +90,12 @@ const Home = () => {
...
@@ -82,7 +90,12 @@ const Home = () => {
<
Row
>
<
Row
>
{
topCourse
?.
map
((
item
,
ind
)
=>
{
{
topCourse
?.
map
((
item
,
ind
)
=>
{
return
(
return
(
<
Col
md
=
{
4
}
style
=
{{
marginTop
:
"20px"
}}
>
<
Col
lg
=
{
4
}
md
=
{
6
}
sm
=
{
12
}
style
=
{{
marginTop
:
"20px"
}}
>
<
CourseCard
data
=
{
item
}
/
>
<
CourseCard
data
=
{
item
}
/
>
<
/Col
>
<
/Col
>
);
);
...
@@ -97,25 +110,27 @@ const Home = () => {
...
@@ -97,25 +110,27 @@ const Home = () => {
<
div
className
=
{
style
.
discoverContianer
}
>
<
div
className
=
{
style
.
discoverContianer
}
>
<
Container
>
<
Container
>
<
h3
className
=
{
style
.
title
}
>
Discover
Our
Popular
Course
<
/h3
>
<
h3
className
=
{
style
.
title
}
>
Discover
Our
Popular
Course
<
/h3
>
<
p
className
=
{
`p-14
${
style
.
subTitle
}
`
}
>
<
div
className
=
{
style
.
subTitleContainer
}
>
Lorem
ipsum
dolor
sit
amet
,
consectetur
adipiscing
elit
.
Morbi
<
p
className
=
{
`p-14
${
style
.
subTitle
}
`
}
>
bibendum
venenatis
mollis
.
Lorem
ipsum
dolor
sit
amet
,
consectetur
adipiscing
elit
.
Morbi
<
/p
>
bibendum
venenatis
mollis
.
<
/p
>
<
/div
>
<
Row
className
=
{
style
.
pointsContainer
}
>
<
Row
className
=
{
style
.
pointsContainer
}
>
<
Col
md
=
{
4
}
>
<
Col
lg
=
{
4
}
md
=
{
6
}
sm
=
{
12
}
>
<
div
className
=
{
`
${
style
.
background
}
${
style
.
backgroundPink
}
`
}
>
<
div
className
=
{
`
${
style
.
background
}
${
style
.
backgroundPink
}
`
}
>
<
h4
className
=
{
style
.
innerText
}
>
Top
Rated
<
/h4
>
<
h4
className
=
{
style
.
innerText
}
>
Top
Rated
<
/h4
>
<
/div
>
<
/div
>
<
/Col
>
<
/Col
>
<
Col
md
=
{
4
}
>
<
Col
lg
=
{
4
}
md
=
{
6
}
sm
=
{
12
}
>
<
div
<
div
className
=
{
`
${
style
.
background
}
${
style
.
backgroundPurple
}
`
}
className
=
{
`
${
style
.
background
}
${
style
.
backgroundPurple
}
`
}
>
>
<
h4
className
=
{
style
.
innerText
}
>
Trending
<
/h4
>
<
h4
className
=
{
style
.
innerText
}
>
Trending
<
/h4
>
<
/div
>
<
/div
>
<
/Col
>
<
/Col
>
<
Col
md
=
{
4
}
>
<
Col
lg
=
{
4
}
md
=
{
6
}
sm
=
{
12
}
>
<
div
className
=
{
`
${
style
.
background
}
${
style
.
backgroundBlue
}
`
}
>
<
div
className
=
{
`
${
style
.
background
}
${
style
.
backgroundBlue
}
`
}
>
<
h4
className
=
{
style
.
innerText
}
>
New
and
Noteworthy
<
/h4
>
<
h4
className
=
{
style
.
innerText
}
>
New
and
Noteworthy
<
/h4
>
<
/div
>
<
/div
>
...
@@ -146,7 +161,12 @@ const Home = () => {
...
@@ -146,7 +161,12 @@ const Home = () => {
<
Row
>
<
Row
>
{
topCourse
?.
map
((
item
,
ind
)
=>
{
{
topCourse
?.
map
((
item
,
ind
)
=>
{
return
(
return
(
<
Col
md
=
{
4
}
style
=
{{
marginTop
:
"20px"
}}
>
<
Col
lg
=
{
4
}
md
=
{
6
}
sm
=
{
12
}
style
=
{{
marginTop
:
"20px"
}}
>
<
CourseCard
data
=
{
item
}
/
>
<
CourseCard
data
=
{
item
}
/
>
<
/Col
>
<
/Col
>
);
);
...
@@ -168,7 +188,7 @@ const Home = () => {
...
@@ -168,7 +188,7 @@ const Home = () => {
<
Row
>
<
Row
>
{
acheiveGoalData
?.
map
((
item
,
index
)
=>
{
{
acheiveGoalData
?.
map
((
item
,
index
)
=>
{
return
(
return
(
<
Col
md
=
{
4
}
>
<
Col
lg
=
{
4
}
md
=
{
6
}
sm
=
{
12
}
>
<
AcheiveGoalCard
data
=
{
item
}
/
>
<
AcheiveGoalCard
data
=
{
item
}
/
>
<
/Col
>
<
/Col
>
);
);
...
@@ -178,7 +198,7 @@ const Home = () => {
...
@@ -178,7 +198,7 @@ const Home = () => {
<
/div
>
<
/div
>
<
div
className
=
{
style
.
clientAppriciationContainer
}
>
<
div
className
=
{
style
.
clientAppriciationContainer
}
>
<
Container
>
<
Container
>
<
h3
>
Client
’
s
Appriciation
<
/h3
>
<
h3
>
Client
'
s Appriciation</h3>
<p className={`p-14 ${style.subTitle} `}>
<p className={`p-14 ${style.subTitle} `}>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
bibendum venenatis mollis.
bibendum venenatis mollis.
...
@@ -208,7 +228,11 @@ const Home = () => {
...
@@ -208,7 +228,11 @@ const Home = () => {
</div>
</div>
<div className={style.rightContainer}>
<div className={style.rightContainer}>
<div className={style.videoContainer}>
<div className={style.videoContainer}>
<
ReactPlayer
url
=
"https://youtu.be/LUKs-GENceE"
/>
<ReactPlayer
url="https://youtu.be/LUKs-GENceE"
width="100%"
height="100%"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -217,7 +241,7 @@ const Home = () => {
...
@@ -217,7 +241,7 @@ const Home = () => {
LMSedu is trusted by 322,000+ students and companies worldwide
LMSedu is trusted by 322,000+ students and companies worldwide
</h3>
</h3>
<div className={style.carouselContainer}>
<div className={style.carouselContainer}>
<
CarouselComponent
/>
<CarouselComponent
breakPoints={breakPoints}
/>
</div>
</div>
</div>
</div>
</Container>
</Container>
...
@@ -231,7 +255,8 @@ const Home = () => {
...
@@ -231,7 +255,8 @@ const Home = () => {
</p>
</p>
<Row>
<Row>
<Carousel
<Carousel
itemsToShow
=
{
3
}
breakPoints={breakPoints}
// itemsToShow={3}
showArrows={false}
showArrows={false}
renderPagination={({ pages, activePage, onClick }) => {
renderPagination={({ pages, activePage, onClick }) => {
return (
return (
...
...
src/Screens/Home/Home.module.scss
View file @
4821917a
@use
"../../root"
;
@use
"../../root"
;
body
{
transition
:
0
.4s
;
}
.headerContainer
{
.headerContainer
{
background-color
:
root
.
$main_red
;
background-color
:
root
.
$main_red
;
height
:
800px
;
height
:
800px
;
display
:
flex
;
display
:
flex
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
align-items
:
flex-end
;
align-items
:
flex-end
;
// margin-bottom: 60px;
.innerMainContainer
{
.innerMainContainer
{
display
:
flex
;
display
:
flex
;
// justify-content: flex-end;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
color
:
white
;
color
:
white
;
...
@@ -45,7 +47,6 @@
...
@@ -45,7 +47,6 @@
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
color
:
black
;
color
:
black
;
// margin-bottom: 200px;
.bottomBorder
{
.bottomBorder
{
border
:
1px
solid
rgb
(
180
,
180
,
180
);
border
:
1px
solid
rgb
(
180
,
180
,
180
);
width
:
15%
;
width
:
15%
;
...
@@ -192,8 +193,10 @@
...
@@ -192,8 +193,10 @@
}
}
.rightContainer
{
.rightContainer
{
width
:
50%
;
width
:
50%
;
height
:
300px
;
.videoContainer
{
.videoContainer
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
}
}
}
}
}
}
...
@@ -220,7 +223,6 @@
...
@@ -220,7 +223,6 @@
width
:
100%
;
width
:
100%
;
background-image
:
url(../../assets/images/becomeInstructor.png)
;
background-image
:
url(../../assets/images/becomeInstructor.png)
;
background-size
:
100%
350px
;
background-size
:
100%
350px
;
// background-position:;
height
:
350px
;
height
:
350px
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -258,3 +260,158 @@
...
@@ -258,3 +260,158 @@
}
}
}
}
}
}
@media
screen
and
(
max-width
:
1000px
)
{
.clientAppriciationContainer
{
.subTitle
{
width
:
60%
;
}
.quoteAndVideoContainer
{
width
:
100%
;
display
:
block
;
.leftContainer
{
width
:
100%
;
}
.rightContainer
{
width
:
100%
;
margin-top
:
50px
;
display
:
flex
;
justify-content
:
center
;
.videoContainer
{
width
:
80%
;
}
}
}
}
.headerContainer
{
height
:
600px
;
.innerMainContainer
{
.headTitle
{
margin-bottom
:
20px
;
font-size
:
40px
!
important
;
text-align
:
center
;
}
.headSubTitle
{
margin-bottom
:
40px
;
font-size
:
17px
!
important
;
text-align
:
center
;
}
.headManImg
{
width
:
400px
;
}
}
}
.topCoursesContainer
{
.innerMainContainer
{
.topCoursesHead
{
display
:
block
;
.subTitle
{
width
:
60%
;
}
.viewMorebutton
{
margin-top
:
20px
;
padding
:
10px
60px
;
}
}
}
}
.discoverContianer
{
.title
{
text-align
:
center
;
}
.subTitleContainer
{
width
:
100%
;
display
:
flex
;
justify-content
:
center
;
.subTitle
{
display
:
flex
;
justify-content
:
center
;
text-align
:
center
;
width
:
80%
;
margin
:
0px
;
}
}
.pointsContainer
{
margin-top
:
10px
;
.background
{
margin-top
:
20px
;
}
}
}
.bestSellerContainer
{
.innerMainContainer
{
padding
:
120px
0px
;
.topCoursesHead
{
display
:
block
;
.subTitle
{
width
:
60%
;
}
.viewMorebutton
{
margin-top
:
20px
;
padding
:
10px
60px
;
}
}
}
}
.ourBlogContainer
{
padding
:
80px
0px
;
.subTitle
{
width
:
60%
;
}
}
.becomeInstructorContainer
{
.inputAndBtnContainer
{
.inputAndBtnInnerContainer
{
.joinInput
{
width
:
500px
;
}
}
}
}
}
@media
screen
and
(
max-width
:
576px
)
{
.headerContainer
{
height
:
500px
;
.innerMainContainer
{
.headTitle
{
margin-bottom
:
20px
;
font-size
:
30px
!
important
;
text-align
:
center
;
}
.headSubTitle
{
margin-bottom
:
40px
;
font-size
:
14px
!
important
;
text-align
:
center
;
}
.headManImg
{
width
:
300px
;
}
}
}
}
@media
screen
and
(
max-width
:
500px
)
{
.becomeInstructorContainer
{
.inputAndBtnContainer
{
.inputAndBtnInnerContainer
{
.joinInput
{
width
:
350px
;
padding
:
15px
50px
;
}
.joinBtn
{
padding
:
15px
40px
;
}
}
}
}
.courseCategoriesContainer
{
.innerMainContainer
{
.courseCategoriesBox
{
width
:
100%
;
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment