refactor homepage design

master
Ayush Mukherjee 4 years ago
parent 196f831940
commit 0a7f2ed090

@ -7,13 +7,14 @@ main {
.content { .content {
margin-top: 60px; margin-top: 60px;
margin-right: 50px; margin-right: 50px;
max-width: 750px;
.tag { .tag {
font-size: $font-hero; font-size: $font-hero;
font-weight: $font-bold;
} }
.para { .para {
max-width: 600px;
margin: 40px 0; margin: 40px 0;
} }
} }
@ -23,6 +24,23 @@ main {
width: 100%; width: 100%;
} }
} }
.underline {
display: inline-block;
position: relative;
color: $primary;
&::after {
position: absolute;
bottom: 2px;
left: 0;
z-index: -1;
content: '';
width: 100%;
height: 25%;
background: $secondary;
}
}
} }
.work { .work {
@ -103,11 +121,12 @@ main {
.contact { .contact {
margin: 120px 0; margin: 120px 0;
display: flex; display: flex;
flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.form { .form {
margin-right: 30px; margin-top: 30px;
padding: 15px 30px; padding: 15px 30px;
max-width: 500px; max-width: 500px;
width: 100%; width: 100%;
@ -145,7 +164,6 @@ main {
} }
.socials { .socials {
max-width: 500px;
width: 100%; width: 100%;
height: 500px; height: 500px;
display: flex; display: flex;
@ -153,13 +171,22 @@ main {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
span { .socials-container {
width: 100%;
display: flex; display: flex;
justify-content: center; justify-content: space-between;
align-items: center; .about { align-items: center;
} .social {
margin: 10px 0; display: flex;
justify-content: center;
align-items: center;
width: 300px;
height: 100px;
background: $tertiary;
border-radius: 5px;
transition: box-shadow 0.2s linear;
font-size: $font-regular;
img { img {
margin-right: 10px; margin-right: 10px;
@ -168,9 +195,16 @@ main {
a, a,
a:active, a:active,
a:visited { a:visited {
color: $primary; color: $fg;
text-decoration: none; text-decoration: none;
} }
&:hover {
cursor: pointer;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
}
} }
} }
} }

@ -3,16 +3,16 @@
<main> <main>
<div class="content"> <div class="content">
<div class="tag"> <div class="tag">
Hey! I'm <span class="name">Ayush Mukherjee.</span> Hey! I'm <span class="underline">Ayush Mukherjee.</span>
<br> <br>
I'm a software engineer and open-source enthusiast. I'm a software engineer and open-source enthusiast.
</div> </div>
<div class="para"> <div class="para">
<p>This website is the digital home of my projects. You can wait for my upcoming blog, learn more about me or say hi!</p> <p>This website is the digital home of my projects. You can wait for my upcoming blog, learn more <span class="underline">about me</span> or <span class="underline">say hi!</span></p>
</div> </div>
<div class="cta"> <div class="cta">
<a href="#work" class="btn">See my work</a> <a href="#work" class="btn">About Me</a>
<a href="#contact" class="btn btn-secondary">Discuss a project</a> <a href="#contact" class="btn btn-secondary">GitHub Profile</a>
</div> </div>
</div> </div>
<div class="illustration"> <div class="illustration">
@ -95,11 +95,11 @@
</section> </section>
<div class="title" id="contact"> <div class="title" id="contact">
<div class="sub">Ways to</div>
Contact Me Contact Me
</div> </div>
<section class="contact"> <section class="contact">
<h1>Wanna say hi, or discuss a project? Leave a message below!</h1>
<div class="form"> <div class="form">
<form id="contact-form"> <form id="contact-form">
<div class="input-group"> <div class="input-group">
@ -121,10 +121,21 @@
</form> </form>
</div> </div>
<div class="socials"> <div class="socials">
<span>Alternatively, I'm also available via:</span> <h3>Alternatively, I'm also available via:</h3>
<span><img width="25px" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMjIgNXYxNGgtMjB2LTE0aDIwem0yLTJoLTI0djE4aDI0di0xOHptLTIgMTZsLTYuNTI2LTYuNjE4LTMuNDQ1IDMuNDgzLTMuNDE4LTMuNTI1LTYuNjExIDYuNjYgNS4wNTEtOC01LjA1MS02IDEwLjAyOSA3LjQ0NiA5Ljk3MS03LjQ0Ni00Ljk5OCA2LjAxIDQuOTk4IDcuOTl6Ii8+PC9zdmc+"><a href="mailto:me@ayushm.com">me@ayushm.com</a></span> <div class="socials-container">
<span><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgMGgtMTRjLTIuNzYxIDAtNSAyLjIzOS01IDV2MTRjMCAyLjc2MSAyLjIzOSA1IDUgNWgxNGMyLjc2MiAwIDUtMi4yMzkgNS01di0xNGMwLTIuNzYxLTIuMjM4LTUtNS01em0tLjEzOSA5LjIzN2MuMjA5IDQuNjE3LTMuMjM0IDkuNzY1LTkuMzMgOS43NjUtMS44NTQgMC0zLjU3OS0uNTQzLTUuMDMyLTEuNDc1IDEuNzQyLjIwNSAzLjQ4LS4yNzggNC44Ni0xLjM1OS0xLjQzNy0uMDI3LTIuNjQ5LS45NzYtMy4wNjYtMi4yOC41MTUuMDk4IDEuMDIxLjA2OSAxLjQ4Mi0uMDU2LTEuNTc5LS4zMTctMi42NjgtMS43MzktMi42MzMtMy4yNi40NDIuMjQ2Ljk0OS4zOTQgMS40ODYuNDExLTEuNDYxLS45NzctMS44NzUtMi45MDctMS4wMTYtNC4zODMgMS42MTkgMS45ODYgNC4wMzggMy4yOTMgNi43NjYgMy40My0uNDc5LTIuMDUzIDEuMDgtNC4wMyAzLjE5OS00LjAzLjk0MyAwIDEuNzk3LjM5OCAyLjM5NSAxLjAzNy43NDgtLjE0NyAxLjQ1MS0uNDIgMi4wODYtLjc5Ni0uMjQ2Ljc2Ny0uNzY2IDEuNDEtMS40NDMgMS44MTYuNjY0LS4wOCAxLjI5Ny0uMjU2IDEuODg1LS41MTctLjQzOS42NTYtLjk5NiAxLjIzNC0xLjYzOSAxLjY5N3oiLz48L3N2Zz4="><a target="_blank" href="https://twitter.com/ayush123460">@ayush123460</a></span> <div class="social">
<span><img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm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U4NC4yNzIuMzI4LjEyOC43Mi4yNTYgMS4xNzYuMzQ0LjYuMTEyIDEuMzA0LjE1MiAyLjA3Mi4wMDguMzc2LS4wNjQuNzYtLjE3NiAxLjE2LS4zNDQuMjgtLjEwNC41OTItLjI1Ni45Mi0uNDcyIDAgMC0uNC42NTYtMS40NDguOTUybC41MjguNjQ4em0tMy43Mi0zLjczNmMtLjQ1NiAwLS44MTYuNC0uODE2Ljg4OHMuMzY4Ljg4OC44MTYuODg4Yy40NTYgMCAuODE2LS40LjgxNi0uODg4LjAwOC0uNDg4LS4zNi0uODg4LS44MTYtLjg4OHptMi45MiAwYy0uNDU2IDAtLjgxNi40LS44MTYuODg4cy4zNjguODg4LjgxNi44ODhjLjQ1NiAwIC44MTYtLjQuODE2LS44ODhzLS4zNi0uODg4LS44MTYtLjg4OHoiLz48L3N2Zz4=">Ayush#4148</a></span> <img width="25px" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMjIgNXYxNGgtMjB2LTE0aDIwem0yLTJoLTI0djE4aDI0di0xOHptLTIgMTZsLTYuNTI2LTYuNjE4LTMuNDQ1IDMuNDgzLTMuNDE4LTMuNTI1LTYuNjExIDYuNjYgNS4wNTEtOC01LjA1MS02IDEwLjAyOSA3LjQ0NiA5Ljk3MS03LjQ0Ni00Ljk5OCA2LjAxIDQuOTk4IDcuOTl6Ii8+PC9zdmc+">
<a href="mailto:me@ayushm.com">me@ayushm.com</a>
</div>
<div class="social">
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgMGgtMTRjLTIuNzYxIDAtNSAyLjIzOS01IDV2MTRjMCAyLjc2MSAyLjIzOSA1IDUgNWgxNGMyLjc2MiAwIDUtMi4yMzkgNS01di0xNGMwLTIuNzYxLTIuMjM4LTUtNS01em0tLjEzOSA5LjIzN2MuMjA5IDQuNjE3LTMuMjM0IDkuNzY1LTkuMzMgOS43NjUtMS44NTQgMC0zLjU3OS0uNTQzLTUuMDMyLTEuNDc1IDEuNzQyLjIwNSAzLjQ4LS4yNzggNC44Ni0xLjM1OS0xLjQzNy0uMDI3LTIuNjQ5LS45NzYtMy4wNjYtMi4yOC41MTUuMDk4IDEuMDIxLjA2OSAxLjQ4Mi0uMDU2LTEuNTc5LS4zMTctMi42NjgtMS43MzktMi42MzMtMy4yNi40NDIuMjQ2Ljk0OS4zOTQgMS40ODYuNDExLTEuNDYxLS45NzctMS44NzUtMi45MDctMS4wMTYtNC4zODMgMS42MTkgMS45ODYgNC4wMzggMy4yOTMgNi43NjYgMy40My0uNDc5LTIuMDUzIDEuMDgtNC4wMyAzLjE5OS00LjAzLjk0MyAwIDEuNzk3LjM5OCAyLjM5NSAxLjAzNy43NDgtLjE0NyAxLjQ1MS0uNDIgMi4wODYtLjc5Ni0uMjQ2Ljc2Ny0uNzY2IDEuNDEtMS40NDMgMS44MTYuNjY0LS4wOCAxLjI5Ny0uMjU2IDEuODg1LS41MTctLjQzOS42NTYtLjk5NiAxLjIzNC0xLjYzOSAxLjY5N3oiLz48L3N2Zz4=">
<a target="_blank" href="https://twitter.com/ayush123460">@ayush123460</a>
</div>
<div class="social">
<img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xOSAyNGgtMTRjLTIuNzYxIDAtNS0yLjIzOS01LTV2LTE0YzAtMi43NjEgMi4yMzktNSA1LTVoMTRjMi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