-
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.
* remove redundant class (see https://t.me/c/1682572031/14041) * add d:b splash close to hero commiting for reference; spent way too much time only to realize it doesn't work on mobile. :'( wanted the svg is inline to follow the color changeing on page-load, which comes at the cost of the text size on small screens... Probably the text needs to be separate from the image, but that means formatting the whole thing in this magic non-CSS, CSS language that i don't know. * adds text to banner, removes background image * feat: add software banner --------- Co-authored-by: Giovanni Abbatepaolo <[email protected]>
- Loading branch information
Showing
5 changed files
with
74 additions
and
3 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,24 @@ | ||
--- | ||
interface Props { | ||
intro?: string; | ||
href: string; | ||
} | ||
const { intro, href } = Astro.props; | ||
--- | ||
|
||
<a href={href}> | ||
<div class="flex flex-col gap-y-8 py-8"> | ||
<div class="grid grid-cols lg:grid-cols-1 gap-6 px-8"> | ||
<div | ||
class="transition duration-500 ease-in-out transform shadow-2xl border-4 border-baccent hover:border-accent hover:shadow-none hover:bg-white hover:bg-opacity-50 rounded-[40px] p-7 space-y-4" | ||
> | ||
{intro && <p class="text-3xl text-inter !text-saccent">{intro}</p>} | ||
|
||
<div> | ||
<slot /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</a> |
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,9 @@ | ||
--- | ||
interface Props { | ||
content: string; | ||
} | ||
const { content } = Astro.props; | ||
--- | ||
|
||
<Fragment set:html={content} /> |
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
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