diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/main.html | 13 | ||||
| -rw-r--r-- | templates/staging-warning.html | 12 |
2 files changed, 13 insertions, 12 deletions
diff --git a/templates/main.html b/templates/main.html index 80fd5a4..207914f 100644 --- a/templates/main.html +++ b/templates/main.html @@ -116,9 +116,7 @@ </div> </header> <main> - <div - id="content" - > + <div id="content"> <!-- content is automatically inserted here --> </div> </main> @@ -212,7 +210,7 @@ <p>© 2024 vyos.io All rights reserved.</p> <div class="social-logos"> - <!-- twitter icon --> + <!-- twitter icon --> <a href="https://twitter.com/vyos_dev" target="_blank" @@ -231,7 +229,7 @@ </svg> </a> - <!-- linkedin icon --> + <!-- linkedin icon --> <a href="https://www.linkedin.com/company/vyos/" target="_blank" @@ -250,7 +248,7 @@ </svg> </a> - <!-- facebook icon --> + <!-- facebook icon --> <a href="https://www.facebook.com/vyosofficial/" target="_blank" @@ -269,7 +267,7 @@ </svg> </a> - <!-- reddit icon --> + <!-- reddit icon --> <a href="https://www.reddit.com/r/vyos/" target="_blank" @@ -352,6 +350,7 @@ <script src="/js/rive-animations.js"></script> <script src="/js/scroll-detector-for-header.js"></script> <script src="/js/form-insertions.js"></script> + <script src="/js/staging-detection.js"></script> <script charset="utf-8" type="text/javascript" diff --git a/templates/staging-warning.html b/templates/staging-warning.html index f029102..e99e770 100644 --- a/templates/staging-warning.html +++ b/templates/staging-warning.html @@ -1,6 +1,8 @@ -<div style="text-align:center; border: 2px solid red; margin: 10px; padding: 20px;"> - <h1>WARNING! ACHTUNG! ATENCIÓN! УВАГА!</h1> - <p>This is a <strong>preview version</strong> of the VyOS community website. It may differ from the production version in the most unexpected ways: - contain links to untested VyOS images, contain misleading information, or simply be horribly broken.</p> - <p>Unless you are looking for a preview website version, please leave this page and go to the production version at <a href="https://vyos.net">https://vyos.net</a>!</p> +<div class="staging"> + <div class="containerCustom"> + <h2>WARNING! ACHTUNG! ATENCIÓN! УВАГА!</h2> + <p>This is a <span>preview version</span> of the VyOS community website. It may differ from the production version in the most unexpected ways:</p> + <p>contain links to untested VyOS images, contain misleading information, or simply be horribly broken.</p> + <p>Unless you are looking for a preview website version, please leave this page and go to the production version at <a href="https://vyos.net">https://vyos.net</a>!</p> + </div> </div> |
