Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui/ux): auth pages #1161

Merged
merged 5 commits into from
May 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(ui): login box: default logo
  • Loading branch information
ssiyad committed May 13, 2023
commit 7e91487f15b9ddfc6c7d0a8f15f2fa51806690e9
5 changes: 5 additions & 0 deletions desk/src/assets/icons/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions desk/src/assets/logos/helpdesk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 2 additions & 6 deletions desk/src/components/global/LoginBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
:src="configStore.brandLogo"
class="m-auto h-6"
/>
<div v-else class="flex">
<div class="mx-auto h-6 w-auto">
<CustomIcons name="frappedesk" class="h-6" />
</div>
</div>
<Logo v-else class="mx-auto h-8" />
<div class="w-96 py-8 px-10">
<div class="mb-6 text-center text-lg">
{{ title }}
Expand All @@ -23,7 +19,7 @@

<script setup lang="ts">
import { useConfigStore } from "@/stores/config";
import CustomIcons from "@/components/desk/global/CustomIcons.vue";
import Logo from "~icons/logos/helpdesk";

defineProps({
title: {
Expand Down
5 changes: 5 additions & 0 deletions desk/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ export default defineConfig({

return r.toMinifiedString();
}),
logos: FileSystemIconLoader("./src/assets/logos", async (svg) => {
const r = new SVG(svg);
await cleanupSVG(r);
return r.toMinifiedString();
}),
},
}),
],
Expand Down