Finished careers data, updated styling

This commit is contained in:
Thomas Smith 2022-10-26 21:28:55 -04:00
parent 4e7e85c5a1
commit 16b1e7f595
4 changed files with 42 additions and 10 deletions

View file

@ -35,7 +35,9 @@
<p>Department: <span id="deptOne"></span></p>
<p>Location: <span id="locOne"></span></p>
</div>
<hr class="one-box-down">
<div class="one-box-down">
<hr>
</div>
<div class="one-box-down" id="descOne"></div>
<div>
<a href="" id="linkOne">
@ -58,7 +60,9 @@
<p>Department: <span id="deptTwo"></span></p>
<p>Location: <span id="locTwo"></span></p>
</div>
<hr class="one-box-down">
<div class="one-box-down">
<hr>
</div>
<div class="one-box-down" id="descTwo"></div>
<div>
<a href="" id="linkTwo">
@ -70,13 +74,26 @@
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
<button class="accordion-button collapsed" id="jobThree" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Accordion Item #3
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the third item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
<div class="accordion-body two-boxes">
<div class="one-box-down">
<p>Employment type: <span id="typeThree"></span></p>
<p>Department: <span id="deptThree"></span></p>
<p>Location: <span id="locThree"></span></p>
</div>
<div class="one-box-down">
<hr>
</div>
<div class="one-box-down" id="descThree"></div>
<div>
<a href="" id="linkThree">
<button class="detail-btn-large"><i class="icon-enter-arrow"></i>VIEW ALL DETAILS</button>
</a>
</div>
</div>
</div>
</div>
@ -89,7 +106,7 @@
<div class="row">
<div class="col">
<h3 class="black text-center">Why work @ tea?</h3>
<p class="text-center black">Join a team of motivated and passionate individuals and be a part of a rapidly growing and exciting project in web3 and open source technologies. We offer an attractive salary, relocation packages (if applicable), token/equity options and performance&#8208;based bonuses.</p>
<p class="text-center black" style="background-color:#00ffd0 !important;">Join a team of motivated and passionate individuals and be a part of a rapidly growing and exciting project in web3 and open source technologies. We offer an attractive salary, relocation packages (if applicable), token/equity options and performance&#8208;based bonuses.</p>
</div>
</div>
</div>
@ -97,4 +114,12 @@
</section>
<style>
.accordion-button{
line-height: 6vw;
}
</style>
{{ end }}

View file

@ -175,11 +175,18 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
document.getElementById('jobOne').innerHTML = out[0].name;
document.getElementById('descOne').innerHTML = out[0].description;
document.getElementById('linkOne').href = out[0].url;
//Job Description Two
document.getElementById('typeTwo').innerHTML = out[1].type.name;
document.getElementById('deptTwo').innerHTML = out[1].department;
document.getElementById('jobTwo').innerHTML = out[1].name;
document.getElementById('descTwo').innerHTML = out[1].description;
out[1].location.is_remote === true ? document.getElementById('locTwo').innerHTML = 'Remote' : document.getElementById('locTwo').innerHTML = out[1].location.name;
document.getElementById('linkTwo').href = out[1].url;
document.getElementById('jobThree').innerHTML = out[2].name;
document.getElementById('typeThree').innerHTML = out[2].type.name;
document.getElementById('deptThree').innerHTML = out[2].department;
out[2].location.is_remote === true ? document.getElementById('locThree').innerHTML = 'Remote' : document.getElementById('locThree').innerHTML = out[2].location.name;
document.getElementById('descThree').innerHTML = out[2].description;
document.getElementById('linkThree').href = out[2].url;
})
.catch(err => { throw err });

View file

@ -1,7 +1,7 @@
<hr>
<form id="email_signup" action="//manage.kmail-lists.com/subscriptions/subscribe" method="POST">
<input type="hidden" name="g" value="XGq3MT">
<input class="footer-email" type="email" value="" name="email" id="k_id_email" placeholder="Your email" />
<input class="footer-email" type="email" value="" name="email" id="k_id_email" placeholder="Add your email_" />
<button class="email-btn" type="submit">SEND</button>
</form>
<hr>

View file

@ -41,7 +41,7 @@
transform: rotate(0deg);
order:-1;
margin-left: 0;
margin-right: 1vw;
margin-right: 1vw !important;
}
.accordion-body{
@ -302,7 +302,7 @@
transform: rotate(0deg);
order:-1;
margin-left: 0;
margin-right: 1vw;
margin-right: 6vw !important;
}
.accordion-body{