Skip to content
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed apps/website/public/core/joris.jpeg
Binary file not shown.
7 changes: 0 additions & 7 deletions apps/website/src/components/core-team-section.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ const team = [
github: 'https://github.com/leroyguillaume',
twitter: null,
},
{
name: 'Joris Vilardell',
role: 'Software Engineer',
avatar: '/core/joris.jpeg',
github: 'https://github.com/jorisvilardell',
twitter: null,
},
{
name: 'Luis Rubiera',
role: 'CTO @ Cloud-IAM',
Expand Down
30 changes: 21 additions & 9 deletions apps/website/src/components/ui-showcase-section.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
---
const screens = [
{ src: '/console_preview/clients_overview.png', label: 'Clients' },
{ src: '/console_preview/client_scopes_overview.png', label: 'Client Scopes' },
{ src: '/console_preview/idp_overview.png', label: 'Identity Providers' },
{ src: '/console_preview/webhook_overview.png', label: 'Webhooks' },
]
{ name: 'clients_overview', label: 'Clients' },
{ name: 'client_scopes_overview', label: 'Client Scopes' },
{ name: 'idp_overview', label: 'Identity Providers' },
{ name: 'webhook_overview', label: 'Webhooks' },
].map((s) => ({
...s,
light: `/console_preview/${s.name}-light.jpg`,
dark: `/console_preview/${s.name}-dark.jpg`,
}))
---

<div class="w-full py-16 sm:py-24 lg:py-32 overflow-hidden">
Expand All @@ -26,7 +30,8 @@ const screens = [
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
{screens.map((s, i) => (
<button
data-src={s.src}
data-src-light={s.light}
data-src-dark={s.dark}
data-label={s.label}
data-anim="fade-up"
style={`transition-delay: ${i * 100}ms`}
Expand All @@ -44,9 +49,15 @@ const screens = [
</div>
</div>
<img
src={s.src}
src={s.light}
alt={s.label}
class="w-full object-cover object-top aspect-video"
class="w-full object-cover object-top aspect-video dark:hidden"
loading="lazy"
/>
<img
src={s.dark}
alt={s.label}
class="hidden w-full object-cover object-top aspect-video dark:block"
loading="lazy"
/>
<div class="px-4 py-3 text-sm font-medium text-muted-foreground group-hover:text-foreground transition-colors">
Expand Down Expand Up @@ -102,7 +113,8 @@ const screens = [

document.querySelectorAll<HTMLButtonElement>('.showcase-open').forEach(btn => {
btn.addEventListener('click', () => {
lightboxImg.src = btn.dataset.src!
const dark = document.documentElement.classList.contains('dark')
lightboxImg.src = (dark ? btn.dataset.srcDark : btn.dataset.srcLight)!
lightboxImg.alt = btn.dataset.label!
lightbox.classList.remove('hidden')
lightbox.classList.add('flex')
Expand Down
Loading