Finished ross content, added skill matrix, li, and ul, and improved many existing components, created and refactored to unified layouts and grid, visual improvements with proper column to row collapsing
This commit is contained in:
21
src/components/PageGroup.astro
Normal file
21
src/components/PageGroup.astro
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
const hasHeader = Astro.slots.has("header");
|
||||
const hasDefault = Astro.slots.has("default");
|
||||
---
|
||||
|
||||
<div class="grid grid-cols-1 gap-3">
|
||||
{
|
||||
Astro.slots.has("header") && (
|
||||
<div>
|
||||
<slot name="header" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
{
|
||||
Astro.slots.has("default") && (
|
||||
<div class="grid grid-cols-1 gap-3">
|
||||
<slot />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
</div>
|
||||
Reference in New Issue
Block a user