-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: scrolling * feat: demos and existing work
- Loading branch information
Showing
13 changed files
with
320 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
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.
Oops, something went wrong.