mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-21 06:48:04 +00:00
Split app.svelte
This commit is contained in:
19
frontend/src/organisms/connection/collection/stats.svelte
Normal file
19
frontend/src/organisms/connection/collection/stats.svelte
Normal file
@ -0,0 +1,19 @@
|
||||
<script>
|
||||
import ObjectGrid from '../../../components/objectgrid.svelte';
|
||||
import CodeExample from '../../../components/code-example.svelte';
|
||||
|
||||
export let collection;
|
||||
</script>
|
||||
|
||||
<div class="stats">
|
||||
<CodeExample code="db.stats()" />
|
||||
<ObjectGrid data={collection.stats} />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.stats {
|
||||
display: grid;
|
||||
gap: 0.5rem;
|
||||
grid-template: auto 1fr / 1fr;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user