Skip to content

Commit

Permalink
Add link to request trial form to docs (pipe-cd#4602)
Browse files Browse the repository at this point in the history
Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: moko-poi <[email protected]>
  • Loading branch information
khanhtc1202 authored and moko-poi committed Nov 3, 2023
1 parent 5870592 commit 7a15deb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/assets/scss/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,19 @@
}
}
}

.corner-ribbon {
width: 220px;
background: rgb(238, 238, 51);
top: 25px;
right: -50px;
text-align: center;
line-height: 50px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
z-index: 100;
position: fixed;
a {
color: #ff0000;
}
}
1 change: 1 addition & 0 deletions docs/layouts/partials/navbar.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{ $cover := .HasShortcode "blocks/cover" }}
<nav class="js-navbar-scroll navbar navbar-expand navbar-dark {{ if $cover}} td-navbar-cover {{ end }}flex-column flex-md-row td-navbar">
<div class="corner-ribbon"><a href="https://forms.office.com/r/9CjY7L0WV9" target="_blank">Request Trial</a></div>
{{ if not $cover }}
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
<span class="navbar-logo">{{ if .Site.Params.ui.navbar_logo }}{{ with resources.Get "icons/logo.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}{{ end }}</span>
Expand Down

0 comments on commit 7a15deb

Please sign in to comment.