mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
home page grouping
This commit is contained in:
1 parent
20cc6d32a4
commit
f3c362dfce
8 files changed
+113
-17
No files matched your search
@@ -0,0 +1,26 @@
|
||||
---
|
||||
interface Props {
|
||||
major?: boolean;
|
||||
}
|
||||
|
||||
const { major } = Astro.props;
|
||||
---
|
||||
|
||||
<style>
|
||||
.tool-card-layout-root {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
flex: 1;
|
||||
|
||||
gap: inherit;
|
||||
|
||||
&[data-major="true"] {
|
||||
flex: 2;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="tool-card-layout-root" data-major={major}>
|
||||
<slot />
|
||||
</div>
|
||||
Reference in new issue
Block a user