Skip to content

Commit

Permalink
Small fixes:
Browse files Browse the repository at this point in the history
- Added missing social links to header when logged in
- mobile fix for warning message on hp
  • Loading branch information
Alex Bejan committed Mar 7, 2023
1 parent 27af3be commit e0426bb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions src/lib_skeleton/AppBar/AppBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

<AppBar padding="p-2 pl-4 pr-4 relative z-20" shadow="shadow-lg">
<svelte:fragment slot="lead">
<div class="flex items-center space-x-4">
<div class="flex items-center space-x-4 min-w-[200px]">
<!-- Hamburger Menu -->
<button on:click={drawerOpen} class="btn-icon btn-icon-sm lg:!hidden">
<i class="fa-solid fa-bars text-xl" />
Expand Down Expand Up @@ -77,7 +77,7 @@

<span class="hidden md:block">{$userProfile.full_name}</span>
{:else}
<span>Manage profile</span>
<span>Profile</span>
{/if}
<i class="fa-solid fa-caret-down opacity-50" />
</button>
Expand All @@ -100,5 +100,15 @@
</nav>
</div>
</div>
<!-- Social -->
<!-- prettier-ignore -->
<section class="flex space-x-1">
<a class="btn-icon btn-icon-sm hover:variant-soft-primary" href="https://discord.gg/REYCS3HuM4" target="_blank" rel="noreferrer">
<i class="fa-brands fa-discord text-lg" />
</a>
<a class="btn-icon btn-icon-sm hover:variant-soft-primary" href="https://github.com/alexpunct/chatgpt-journal" target="_blank" rel="noreferrer">
<i class="fa-brands fa-github text-lg" />
</a>
</section>
</svelte:fragment>
</AppBar>
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@

<!-- Pre-Release Alert -->
<aside class="alert variant-ghost-warning">
<i class="fa-solid fa-triangle-exclamation text-4xl" />
<i class="fa-solid fa-triangle-exclamation text-4xl mx-auto" />
<div class="alert-message">
Chat Journal is currently in beta. Please report bugs on GitHub.
</div>
<div class="alert-actions">
<div class="alert-actions mx-auto">
<a
href="https://github.com/alexpunct/chatgpt-journal/issues"
target="_blank"
Expand Down

1 comment on commit e0426bb

@vercel
Copy link

@vercel vercel bot commented on e0426bb Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.