Skip to content

Commit

Permalink
Updates (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-sun-kuo authored Oct 20, 2023
2 parents 049b1fd + ba53aba commit 7393e19
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
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>
);
}

1 comment on commit 7393e19

@vercel
Copy link

@vercel vercel bot commented on 7393e19 Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.