Skip to content

Commit

Permalink
Added a banner to promote the WFB beta
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnereese committed Oct 11, 2024
1 parent 06011b5 commit 528f7ef
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
19 changes: 19 additions & 0 deletions docs/extra.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
.md-banner {
text-align: center;
font-weight: bold;
background-color: rgb(255, 122, 0);
}
.md-banner .upgrade-button {
display: inline-block;
border-radius: 20px;
padding: 3px 10px;
background: white;
margin-left: 10px;
}
.md-banner .md-typeset .learn-more {
color: white;
padding-left: 10px;
}
.md-banner .md-typeset a {
color: rgb(122, 36, 0);
}
.md-typeset a {
color: #066fac
}
Expand Down
6 changes: 5 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ docs_dir: docs

theme:
name: material
custom_dir: overrides
features:
- navigation.path
# - navigation.sections
Expand Down Expand Up @@ -53,8 +54,11 @@ plugins:
markdown_extensions:
- attr_list
- md_in_html
- mdx_include
- admonition
- mdx_include
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
Expand Down
5 changes: 5 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "base.html" %}

{% block announce %}
Join the beta for the next major version of redesigned Automator! <a href="https://docs.google.com/forms/d/e/1FAIpQLScH3nJMIW9DcaCk012Ba9VrzPk_zmSzuQTJgUML3L4tsBycng/viewform?usp=sf_link" class="upgrade-button">Sign-up for the beta</a> <a class="learn-more" href="https://community.ringcentral.com/workflow-builder-23/automator-is-becoming-workflow-builder-9861">Learn more</a>
{% endblock %}

0 comments on commit 528f7ef

Please sign in to comment.