Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #133

Merged
merged 2 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 🚨 Check out the latest project from the creators of textSQL: [Julius.ai](https://julius.ai?utm_source=github&utm_campaign=textSQL) 🚨

###

# Natural Language → SQL

###
Expand Down
3 changes: 3 additions & 0 deletions client/censusGPT/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { FeedContext } from './contexts/feedContext'
import LoadingSpinner from './components/loadingSpinner'
import ExamplesFeed from './components/examplesFeed'
import Examples from './components/examples'
import PromoBanner from './components/banner'

import { ResultsContainer } from './components/results/resultsContainer'

Expand Down Expand Up @@ -842,6 +843,8 @@ function App(props) {
className="h-screen bg-white dark:bg-dark-900 dark:text-white overflow-y-auto max-h-screen"
style={{ position: 'relative' }}
>
<PromoBanner />

{showExplanationModal && (
<ExplanationModal
showExplanationModal={showExplanationModal}
Expand Down
23 changes: 23 additions & 0 deletions client/censusGPT/src/components/banner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { XMarkIcon } from '@heroicons/react/20/solid';

export default function PromoBanner() {
return (
<div className="flex items-center gap-x-6 bg-white px-6 py-10 sm:px-3.5 sm:before:flex-1">
<p className="text-xl leading-6 text-black">
<strong>Hey!</strong> The team behind CensusGPT is now working on Julius, your personal AI data analyst&nbsp;
</p>
<a
href="https://julius.ai?utm_source=censusGPT"
className="flex-none rounded-full bg-red-500 px-3.5 py-1 text-lg font-semibold text-white shadow-sm hover:bg-red-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-900"
>
Check out Julius <span aria-hidden="true">&rarr;</span>
</a>
<div className="flex flex-1 justify-end">
<button type="button" className="-m-3 p-3 focus-visible:outline-offset-[-4px]">
<span className="sr-only">Dismiss</span>
<XMarkIcon className="h-5 w-5 text-gray-900" aria-hidden="true" />
</button>
</div>
</div>
);
}
Loading