Skip to content

Commit 7f856be

Browse files
authored
Docs: banner we-are-hiring (#1595)
* Add We are hiring banner to the docs page * Add We are hiring information to the readme file
1 parent 0151983 commit 7f856be

File tree

3 files changed

+91
-1
lines changed

3 files changed

+91
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
---
2424

25+
> 🚀 **We're hiring!** Join HyperFormula team as a **Senior Software Engineer**. [See the role and apply](https://handsontable.traffit.com/public/an/4b09e1395bf8ea42ef86db4c4657992c2f48673d).
26+
2527
HyperFormula is a headless spreadsheet built in TypeScript, serving as both a parser and evaluator of spreadsheet formulas. It can be integrated into your browser or utilized as a service with Node.js as your back-end technology.
2628

2729
## What HyperFormula can be used for?
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<template>
2+
<div class="hf-hiring-banner">
3+
<span class="hf-hiring-banner__emoji" aria-hidden="true">🚀</span>
4+
<span class="hf-hiring-banner__text">
5+
Join HyperFormula team as a Senior Software Engineer
6+
</span>
7+
<a
8+
class="hf-hiring-banner__cta"
9+
href="https://handsontable.traffit.com/public/an/4b09e1395bf8ea42ef86db4c4657992c2f48673d"
10+
target="_blank"
11+
rel="noopener"
12+
>
13+
See the role and apply
14+
</a>
15+
</div>
16+
</template>
17+
18+
<script>
19+
export default {
20+
name: 'HiringBanner',
21+
};
22+
</script>
23+
24+
<style scoped>
25+
:global(:root) {
26+
--hf-banner-height: 32px;
27+
}
28+
29+
.hf-hiring-banner {
30+
position: fixed;
31+
bottom: 0;
32+
left: 0;
33+
right: 0;
34+
z-index: 2000;
35+
display: flex;
36+
align-items: center;
37+
gap: 0.75rem;
38+
min-height: var(--hf-banner-height);
39+
padding: 0.65rem 1rem;
40+
background: linear-gradient(90deg, #0b63ce, #0f8fef);
41+
color: #fff;
42+
font-weight: 600;
43+
font-size: 0.95rem;
44+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
45+
}
46+
47+
.hf-hiring-banner__emoji {
48+
font-size: 1.1rem;
49+
}
50+
51+
.hf-hiring-banner__text {
52+
flex: 1;
53+
}
54+
55+
.hf-hiring-banner__cta {
56+
color: #0b63ce;
57+
background: #fff;
58+
padding: 0.4rem 0.9rem;
59+
border-radius: 999px;
60+
font-weight: 700;
61+
text-decoration: none;
62+
transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
63+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
64+
}
65+
66+
.hf-hiring-banner__cta:hover,
67+
.hf-hiring-banner__cta:focus {
68+
background: #e8f3ff;
69+
transform: translateY(-1px);
70+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
71+
}
72+
73+
:global(.theme-container) {
74+
padding-bottom: calc(var(--hf-banner-height) + 1rem);
75+
}
76+
77+
@media (max-width: 640px) {
78+
.hf-hiring-banner {
79+
flex-direction: column;
80+
align-items: stretch;
81+
}
82+
83+
.hf-hiring-banner__cta {
84+
text-align: center;
85+
}
86+
}
87+
</style>

docs/.vuepress/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const searchPattern = new RegExp('^/api', 'i');
1111
module.exports = {
1212
title: 'HyperFormula (v' + HyperFormula.version + ')',
1313
description: 'HyperFormula is an open-source, high-performance calculation engine for spreadsheets and web applications.',
14+
globalUIComponents: ['HiringBanner'],
1415
head: [
1516
// Import HF (required for the examples)
1617
[ 'script', { src: 'https://cdn.jsdelivr.net/npm/hyperformula/dist/hyperformula.full.min.js' } ],
@@ -40,7 +41,7 @@ module.exports = {
4041
new Sentry.Replay({
4142
maskAllText: false,
4243
blockAllMedia: false,
43-
}),
44+
}),
4445
],
4546
});
4647
};

0 commit comments

Comments
 (0)