mirror of
https://github.com/ivabus/www
synced 2024-11-26 04:15:05 +03:00
Improvements
This commit is contained in:
parent
0290ad4e69
commit
e02ac70caf
2 changed files with 75 additions and 79 deletions
|
@ -1,13 +1,13 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
|
||||||
<!-- Hero Section -->
|
<!-- Hero Section -->
|
||||||
<section class="hero one-box">
|
<section class="hero one-box teal-bg">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row gx-5">
|
<div class="row">
|
||||||
<div class="col-xl-2 col-lg-2 col-md-0 col-sm-0 col-0"></div>
|
<div class="col-xl-2 col-lg-2 col-md-0 col-sm-0 col-0"></div>
|
||||||
<div class="hero-col col-xl-8 col-lg-8 col-md-0 col-sm-0 col-0 my-auto">
|
<div class="hero-col col-xl-8 col-lg-8 col-md-0 col-sm-0 col-0 my-auto">
|
||||||
<h1 class="display-1 hero-text text-center" style="z-index:3; position: relative;"><span class="inner-glow ">Careers</h1>
|
<h1 class="display-1 hero-text text-center black" style="z-index:3; position: relative;"><span class="inner-glow ">Careers</h1>
|
||||||
<p class="lead hero-lead mb-5 text-center">tea is building an open-source ecosystem that is fair for everyone. We are growing our team of talented people to make this happen. We are looking for curious, passionate, and smart teammates. If you are interested please check out our open positions below.</p>
|
<p class="lead hero-lead mb-5 text-center black"><span class="tea">tea</span> is building an open-source ecosystem that is fair for everyone. We are growing our team of talented people to make this happen. We are looking for curious, passionate, and smart teammates. If you are interested please check out our open positions below.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<div class="container one-box">
|
<div class="container one-box">
|
||||||
<div class="container mt-5 mb-5">
|
<div class="container mt-5 mb-5 me-0">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h3 class="display-6 mb-4">Current Openings</h3>
|
<h3 class="display-6 mb-4">Current Openings</h3>
|
||||||
|
@ -27,22 +27,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Why Work at tea -->
|
<script>
|
||||||
<section class="teal-bg two-boxes">
|
|
||||||
<div class="row">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col">
|
|
||||||
<h3 class="black text-center">Why work @ tea?</h3>
|
|
||||||
<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‐based bonuses.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
// Fetch data from API
|
// Fetch data from API
|
||||||
fetch("https://tea.breezy.hr/json?verbose=true")
|
fetch("https://tea.breezy.hr/json?verbose=true")
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
|
@ -51,33 +36,34 @@
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
// Create card element
|
// Create card element
|
||||||
const card = document.createElement("div");
|
const card = document.createElement("div");
|
||||||
card.classList.add("card", "mb-3");
|
card.classList.add("card", "mb-4");
|
||||||
|
|
||||||
// Create card body element
|
// Create card body element
|
||||||
const cardBody = document.createElement("div");
|
const cardBody = document.createElement("div");
|
||||||
cardBody.classList.add("card-body");
|
cardBody.classList.add("card-body", "p-4");
|
||||||
|
|
||||||
// Add name to card body
|
// Add name to card body as a link to the URL
|
||||||
const title = document.createElement("h5");
|
const title = document.createElement("a");
|
||||||
title.classList.add("card-title");
|
title.classList.add("card-title", "display-6", "teal");
|
||||||
|
title.href = item.url;
|
||||||
title.textContent = item.name;
|
title.textContent = item.name;
|
||||||
cardBody.appendChild(title);
|
cardBody.appendChild(title);
|
||||||
|
|
||||||
// Add description to card body
|
// Add description to card body
|
||||||
const description = document.createElement("div");
|
const description = document.createElement("div");
|
||||||
description.classList.add("card-text");
|
description.classList.add("card-text","mt-3","mb-5");
|
||||||
description.innerHTML = item.description.slice(0, 100);
|
description.innerHTML = item.description.slice(0, 700);
|
||||||
cardBody.appendChild(description);
|
cardBody.appendChild(description);
|
||||||
|
|
||||||
// Add show more link to card body
|
// Add show more link to card body
|
||||||
const showMoreLink = document.createElement("a");
|
const showMoreLink = document.createElement("a");
|
||||||
showMoreLink.classList.add("text-primary", "mr-3");
|
showMoreLink.classList.add("me-3", "teal");
|
||||||
showMoreLink.href = "#";
|
showMoreLink.href = "#";
|
||||||
showMoreLink.textContent = "Show more";
|
showMoreLink.textContent = "Show more";
|
||||||
showMoreLink.addEventListener("click", event => {
|
showMoreLink.addEventListener("click", event => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
if (description.innerHTML === item.description) {
|
if (description.innerHTML === item.description) {
|
||||||
description.innerHTML = item.description.slice(0, 100);
|
description.innerHTML = item.description.slice(0, 700);
|
||||||
showMoreLink.textContent = "Show more";
|
showMoreLink.textContent = "Show more";
|
||||||
} else {
|
} else {
|
||||||
description.innerHTML = item.description;
|
description.innerHTML = item.description;
|
||||||
|
@ -88,9 +74,9 @@
|
||||||
|
|
||||||
// Add url link to card body
|
// Add url link to card body
|
||||||
const urlLink = document.createElement("a");
|
const urlLink = document.createElement("a");
|
||||||
urlLink.classList.add("text-primary");
|
urlLink.classList.add("teal");
|
||||||
urlLink.href = item.url;
|
urlLink.href = item.url;
|
||||||
urlLink.textContent = "Go to URL";
|
urlLink.textContent = "View on BreezyHR";
|
||||||
cardBody.appendChild(urlLink);
|
cardBody.appendChild(urlLink);
|
||||||
|
|
||||||
// Add card body to card
|
// Add card body to card
|
||||||
|
@ -108,10 +94,15 @@
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(error => console.log(error));
|
.catch(error => console.log(error));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
a:hover{
|
||||||
|
color: #2675f5;
|
||||||
|
}
|
||||||
|
|
||||||
.accordion-button{
|
.accordion-button{
|
||||||
line-height: 6vw;
|
line-height: 6vw;
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,6 +66,11 @@ h5{
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h6{
|
||||||
|
font-family: "mona-sb", sans-serif;
|
||||||
|
color:#00ffd0;
|
||||||
|
}
|
||||||
|
|
||||||
p{
|
p{
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
line-height: 1.7rem;
|
line-height: 1.7rem;
|
||||||
|
|
Loading…
Reference in a new issue