Skip to content

Commit 0179f82

Browse files
Merge pull request #61 from Groway-Studio/develop
Footer section updated
2 parents 463514e + 256985c commit 0179f82

2 files changed

Lines changed: 61 additions & 72 deletions

File tree

src/component/shared/footer.tsx

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -26,40 +26,39 @@ export default function Footer() {
2626
<a href="/#">Brochure</a>
2727
</span>
2828
</aside> */}
29-
<aside className="sectionRight">
30-
<aside className="ubication">
31-
<article>
32-
<strong>Perú</strong>
33-
<p>
34-
AV. El Derby 055 Edificio Cronos, Torre 1 Piso 7 Santiago de
35-
Surco Lima - Perú
36-
</p>
37-
</article>
38-
</aside>
39-
<article className="socials">
40-
<a
41-
href="https://www.instagram.com/groway.studio"
42-
target="_blank"
43-
rel="noreferrer"
44-
>
45-
<img src={igIlus} alt="Groway.Studio" />
46-
</a>
47-
<a
48-
href="https://www.linkedin.com/company/growaystudio"
49-
target="_blank"
50-
rel="noreferrer"
51-
>
52-
<img src={linkedinIlus} alt="Groway.Studio" />
53-
</a>
54-
<a
55-
href="https://www.facebook.com/groway.studio"
56-
target="_blank"
57-
rel="noreferrer"
58-
>
59-
<img src={fbIlus} alt="Groway.Studio" />
60-
</a>
29+
30+
<aside className="ubication">
31+
<article>
32+
<strong>Perú</strong>
33+
<p>
34+
AV. El Derby 055 Edificio Cronos, Torre 1 Piso 7 Santiago de Surco
35+
Lima - Perú
36+
</p>
6137
</article>
6238
</aside>
39+
<article className="socials">
40+
<a
41+
href="https://www.instagram.com/groway.studio"
42+
target="_blank"
43+
rel="noreferrer"
44+
>
45+
<img src={igIlus} alt="Groway.Studio" />
46+
</a>
47+
<a
48+
href="https://www.facebook.com/groway.studio"
49+
target="_blank"
50+
rel="noreferrer"
51+
>
52+
<img src={fbIlus} alt="Groway.Studio" />
53+
</a>
54+
<a
55+
href="https://www.linkedin.com/company/growaystudio"
56+
target="_blank"
57+
rel="noreferrer"
58+
>
59+
<img src={linkedinIlus} alt="Groway.Studio" />
60+
</a>
61+
</article>
6362
</section>
6463
</div>
6564
);

src/sass/shared/_footer.scss

Lines changed: 30 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
width: 90%;
1111
margin: 0 auto;
1212
padding: 30px 0;
13-
display: flex;
14-
flex-direction: row;
15-
align-items: flex-start;
13+
display: grid;
14+
grid-template-columns: repeat(2, auto);
15+
align-items: center;
1616

1717
@include tablet {
18-
max-width: $container-tablet;
19-
width: 100%;
18+
grid-template-columns: repeat(3, auto);
19+
gap: 1rem;
2020
}
2121

2222
@include phone {
2323
max-width: $container-phone;
24+
grid-template-columns: 100%;
2425
padding: 70px 0;
25-
width: 100%;
2626
display: grid;
2727
}
2828

@@ -44,6 +44,7 @@
4444

4545
@include tablet {
4646
margin: 0;
47+
width: 100%;
4748
}
4849

4950
.brandOne {
@@ -57,7 +58,7 @@
5758
}
5859

5960
.brandTwo {
60-
width: 30%;
61+
width: 150px;
6162
margin-left: 14px;
6263
max-width: 200px;
6364

@@ -112,55 +113,44 @@
112113
text-decoration: none;
113114
}
114115
}
115-
.sectionRight {
116-
width: 45%;
116+
117+
.socials {
118+
display: flex;
119+
align-items: center;
120+
flex-direction: row;
121+
justify-content: right;
122+
gap: 2.5rem;
123+
margin: 0 0 0 auto;
124+
125+
a {
126+
line-height: 0;
127+
}
117128

118129
@include phone {
119130
width: 100%;
131+
justify-content: center;
132+
gap: 2rem;
120133
}
121134

122135
@include tablet {
123-
position: relative;
124-
}
125-
126-
.socials {
127-
//width: 50%;
128-
display: flex;
129-
align-items: center;
130-
flex-direction: row;
131-
justify-content: right;
132-
padding-top: 12px;
133-
gap: 2.5rem;
134-
135-
@include phone {
136-
width: 100%;
137-
justify-content: center;
138-
gap: 2rem;
139-
}
140-
141-
@include tablet {
142-
position: absolute;
143-
top: 50%;
144-
left: 55%;
145-
gap: 1rem;
146-
}
136+
// position: absolute;
137+
// top: 50%;
138+
// left: 55%;
139+
gap: 1rem;
147140
}
148141
}
142+
149143
.ubication {
150-
display: flex;
151-
flex-direction: row;
152-
justify-content: space-between;
144+
display: none;
153145

154146
@include tablet {
155-
display: grid;
156-
grid-template-columns: repeat(2, 50%);
147+
display: block;
157148
gap: 10px;
158149
}
159150

160151
@include phone {
161-
display: grid;
152+
display: block;
162153
gap: 1rem;
163-
grid-template-columns: calc(60% - 0.5rem) calc(40% - 0.5rem);
164154
}
165155
article {
166156
&:first-child {

0 commit comments

Comments
 (0)