File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22import 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 >
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 1010 height: auto;
1111 }
1212 img {
13- width: 5% ;
13+ width: 5em ;
1414 height: auto;
1515 display: block;
1616 margin: auto;
You can’t perform that action at this time.
0 commit comments