- Replace all AdventureLog references with Voyage across ~102 files (7 case variants: AdventureLog, adventurelog, Adventurelog, ADVENTURELOG, AdventUrelog, AdventureLOG, adventure-log, adventure_log) - Rename brand, static, and documentation assets to use voyage naming - Rename install_adventurelog.sh → install_voyage.sh - Update README.md and voyage_overview.md to credit AdventureLog as the upstream project and Sean Morley as its original creator
27 lines
737 B
Svelte
27 lines
737 B
Svelte
<script lang="ts">
|
|
import UserCard from '$lib/components/cards/UserCard.svelte';
|
|
import type { User } from '$lib/types';
|
|
import type { PageData } from './$types';
|
|
import { t } from 'svelte-i18n';
|
|
|
|
export let data: PageData;
|
|
let users: User[] = data.props.users;
|
|
console.log(users);
|
|
</script>
|
|
|
|
<h1 class="text-center font-bold text-4xl mb-4">Voyage {$t('navbar.users')}</h1>
|
|
<div class="flex flex-wrap gap-4 mr-4 justify-center content-center">
|
|
{#each users as user (user.uuid)}
|
|
<UserCard {user} />
|
|
{/each}
|
|
</div>
|
|
|
|
{#if users.length === 0}
|
|
<p class="text-center">{$t('users.no_users_found')}</p>
|
|
{/if}
|
|
|
|
<svelte:head>
|
|
<title>Users</title>
|
|
<meta name="description" content="View your adventure collections." />
|
|
</svelte:head>
|