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

feat(website): add "powered by Loculus" note #2901

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
8 changes: 8 additions & 0 deletions website/src/components/Navigation/SandwichMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ export const SandwichMenu: FC<SandwichMenuProps> = ({ organism, isLoggedIn, logi
<OffCanvasNavItem key={path} text={text} level={1} path={path} type='small' />
))}
</div>

<div className='font-light mt-6'>
Powered by{' '}
<a href='https://loculus.org' className='underline'>
Loculus
</a>{' '}
❤️
</div>
</div>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions website/src/layouts/BaseLayout.astro
Copy link
Member

Choose a reason for hiding this comment

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

Thanks Chaoran - as previously discussed I'm personally against hardcoding a link to Loculus into every page of deployments. I think that it doesn't provide user-value, and as a result looks a little tacky - which is I think why SaaS companies are able to charge extra for the removal of such banners. It feels particularly unexpected to me on pages like the Governance page, as I mentioned. I'm of course happy to be outvoted.

Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ const lastTimeBannerWasClosed = Astro.cookies.get('lastTimeBannerWasClosed')?.va
}
</div>

<div>
Powered by <a href='https://loculus.org' class='underline'>Loculus</a> ❤️
</div>

<a href='https://github.com/loculus-project' class='h-full py-6'>
<img src='/github-mark.svg' class='h-full object-scale-down' alt='github-icon' />
</a>
Expand Down
Loading