-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from stifskere/dev
feat: footer and project desc responsiveness
- Loading branch information
Showing
5 changed files
with
130 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
|
||
.footer-contact { | ||
color: white; | ||
|
||
display: flex; | ||
flex-direction: column; | ||
|
||
gap: 15px; | ||
|
||
font-size: 1.1em; | ||
} | ||
|
||
@media (orientation: portrait) { | ||
.footer-contact > h1 { | ||
align-self: center; | ||
} | ||
} | ||
|
||
.contact-input { | ||
display: flex; | ||
|
||
justify-content: center; | ||
align-items: center; | ||
|
||
gap: 10px; | ||
|
||
font-size: 1.2em; | ||
|
||
position: relative; | ||
} | ||
|
||
.contact-input > svg { | ||
position: absolute; | ||
|
||
left: 90%; | ||
|
||
/*cursor: pointer;*/ | ||
|
||
color: #606060; | ||
|
||
transition: color 0.2s; | ||
} | ||
|
||
/*.contact-input > svg:hover {*/ | ||
/* color: white;*/ | ||
/*}*/ | ||
|
||
.contact-input > input { | ||
background-color: black; | ||
|
||
border: #606060 solid; | ||
border-width: 0 0 1px 0; | ||
|
||
height: 30px; | ||
|
||
color: white; | ||
|
||
outline: none; | ||
|
||
padding-left: 10px; | ||
|
||
transition: border-color 0.2s; | ||
|
||
width: 250px; | ||
} | ||
|
||
/*.contact-input > input:focus,*/ | ||
/*.contact-input > input:hover {*/ | ||
/* border-color: white;*/ | ||
/*}*/ | ||
|
||
.contact-alternative { | ||
color: #676767; | ||
|
||
font-size: 0.7em; | ||
} | ||
|
||
.contact-alternative > p > a { | ||
transition: color 0.2s, text-shadow 0.2s; | ||
|
||
color: #676767; | ||
|
||
text-decoration: none; | ||
|
||
cursor: pointer; | ||
} | ||
|
||
.contact-alternative > p > a:hover { | ||
color: white; | ||
|
||
text-shadow: 0 0 5px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import {ReactElement} from "react"; | ||
import {IoIosSend} from "react-icons/io"; | ||
|
||
import "./index.css"; | ||
|
||
export default function FooterContact(): ReactElement { | ||
return <div className="footer-contact"> | ||
<h1>Get in touch</h1> | ||
<div className="contact-input"> | ||
<input disabled={true} type="email" placeholder="My email is unavailable..."/> | ||
<IoIosSend/> | ||
</div> | ||
<div className="contact-alternative"> | ||
<p>But you can WhatsApp at <a href="https://wa.me/message/L7BNFIDQU44CN1">(+34) 611 080 006</a>.</p> | ||
</div> | ||
</div>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters