Merge pull request #1034 from datopian/portal-cus

Add Link to portaljs cloud site
This commit is contained in:
Anuar Ustayev (aka Anu) 2023-10-10 19:03:20 +02:00 committed by GitHub
commit 975aaed743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 7 deletions

View File

@ -30,16 +30,13 @@ export function Hero() {
</ButtonLink>
<ButtonLink
style="secondary"
style="primary"
className="mt-8 ml-3"
href="https://github.com/datopian/portaljs"
href="https://portaljs.com/"
>
View on GitHub
PortalJS Cloud
</ButtonLink>
<div className="md:max-w-md mx-auto lg:mx-0 ">
<NewsletterForm />
</div>
<p className="my-10 text-l tracking-wide">
<span>A project of</span>
<a

View File

@ -29,7 +29,7 @@ export default function NavItem({ item }) {
onMouseLeave={closeDropdown}
target={item.target || '_self'}
onClick={() => setshowDropdown(!showDropdown)}
className="text-slate-600 dark:text-slate-400 inline-flex items-center mr-2 px-1 pt-1 text-sm font-medium hover:text-slate-500"
className={`${item.name.includes("Cloud") ? "text-blue-600 dark:text-blue-400" : "text-slate-600 dark:text-slate-400"} inline-flex items-center mr-2 px-1 pt-1 text-sm font-medium hover:text-slate-500`}
>
{item.name}
</Link>

View File

@ -31,6 +31,12 @@ const config = {
href: 'https://storybook.portaljs.org',
target: '_blank',
},
{
name: 'Cloud ☁️',
href: 'https://portaljs.com/',
target: '_blank',
style: 'text-blue-600 dark:text-blue-400'
},
// { name: "DL Demo", href: "/data-literate/demo" },
// { name: "Excel Viewer", href: "/excel-viewer" },
],