diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index c0bbb10..0ac16c7 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/api/collections/content.yml b/api/collections/content.yml index 9f07f46..9475635 100644 --- a/api/collections/content.yml +++ b/api/collections/content.yml @@ -52,6 +52,8 @@ permissions: put: true delete: true +imageFilter: !include lib/imageFilter.yml + fields: - name: active type: boolean diff --git a/api/collections/lib/imageFilter.yml b/api/collections/lib/imageFilter.yml new file mode 100644 index 0000000..dd1518f --- /dev/null +++ b/api/collections/lib/imageFilter.yml @@ -0,0 +1,26 @@ +xs-webp: + - width: 100 + height: 100 + fit: true + quality: 60 + outputType: webp +s-webp: + - width: 300 + quality: 70 + outputType: webp +m-webp: + - width: 600 + quality: 76 + outputType: webp +l-webp: + - width: 1200 + quality: 80 + outputType: webp +xl-webp: + - width: 2000 + quality: 84 + outputType: webp +xxl-webp: + - width: 2800 + quality: 88 + outputType: webp diff --git a/api/collections/medialib.yml b/api/collections/medialib.yml index c0b3f29..30974a8 100644 --- a/api/collections/medialib.yml +++ b/api/collections/medialib.yml @@ -23,7 +23,7 @@ meta: file: file preview: label: title - secondary: tag + secondary: tags tertiary: description image: file mediaFile: file @@ -56,33 +56,7 @@ permissions: put: true delete: true -imageFilter: - xs-webp: - - width: 100 - height: 100 - fit: true - quality: 60 - outputType: webp - s-webp: - - width: 300 - quality: 70 - outputType: webp - m-webp: - - width: 600 - quality: 76 - outputType: webp - l-webp: - - width: 1200 - quality: 80 - outputType: webp - xl-webp: - - width: 2000 - quality: 84 - outputType: webp - xxl-webp: - - width: 2800 - quality: 88 - outputType: webp +imageFilter: !include lib/imageFilter.yml fields: - name: file @@ -129,7 +103,7 @@ fields: inputProps: multiline: true rows: 4 - - name: tag + - name: tags type: string[] meta: label: { de: "Schlagwörter", en: "Tags" } diff --git a/api/collections/tag.yml b/api/collections/tag.yml index 2d89416..7cbe552 100644 --- a/api/collections/tag.yml +++ b/api/collections/tag.yml @@ -7,7 +7,7 @@ meta: label: { de: "Schlagwörter", en: "Tags" } muiIcon: label group: content - imageUrl: "https://images.unsplash.com/photo-1555421689-491a97ff2040?auto=format&fit=crop&w=800&q=80" + imageUrl: "https://images.unsplash.com/photo-1571907483086-3c0ea40cc16d?auto=format&fit=crop&q=80&w=800" preview: select: [name, color] label: name diff --git a/api/config.yml.env b/api/config.yml.env index f427019..3087732 100644 --- a/api/config.yml.env +++ b/api/config.yml.env @@ -1,2 +1,2 @@ ADMIN_TOKEN=5bdfjc78hdxn338cuhSJ -ADMIN_ASSET_VERSION=d74964d-dirty-1779040944093 +ADMIN_ASSET_VERSION=f407946-dirty-1779042833381