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