Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Saddlemountain Page
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Verónica Silva
Saddlemountain Page
Commits
b4a87eea
Commit
b4a87eea
authored
Nov 25, 2021
by
Verónica Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hero component
parent
0b20932a
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
77 additions
and
12 deletions
+77
-12
src/assets/images/hero-bg.png
src/assets/images/hero-bg.png
+0
-0
src/assets/styles/myTheme.js
src/assets/styles/myTheme.js
+0
-0
src/assets/styles/styled.js
src/assets/styles/styled.js
+0
-0
src/components/Drawer.jsx
src/components/Drawer.jsx
+2
-2
src/components/Footer.jsx
src/components/Footer.jsx
+2
-2
src/components/FormFooter.jsx
src/components/FormFooter.jsx
+1
-1
src/components/Hero.jsx
src/components/Hero.jsx
+60
-0
src/components/Navbar.jsx
src/components/Navbar.jsx
+2
-2
src/layouts/MainLayout.jsx
src/layouts/MainLayout.jsx
+5
-4
src/views/Home.jsx
src/views/Home.jsx
+5
-1
No files found.
src/assets/images/hero-bg.png
0 → 100644
View file @
b4a87eea
659 KB
src/
components/palett
e.js
→
src/
assets/styles/myThem
e.js
View file @
b4a87eea
File moved
src/
component
s/styled.js
→
src/
assets/style
s/styled.js
View file @
b4a87eea
File moved
src/components/Drawer.jsx
View file @
b4a87eea
...
...
@@ -14,8 +14,8 @@ import PeopleOutlineRoundedIcon from "@mui/icons-material/PeopleOutlineRounded"
import
LocalMallRoundedIcon
from
"
@mui/icons-material/LocalMallRounded
"
import
ArticleRoundedIcon
from
"
@mui/icons-material/ArticleRounded
"
import
{
NavLink
}
from
"
./styled
"
import
theme
from
"
.
/palett
e
"
import
{
NavLink
}
from
"
.
./assets/styles
/styled
"
import
theme
from
"
.
./assets/styles/myThem
e
"
const
myPalette
=
theme
.
palette
...
...
src/components/Footer.jsx
View file @
b4a87eea
...
...
@@ -11,8 +11,8 @@ import ListItem from "@mui/material/ListItem"
import
ListItemText
from
"
@mui/material/ListItemText
"
import
FormFooter
from
"
./FormFooter
"
import
{
FooterContainer
,
NavLinkFooter
}
from
"
./styled
"
import
myTheme
from
"
.
/palett
e
"
import
{
FooterContainer
,
NavLinkFooter
}
from
"
.
./assets/styles
/styled
"
import
myTheme
from
"
.
./assets/styles/myThem
e
"
const
myPalette
=
myTheme
.
palette
...
...
src/components/FormFooter.jsx
View file @
b4a87eea
...
...
@@ -6,7 +6,7 @@ import { withStyles } from "@material-ui/core"
import
ContactButton
from
"
./ContactButton
"
import
theme
from
"
.
/palett
e
"
import
theme
from
"
.
./assets/styles/myThem
e
"
const
myPalette
=
theme
.
palette
...
...
src/components/Hero.jsx
0 → 100644
View file @
b4a87eea
import
React
from
"
react
"
import
Box
from
"
@mui/material/Box
"
import
Typography
from
"
@mui/material/Typography
"
import
{
makeStyles
}
from
"
@material-ui/core
"
import
HeroBg
from
"
../assets/images/hero-bg.png
"
import
myTheme
from
"
../assets/styles/myTheme
"
import
ContactButton
from
"
./ContactButton
"
const
myPalette
=
myTheme
.
palette
const
useStyles
=
makeStyles
((
theme
)
=>
({
container
:
{
height
:
"
80vh
"
,
width
:
"
100%
"
,
paddingRight
:
"
25px
"
,
display
:
"
flex
"
,
flexDirection
:
"
column
"
,
justifyContent
:
"
center
"
,
alignItems
:
"
flex-end
"
,
color
:
"
#ffffff
"
,
backgroundImage
:
`url(
${
HeroBg
}
)`
,
position
:
"
relative
"
,
backgroundSize
:
"
cover
"
,
backgroundRepeat
:
"
no-repeat
"
,
backgroundPosition
:
"
center center
"
},
highlighter
:
{
color
:
myPalette
.
secondary
.
main
}
}))
function
Banner
()
{
const
classes
=
useStyles
()
return
(
<>
<
Box
className=
{
classes
.
container
}
>
<
Typography
variant=
"h4"
component=
"h2"
align=
"right"
sx=
{
{
width
:
"
50%
"
,
mb
:
4
}
}
>
Ayudamos a que las Empresas operen
<
span
className=
{
classes
.
highlighter
}
>
digitalmente
</
span
>
, cumplan con las regulaciones, y
<
span
className=
{
classes
.
highlighter
}
>
crezcan
</
span
>
sin aumentar personal
</
Typography
>
<
ContactButton
>
Contactar
</
ContactButton
>
</
Box
>
</>
)
}
export
default
Banner
src/components/Navbar.jsx
View file @
b4a87eea
...
...
@@ -13,8 +13,8 @@ import {
import
Drawer
from
"
./Drawer
"
import
{
NavLink
}
from
"
./styled
"
import
theme
from
"
.
/palett
e
"
import
{
NavLink
}
from
"
.
./assets/styles
/styled
"
import
theme
from
"
.
./assets/styles/myThem
e
"
const
myPalette
=
theme
.
palette
...
...
src/layouts/MainLayout.jsx
View file @
b4a87eea
import
*
as
React
from
"
react
"
import
Toolbar
from
"
@mui/material/Toolbar
"
import
CssBaseline
from
"
@mui/material/CssBaseline
"
import
Container
from
"
@mui/material/Container
"
import
Box
from
"
@mui/material/Box
"
import
PropTypes
from
"
prop-types
"
import
Navbar
from
"
../components/Navbar
"
...
...
@@ -17,15 +18,15 @@ export default function MainLayout({ children }) {
<
CssBaseline
/>
<
Navbar
/>
<
Toolbar
/>
<
Container
<
Box
sx=
{
{
display
:
"
flex
"
,
flexDirection
:
"
column
"
,
minHeight
:
"
100vh
"
,
minHeight
:
"
100vh
"
}
}
>
{
children
}
</
Container
>
</
Box
>
<
Footer
/>
</
React
.
Fragment
>
)
...
...
src/views/Home.jsx
View file @
b4a87eea
import
React
from
"
react
"
import
Hero
from
"
../components/Hero
"
const
Home
=
()
=>
{
return
(
<
div
>
Listo
</
div
>
<
div
>
<
Hero
/>
</
div
>
)
}
...
...
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