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: showcase demos #55

Merged
merged 2 commits into from
Aug 22, 2024
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
14 changes: 14 additions & 0 deletions src/components/vgv_card/vgv-card-header.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---

---

<div>
<h2
class="text-2xl font-semibold lg:tracking-tight mt-4 text-center w-[100%]"
>
<slot name="title" />
</h2>
<p class="text-md my-6 text-center text-pretty">
<slot name="subtitle" />
</p>
</div>
28 changes: 28 additions & 0 deletions src/components/vgv_card/vgv-card.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
interface Props {
url: string;
}

const props = Astro.props;
---

<a href={props.url} class="contents">
<div
class="drop-shadow-lg rounded-lg overflow-hidden h-[100%] w-[100%] max-w-[478px] bg-[var(--vgv-card-bg)]"
>
<slot name="thumbnail" />
<div class="p-4">
<slot />
</div>
</div>
</a>

<style>
a,
a:visited,
a:hover,
a:active {
color: inherit;
text-decoration: none;
}
</style>
11 changes: 11 additions & 0 deletions src/components/vgv_hero/vgv-hero-breakout-vertical.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---

---

<div class="overflow-x-clip">
<div class="max-w-screen-xl mx-auto px-8">
<div class="grid lg:grid-cols-3 place-items-center relative gap-4">
<slot />
</div>
</div>
</div>
14 changes: 14 additions & 0 deletions src/components/vgv_hero/vgv-hero-section-header.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---

---

<div class="text-[var(--vgv-title)]">
<h2
class="text-4xl lg:text-5xl font-medium lg:tracking-tight mt-4 text-center w-[100%]"
>
<slot name="title" />
</h2>
<p class="max-w-4xl text-lg my-6 text-center text-pretty">
<slot name="subtitle" />
</p>
</div>
8 changes: 4 additions & 4 deletions src/components/vgv_scroll/vgv-scroll.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
</div>
</div>

<div class="mt-2 relative overflow-x-clip overflow-y-visible mx-8">
<div class="relative lg:flex gap-10 py-5 group overflow-visible">
<div class="relative overflow-x-clip overflow-y-visible mx-8">
<div class="relative lg:flex py-5 group overflow-visible">
<div class="absolute scroll-shadow left"></div>
<div class="absolute scroll-shadow right"></div>
<div
class="lg:motion-safe:animate-scroll w-auto py-5 overflow-x-auto flex flex-nowrap min-w-full shrink-0 items-stretch gap-0 overflow-y-visible"
class="lg:motion-safe:animate-scroll w-auto overflow-x-auto flex flex-nowrap min-w-full shrink-0 items-stretch gap-0 overflow-y-visible"
>
<slot name="default" />
</div>
<div
class="lg:motion-safe:animate-scroll hidden lg:motion-reduce:hidden lg:flex min-w-full shrink-0 items-stretch gap-0 py-5 overflow-y-visible"
class="lg:motion-safe:animate-scroll hidden lg:motion-reduce:hidden lg:flex min-w-full shrink-0 items-stretch gap-0 overflow-y-visible"
>
<slot name="default" />
</div>
Expand Down
Binary file added src/pages/home/demo_splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/pages/home/demos/airplane_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/pages/home/demos/airplane_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/pages/home/demos/airplane_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/pages/home/demos/financial_dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/pages/home/demos/vehicle_cockpit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading