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
0b20932a
Commit
0b20932a
authored
Nov 24, 2021
by
VeroSilva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing some responsive details
parent
71103f9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
11 deletions
+23
-11
src/components/Footer.jsx
src/components/Footer.jsx
+16
-7
src/components/palette.js
src/components/palette.js
+1
-1
src/components/styled.js
src/components/styled.js
+6
-3
No files found.
src/components/Footer.jsx
View file @
0b20932a
...
...
@@ -12,9 +12,9 @@ import ListItemText from "@mui/material/ListItemText"
import
FormFooter
from
"
./FormFooter
"
import
{
FooterContainer
,
NavLinkFooter
}
from
"
./styled
"
import
t
heme
from
"
./palette
"
import
myT
heme
from
"
./palette
"
const
myPalette
=
t
heme
.
palette
const
myPalette
=
myT
heme
.
palette
const
useStyles
=
makeStyles
((
theme
)
=>
({
title
:
{
...
...
@@ -26,6 +26,14 @@ const useStyles = makeStyles((theme) => ({
},
list
:
{
color
:
myPalette
.
primary
.
contrastText
,
[
theme
.
breakpoints
.
down
(
"
md
"
)]:
{
textAlign
:
"
center
"
,
},
},
listItem
:
{
[
theme
.
breakpoints
.
down
(
"
md
"
)]:
{
textAlign
:
"
center
"
,
},
},
}))
...
...
@@ -36,15 +44,15 @@ function Footer() {
<
FooterContainer
bg=
{
myPalette
.
secondary
.
dark
}
>
<
Box
>
<
Container
>
<
Grid
container
spacing=
{
3
}
>
<
Grid
item
sm=
{
12
}
md=
{
3
}
>
LOGO
</
Grid
>
<
Grid
item
sm=
{
12
}
md=
{
3
}
>
<
Grid
container
spacing=
{
5
}
>
<
Grid
item
xs=
{
12
}
sm=
{
12
}
md=
{
3
}
>
LOGO
</
Grid
>
<
Grid
item
xs=
{
12
}
sm=
{
12
}
md=
{
3
}
>
<
Typography
component=
"h5"
className=
{
classes
.
title
}
>
Contáctanos
</
Typography
>
<
FormFooter
/>
</
Grid
>
<
Grid
item
sm=
{
12
}
md=
{
3
}
>
<
Grid
item
xs=
{
12
}
sm=
{
12
}
md=
{
3
}
>
<
Typography
component=
"h5"
className=
{
classes
.
title
}
>
Sobre nosotros
</
Typography
>
...
...
@@ -72,7 +80,7 @@ function Footer() {
</
ListItem
>
</
List
>
</
Grid
>
<
Grid
item
sm=
{
12
}
md=
{
3
}
>
<
Grid
item
xs=
{
12
}
sm=
{
12
}
md=
{
3
}
>
<
Typography
component=
"h5"
className=
{
classes
.
title
}
>
Sitio
</
Typography
>
...
...
@@ -101,6 +109,7 @@ function Footer() {
</
List
>
</
Grid
>
</
Grid
>
<
Typography
variant=
"body2"
align=
"center"
color=
{
myPalette
.
secondary
.
contrastText
}
sx=
{
{
py
:
2
}
}
>
{
"
Copyright ©
"
}
<
Link
color=
"inherit"
href=
"#"
>
...
...
src/components/palette.js
View file @
0b20932a
...
...
@@ -16,7 +16,7 @@ const theme = createTheme({
dark
:
cyan
[
700
],
contrastText
:
"
#fff
"
,
},
}
,
}
})
export
default
theme
src/components/styled.js
View file @
0b20932a
...
...
@@ -10,18 +10,21 @@ export const NavLinkFooter = styled.a`
border-bottom: 2px solid #42C3D8;
cursor: pointer;
}
`
export
const
NavLink
=
styled
(
NavLinkFooter
)
`
@media only screen and (max-width: 959px) {
margin-left: 0px;
margin-right: 5px;
&:hover {
border-bottom: none;
}
}
`
export
const
NavLink
=
styled
(
NavLinkFooter
)
`
@media only screen and (max-width: 959px) {
margin-right: 5px;
}
`
export
const
FooterContainer
=
styled
.
footer
`
width: 100%;
height: auto;
...
...
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