|
| 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> |
0 commit comments