Skip to content

Commit

Permalink
Add Logo and icons
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Oct 3, 2023
1 parent f20efb5 commit 3664616
Show file tree
Hide file tree
Showing 22 changed files with 73 additions and 17 deletions.
37 changes: 37 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"zod": "^3.21.4"
},
"devDependencies": {
"@iconify/svelte": "^3.1.4",
"@popperjs/core": "^2.11.6",
"@sveltejs/adapter-static": "next",
"@sveltejs/kit": "^1.15.2",
Expand Down
Binary file modified src-tauri/icons/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/128x128@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square107x107Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square142x142Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square150x150Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square284x284Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square30x30Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square310x310Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square44x44Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square71x71Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square89x89Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/StoreLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/icon.icns
Binary file not shown.
Binary file modified src-tauri/icons/icon.ico
Binary file not shown.
Binary file modified src-tauri/icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "EzUp",
"version": "0.1.8"
"version": "0.1.9"
},
"tauri": {
"macOSPrivateApi": true,
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/Navbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
} from 'flowbite-svelte';
import { page } from '$app/stores';
import { isDev } from '$lib/util';
import EzUp from '$lib/images/ezup.svg'
</script>
<Navbar let:hidden let:toggle>
<NavBrand href="/">
<img
src="https://flowbite.com/docs/images/logo.svg"
src={EzUp}
class="mr-3 h-6 sm:h-9"
alt="Flowbite Logo"
/>
Expand Down
19 changes: 4 additions & 15 deletions src/lib/components/TitleBar.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import { appWindow } from '@tauri-apps/api/window';
import Icon from '@iconify/svelte';
</script>

<div data-tauri-drag-region class="titlebar h-8">
Expand All @@ -8,33 +9,21 @@
class="titlebar-button hover:bg-red-500"
id="titlebar-minimize"
>
<img
class="invert"
src="https://api.iconify.design/mdi:window-minimize.svg"
alt="minimize"
/>
<Icon icon="mingcute:minimize-fill" />
</button>
<button
class="titlebar-button hover:bg-red-500"
id="titlebar-maximize"
on:click={() => appWindow.maximize()}
>
<img
class="invert"
src="https://api.iconify.design/mdi:window-maximize.svg"
alt="maximize"
/>
<Icon icon="fluent:maximize-16-filled" />
</button>
<button
class="titlebar-button hover:bg-red-500"
id="titlebar-close"
on:click={() => appWindow.hide()}
>
<img
class="invert"
src="https://api.iconify.design/mdi:close.svg"
alt="close"
/>
<Icon icon="material-symbols:close" />
</button>
</div>

Expand Down
28 changes: 28 additions & 0 deletions src/lib/images/ezup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3664616

Please sign in to comment.