Skip to content

Commit

Permalink
feat: use immich/ui logo component (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 authored Nov 14, 2024
1 parent 05df326 commit 6c8dcd6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 168 deletions.
6 changes: 2 additions & 4 deletions apps/buy.immich.app/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import '$lib/app.css';
import { Button } from '@immich/ui';
import { Button, Logo } from '@immich/ui';
import Icon from '$lib/components/icon.svelte';
import { mdiCheckCircleOutline, mdiServer, mdiAccount } from '@mdi/js';
import { getCallbackUrl, ImmichLicense } from '$lib/utils/license';
Expand All @@ -11,9 +11,7 @@
<div
class="flex gap-4 mt-2 place-items-center dark:bg-immich-dark-primary/10 bg-gray-200/50 py-4 px-6 border rounded-lg overflow-hidden supporter-effect transition-all"
>
<div class="h-12 w-12">
<img src={'/img/immich-logo.svg'} alt={'immich-logo'} class="shadow-lg rounded-full bg-white" />
</div>
<Logo />
<p class="dark:text-gray-100 text-2xl font-medium text-immich-primary">Purchase Immich</p>
</div>
<section class="mt-6">
Expand Down
4 changes: 2 additions & 2 deletions apps/my.immich.app/[...rest]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { preventDefault } from 'svelte/legacy';
import { StorageKey } from '$lib';
import '$lib/app.css';
import { Button } from '@immich/ui';
import { Button, Logo } from '@immich/ui';
import type { PageData } from './$types';
interface Props {
Expand Down Expand Up @@ -30,7 +30,7 @@
<div class="w-screen h-screen bg-immich-dark-bg overflow-auto p-4">
<div class="mx-auto max-w-screen-sm m-6 p-12 rounded-lg bg-immich-dark-gray text-immich-dark-fg">
<section class="flex justify-center">
<img src="/img/immich-logo-stacked-dark.svg" class="h-64" alt="Immich logo" />
<Logo variant="stacked" theme="dark" size="landing" />
</section>
<section>
<h1 class="md:text-3xl mb-2 text-immich-dark-primary">My Immich</h1>
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"format:fix": "prettier --write ."
},
"devDependencies": {
"@immich/ui": "^0.2.2",
"@immich/ui": "^0.3.0",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.8.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6",
Expand Down
62 changes: 0 additions & 62 deletions static/img/immich-logo-inline-light.svg

This file was deleted.

66 changes: 0 additions & 66 deletions static/img/immich-logo-stacked-dark.svg

This file was deleted.

29 changes: 0 additions & 29 deletions static/img/immich-logo.svg

This file was deleted.

0 comments on commit 6c8dcd6

Please sign in to comment.