Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

plans: Make faq header linkable.

Aman Agrawal0889ded057d8
diff --git a/static/styles/portico/landing_page.css b/static/styles/portico/landing_page.css
index 10fb57a86a7..ed3d3dd1aa2 100644
--- a/static/styles/portico/landing_page.css
+++ b/static/styles/portico/landing_page.css
@@ -1084,6 +1084,14 @@ nav {
.faq-box div:last-of-type {
margin-bottom: 10px;
}
+
+ .faq-header-link {
+ color: hsl(0, 0%, 0%);
+
+ &:hover {
+ text-decoration: underline;
+ }
+ }
}
.screen {
diff --git a/templates/zerver/faq.html b/templates/zerver/faq.html
index a6adedce4f1..7a730001896 100644
--- a/templates/zerver/faq.html
+++ b/templates/zerver/faq.html
@@ -1,7 +1,9 @@
<div class="faqs">
<div class="padded-content">
<header class="center">
- <h1>Frequently asked questions</h1>
+ <a class="faq-header-link" href="#faq">
+ <h1 id="faq">Frequently asked questions</h1>
+ </a>
</header>
<div class="faq-box">
<div class="faq">