diff --git a/server/apps/immich/src/modules/immich-jwt/strategies/jwt.strategy.ts b/server/apps/immich/src/modules/immich-jwt/strategies/jwt.strategy.ts index 477ea297e..a4bded295 100644 --- a/server/apps/immich/src/modules/immich-jwt/strategies/jwt.strategy.ts +++ b/server/apps/immich/src/modules/immich-jwt/strategies/jwt.strategy.ts @@ -18,8 +18,8 @@ export class JwtStrategy extends PassportStrategy(Strategy, 'jwt') { ) { super({ jwtFromRequest: ExtractJwt.fromExtractors([ - immichJwtService.extractJwtFromHeader, immichJwtService.extractJwtFromCookie, + immichJwtService.extractJwtFromHeader, ]), ignoreExpiration: false, secretOrKey: jwtSecret, diff --git a/web/src/app.css b/web/src/app.css index 8b7432993..12b80cf28 100644 --- a/web/src/app.css +++ b/web/src/app.css @@ -6,26 +6,53 @@ @tailwind utilities; :root { - font-family: 'Work Sans', sans-serif; + font-family: 'Work Sans', sans-serif; } body { - min-height: 100vh; + /* min-height: 100vh; */ margin: 0; background-color: #f6f8fe; - color: #5f6368; + color: #5f6368; } @layer utilities { - .immich-form-input { - @apply bg-slate-100 p-2 rounded-md focus:border-immich-primary text-sm - } + .immich-form-input { + @apply bg-slate-100 p-2 rounded-md focus:border-immich-primary text-sm; + } - .immich-form-label { - @apply font-medium text-sm text-gray-500 - } + .immich-form-label { + @apply font-medium text-sm text-gray-500; + } - .immich-btn-primary { - @apply bg-immich-primary text-gray-100 border rounded-xl py-2 px-4 transition-all duration-150 hover:bg-immich-primary hover:shadow-lg text-sm font-medium - } -} \ No newline at end of file + .immich-btn-primary { + @apply bg-immich-primary text-gray-100 border rounded-xl py-2 px-4 transition-all duration-150 hover:bg-immich-primary hover:shadow-lg text-sm font-medium; + } + + .immich-text-button { + @apply flex place-items-center place-content-center gap-2 hover:bg-immich-primary/5 p-2 rounded-lg font-medium; + } + + /* width */ + .immich-scrollbar::-webkit-scrollbar { + width: 8px; + } + + /* Track */ + .immich-scrollbar::-webkit-scrollbar-track { + background: #f1f1f1; + border-radius: 16px; + } + + /* Handle */ + .immich-scrollbar::-webkit-scrollbar-thumb { + background: rgba(85, 86, 87, 0.408); + border-radius: 16px; + } + + /* Handle on hover */ + .immich-scrollbar::-webkit-scrollbar-thumb:hover { + background: #4250afad; + border-radius: 16px; + } +} diff --git a/web/src/lib/components/album-page/album-app-bar.svelte b/web/src/lib/components/album-page/album-app-bar.svelte new file mode 100644 index 000000000..ba700eb26 --- /dev/null +++ b/web/src/lib/components/album-page/album-app-bar.svelte @@ -0,0 +1,39 @@ + + +
- {album.albumName} -
+ {#if isCreatingSharedAlbum && album.sharedUsers.length == 0} + + {/if} + + -{getDateRange()}
+{getDateRange()}
+ {/if} + + {#if album.shared} +ADD PHOTOS
+ +Add to album
+ {:else} +{selectedAsset.size} selected
+ {/if} +
+ selectAssetGroupHandler(groupIndex)}
+ >
+ {#if selectedGroup.has(groupIndex)}
+
Invite to album
+ +Modal Title
+