Skip to content

Commit 1589e15

Browse files
committed
Add images in contact section for desktop view
1 parent 7693ab2 commit 1589e15

2 files changed

Lines changed: 70 additions & 16 deletions

File tree

index.html

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<div class="desktop-nav">
2323
<nav class="nav_links">
2424
<ul class="desktop-links">
25-
<li><a href="#">Portfolio</a></li>
26-
<li><a href="#">About</a></li>
27-
<li><a href="#">Contact</a></li>
25+
<li><a href="#project">Portfolio</a></li>
26+
<li><a href="#about">About</a></li>
27+
<li><a href="#contact">Contact</a></li>
2828
</ul>
2929
</nav>
3030
</div>
@@ -71,7 +71,7 @@ <h1 class="header-text">
7171
</section>
7272

7373
<!-- Recent Works Section -->
74-
<section class="recent_works_container">
74+
<section id="project" class="recent_works_container">
7575
<div class="heading-container">
7676
<h1 class="works_heading">MY Recent Works</h1>
7777
<div class="indicator"></div>
@@ -159,7 +159,7 @@ <h3 class="project_title">Multi-Post Stories Gain+Glory</h3>
159159
</div>
160160
</section>
161161
<!-- About myself section -->
162-
<section id="about_myself_container">
162+
<section id="about" class="about_myself_container">
163163
<div class="about-me-illustration-container">
164164
<div class="about_me">
165165
<h1 class="about_me_heading">About me</h1>
@@ -250,7 +250,7 @@ <h2 class="skills_heading heading">Skills</h2>
250250
</section>
251251
</section>
252252
<!-- Contact Section -->
253-
<section id="contact-form-container">
253+
<section id="contact" class="contact-form-container">
254254
<h1 class="contact_header">
255255
I'm always interested in hearing about new projects, so if you'd
256256
like to chat please get in touch.
@@ -310,7 +310,24 @@ <h1 class="contact_header">
310310
</form>
311311
</section>
312312

313-
<section class="contact-links">
313+
<footer id="footer" class="contact-links">
314+
<div class="desktop-illustrations-container">
315+
<img
316+
class="image-left-1"
317+
src="./images/left-bottom-contact-illustration-desktop.svg"
318+
alt=""
319+
/>
320+
<img
321+
class="image-middle-2"
322+
src="./images/left-middle-contact-illustration-desktop.svg"
323+
alt=""
324+
/>
325+
<img
326+
class="image-right-3"
327+
src="./images/right-contact-illustration-desktop.svg"
328+
alt=""
329+
/>
330+
</div>
314331
<ul class="social-media-icons social-media">
315332
<li>
316333
<a href="https://twitter.com/Rachelisaac13"
@@ -343,7 +360,7 @@ <h1 class="contact_header">
343360
/>
344361

345362
<a class="email_link" href="">myemailhere@email.com</a>
346-
</section>
363+
</footer>
347364
</main>
348365
</div>
349366
</body>

style.css

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ main {
552552
}
553553

554554
/* Contact section styling */
555-
#contact-form-container {
555+
.contact-form-container {
556556
padding: 64px 24px 15px;
557557
display: flex;
558558
flex-direction: column;
@@ -604,6 +604,10 @@ form {
604604
position: relative;
605605
}
606606

607+
.desktop-illustrations-container {
608+
display: none;
609+
}
610+
607611
.social-media {
608612
padding-bottom: 20px;
609613
}
@@ -622,12 +626,7 @@ form {
622626
line-height: 32px;
623627
}
624628

625-
input[type="text"] {
626-
padding: 8px;
627-
border-radius: 4px;
628-
border: 1px solid #d0d9d4;
629-
}
630-
629+
input[type="text"],
631630
input[type="email"] {
632631
padding: 8px;
633632
border-radius: 4px;
@@ -778,14 +777,16 @@ textarea {
778777
/* Languages, Frameworks and Skills Cards Styling */
779778
.language_framework_skills {
780779
flex-direction: row;
780+
justify-content: center;
781781
}
782782

783783
.card {
784784
width: 30%;
785785
}
786786

787787
/* Contact section styling */
788-
#contact-form-container {
788+
.contact-form-container {
789+
width: 95%;
789790
flex-direction: row;
790791
align-items: flex-start;
791792
justify-content: center;
@@ -836,4 +837,40 @@ textarea {
836837
.form-image {
837838
display: none;
838839
}
840+
841+
.contact-links {
842+
margin-top: 20rem;
843+
position: relative;
844+
border-top: 1px solid #dfe1e6;
845+
}
846+
847+
.social-media {
848+
padding-top: 1rem;
849+
}
850+
851+
.desktop-illustrations-container {
852+
display: block;
853+
}
854+
855+
.image-left-1 {
856+
position: absolute;
857+
bottom: 60%;
858+
right: 83%;
859+
}
860+
861+
.image-middle-2 {
862+
position: absolute;
863+
bottom: 200%;
864+
right: 70%;
865+
}
866+
867+
.image-right-3 {
868+
position: absolute;
869+
bottom: 120%;
870+
left: 80%;
871+
}
872+
873+
.email_link {
874+
display: none;
875+
}
839876
}

0 commit comments

Comments
 (0)