Skip to content

Commit

Permalink
spacings
Browse files Browse the repository at this point in the history
  • Loading branch information
Kworz committed May 1, 2024
1 parent 260e5ec commit 28bcfca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/routes/app/(base)/me/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import type { PageData, ActionData } from "./$types";
import type { ActionData } from "./$types";
import { page } from "$app/stores";
import { invalidateAll } from "$app/navigation";
Expand All @@ -16,9 +16,9 @@
<h1>Profil de {$page.data.user?.username}</h1>
<p>Modifiez votre profil ici</p>

<h2>Réglages personel de mink</h2>
<h2 class="mt-4">Réglages personel de mink</h2>

<div class="grid grid-cols-2 gap-4 mt-6">
<div class="grid grid-cols-2 gap-4 mt-2">
{#each Object.entries($page.data.userSettings ?? []) as [key, value]}
<form action="?/updateUserSettings" method="post" use:enhanceNoReset>
<input name="key" value={key} type="hidden" />
Expand Down
3 changes: 1 addition & 2 deletions src/routes/app/(crm)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@
<MenuItem icon={$page.data.userSettings?.app_menu_left ? ChevronLeft : ChevronRight} href="/app" label="Accueil" />

<MenuSeparator />

<MenuItem icon={ListBullet} href="/app/crm/leads" label="Leads" />
<MenuItem icon={UserGroup} href="/app/crm/companies" label="Sociétés & Contacts" />
<MenuItem icon={Sparkles} href="/app/crm/interests" label="Interets" />

</Menu>

<div class="grow overflow-x-hidden overflow-y-scroll">

<div class="relative w-full p-10 pl-6" id="main_content">
<slot />
</div>
Expand Down

0 comments on commit 28bcfca

Please sign in to comment.