mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: some cleanup
This commit is contained in:
1 parent
de6137d1a5
commit
67024daa25
3 files changed
+11
-10
No files matched your search
@@ -19,7 +19,6 @@ const strings = await api.strings(locale);
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
margin-top: calc(var(--space-4) * -1);
|
|
||||||
padding: var(--space-5) var(--space-5);
|
padding: var(--space-5) var(--space-5);
|
||||||
|
|
||||||
background-color: var(--gray-3);
|
background-color: var(--gray-3);
|
||||||
@@ -48,14 +47,8 @@ const strings = await api.strings(locale);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-spacer {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="footer-spacer"></div>
|
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ export function IncrementalLoader<Props>({
|
|||||||
Component,
|
Component,
|
||||||
}: IncrementalLoaderProps<Props>) {
|
}: IncrementalLoaderProps<Props>) {
|
||||||
const [count, setCount] = useState(initial);
|
const [count, setCount] = useState(initial);
|
||||||
console.log(count);
|
|
||||||
const sliced = data.slice(0, count);
|
const sliced = data.slice(0, count);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -35,12 +35,19 @@ const { accent, noNavbar, locale } = Astro.props;
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--space-5);
|
|
||||||
min-height: 100dvh;
|
min-height: 100dvh;
|
||||||
|
gap: var(--space-4);
|
||||||
|
|
||||||
background-color: var(--gray-1);
|
background-color: var(--gray-1);
|
||||||
color: var(--gray-12);
|
color: var(--gray-12);
|
||||||
font-family: var(--font-family-regular);
|
font-family: var(--font-family-regular);
|
||||||
|
|
||||||
|
.app {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: var(--space-5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@@ -50,7 +57,9 @@ const { accent, noNavbar, locale } = Astro.props;
|
|||||||
<body class="dark">
|
<body class="dark">
|
||||||
{!noNavbar && <Navbar {locale} />}
|
{!noNavbar && <Navbar {locale} />}
|
||||||
|
|
||||||
<slot />
|
<div class="app">
|
||||||
|
<slot />
|
||||||
|
</div>
|
||||||
|
|
||||||
<Footer {locale} />
|
<Footer {locale} />
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in new issue
Block a user