Skip to content

Commit f3e543b

Browse files
committed
Finalize layout
1 parent 6fb8f9c commit f3e543b

12 files changed

Lines changed: 127 additions & 47 deletions

File tree

public/images/github.svg

Lines changed: 1 addition & 0 deletions
Loading

public/images/linkedin.svg

Lines changed: 1 addition & 0 deletions
Loading

public/images/mail.svg

Lines changed: 1 addition & 0 deletions
Loading

public/images/phone.svg

Lines changed: 1 addition & 0 deletions
Loading

src/components/Footer.astro

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
11
---
22
import Social from "./Social.astro";
3-
---
3+
import "./Footer.css";
44
5-
<style>
6-
</style>
5+
const year = new Date().getFullYear();
6+
---
77

88
<footer>
9-
<Social platform="github" username="ctrl-vi" />
10-
<Social platform="linkedin" username="in/violet-monserate" />
9+
<div class="info">
10+
<p{year} Violet Monserate. All rights reserved.</p>
11+
<p>Developed using <a href="https://astro.build/">Astro.</a></p>
12+
<p>
13+
<a href="https://github.com/ctrl-vi/ctrl-vi.github.io/issues"
14+
>Report Bugs</a>
15+
</p>
16+
</div>
17+
18+
<div class="socials">
19+
<Social image="/images/github.svg" link="https://github.com/ctrl-vi" />
20+
<Social
21+
image="/images/linkedin.svg"
22+
link="https://www.linkedin.com/in/violet-monserate/"
23+
/>
24+
<Social image="/images/phone.svg" link="tel:425-970-5779" />
25+
<Social image="/images/mail.svg" link="mailto:violetmonserate@gmail.com" />
26+
</div>
1127
</footer>

src/components/Footer.css

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
footer {
2+
display: flex;
3+
justify-content: space-between;
4+
flex-wrap: wrap;
5+
align-items: center;
6+
box-sizing: border-box;
7+
background-color:#7213ad;
8+
width: 100%;
9+
padding: 0.5em;
10+
}
11+
12+
footer p {
13+
font-size: 0.8em;
14+
padding: 0.5em;
15+
color: white;
16+
margin: 0;
17+
}
18+
19+
.info a {
20+
color: #8c5dfb;
21+
}
22+
23+
footer a:hover {
24+
color: #b393ff;
25+
}
26+
27+
.info {
28+
flex: 0 0 auto;
29+
30+
}
31+
32+
.socials > a {
33+
padding: 0.5em;
34+
color: white;
35+
text-decoration: none;
36+
37+
}
38+
.socials {
39+
display: flex;
40+
flex-wrap: wrap;
41+
flex-direction: row;
42+
flex: 0 0 auto;
43+
}

src/components/Header.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
height: auto;
1111
}
1212
img {
13-
width: 5%;
13+
width: 5em;
1414
height: auto;
1515
display: block;
1616
margin: auto;

0 commit comments

Comments
 (0)