From 31655447e7e410fd4897c47353cb7fbb8c5153bb Mon Sep 17 00:00:00 2001 From: sabaimran Date: Fri, 30 Jun 2023 21:43:01 -0700 Subject: [PATCH] Add the sign-up list to the chat page as well and update copy --- src/khoj/interface/web/chat.html | 69 ++++++++++++++++++++++++++++++- src/khoj/interface/web/index.html | 24 +++++++---- 2 files changed, 83 insertions(+), 10 deletions(-) diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index 1ba00b20..12338096 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -119,8 +119,12 @@
- Check out what else we're building +

+ Enroll in Khoj cloud to get your own Github assistant +

+ +
{% endif %} {% if demo %} @@ -304,6 +308,9 @@ margin: 4px; grid-template-columns: auto; } + a.khoj-banner { + display: block; + } } @media only screen and (min-width: 600px) { body { @@ -335,9 +342,69 @@ } } + a.khoj-banner { + color: black; + } + + a.khoj-logo { + text-align: center; + } + + p.khoj-banner { + margin: 0; + padding: 10px; + } + + button#khoj-banner-submit, + input#khoj-banner-email { + padding: 10px; + border-radius: 5px; + border: 1px solid #475569; + background: #f9fafc; + } + + button#khoj-banner-submit:hover, + input#khoj-banner-email:hover { + box-shadow: 0 0 11px #aaa; + } + + p#khoj-banner { + display: inline; + } + a.khoj-banner { color: black; text-decoration: none; } + diff --git a/src/khoj/interface/web/index.html b/src/khoj/interface/web/index.html index 09e2e690..5c7f8790 100644 --- a/src/khoj/interface/web/index.html +++ b/src/khoj/interface/web/index.html @@ -232,22 +232,19 @@ - {% if demo %} - + +
+ {% if demo %} + - {% endif %} - - -
- {% if demo %} @@ -463,7 +460,6 @@ a.khoj-banner { color: black; - display: block; } a.khoj-logo { @@ -488,6 +484,16 @@ box-shadow: 0 0 11px #aaa; } + p#khoj-banner { + display: inline; + } + + @media only screen and (max-width: 600px) { + a.khoj-banner { + display: block; + } + } +