Skip to content

Commit

Permalink
Docs: update button for questionnaire (labring#375)
Browse files Browse the repository at this point in the history
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
  • Loading branch information
yangchuansheng authored Oct 6, 2023
1 parent 45998f9 commit b6e49da
Show file tree
Hide file tree
Showing 16 changed files with 64 additions and 23,355 deletions.
40 changes: 40 additions & 0 deletions docSite/assets/docs/scss/custom/pages/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,44 @@ footer a:hover {
}
.github-badge .bg-lightgrey, .github-badge .bg-lightgray {
background-color: #9f9f9f !important;
}

#fixed-box {
position: fixed;
z-index: 9999;
}

.feedback-btn-wrapper {
position: fixed;
z-index: 1000;
bottom: 0;
left: 0;
margin: 2rem;
}
#feedback-btn {
height: 30px;
display: flex;
align-items: center;
padding: 1.2rem 0.7rem;
border-radius: 0.4rem;
cursor: pointer;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
user-select: none;
border: 0;
outline: 0;
color: #fff;
background-color: #4d698e;
transition: filter 0.4s ease;
}

#feedback-btn svg {
width: 1.25rem;
height: 1.25rem;
}

#feedback-btn span {
font-weight: 700;
font-size: 1rem;
margin-left: 0.5rem;
}
5 changes: 2 additions & 3 deletions docSite/content/docs/commercial.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ weight: 20

#### 总费用

总费用 = 商业版功能费用 + 用户数量费用
总费用 = 商业版交付费用 + 用户数量费用

## 技术支持

Expand All @@ -73,8 +73,7 @@ weight: 20

## 联系方式

微信: allence1004
邮箱: yujinlong@sealos.io
请填写[咨询问卷](https://fael3z0zfze.feishu.cn/share/base/form/shrcnRxj3utrzjywsom96Px4sud),我们会尽快与您联系。

## QA

Expand Down
22 changes: 22 additions & 0 deletions docSite/layouts/partials/docs/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,33 @@
{{ $yearToken := (cond (isset .Site.Params (lower "copyrightYearToken")) $.Site.Params.copyrightYearToken ":YEAR:") }}
{{ replace $.Site.Params.footer.copyright $yearToken (string (now.Format "2006")) | markdownify }}
</p>
<!--change-->
<p class="github-badge">
<span class="badge-subject">云操作系统</span><span class="badge-value bg-blue"><a style="color:#fff" href="https://sealos.io/" target="_blank">Sealos</a></span>
<span class="badge-subject">云开发</span><span class="badge-value bg-brightgreen"><a style="color:#fff" href="https://laf.run" target="_blank">Laf</a></span>
<span class="badge-subject">云原生存储</span><span class="badge-value bg-orange"><a style="color:#fff" href="https://github.com/labring/sealfs" target="_blank">Sealfs</a></span>
</p>
<div id="fixed-box">
<div class="feedback-btn-wrapper">
<a
href="https://fael3z0zfze.feishu.cn/share/base/form/shrcnRxj3utrzjywsom96Px4sud"
style="text-decoration: none"
target="_blank"
>
<button id="feedback-btn" title="Give feedback">
<svg class="inline w-5 h-5" viewBox="0 0 20 20" fill="currentColor">
<path
fill-rule="evenodd"
d="M18 13V5a2 2 0 00-2-2H4a2 2 0 00-2 2v8a2 2 0 002 2h3l3 3 3-3h3a2 2 0 002-2zM5 7a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1zm1 3a1 1 0 100 2h3a1 1 0 100-2H6z"
clip-rule="evenodd"
></path>
</svg>
<span _msttexthash="6039839" _msthash="295">咨询合作</span>
</button>
</a>
</div>
</div>
<!-- End -->
</div>
</div><!--end col-->
</div><!--end row-->
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit b6e49da

Please sign in to comment.