summaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/layout')
-rw-r--r--src/components/organisms/layout/cards-list.stories.tsx6
-rw-r--r--src/components/organisms/layout/cards-list.test.tsx6
-rw-r--r--src/components/organisms/layout/comment.stories.tsx2
-rw-r--r--src/components/organisms/layout/comments-list.stories.tsx10
-rw-r--r--src/components/organisms/layout/header.stories.tsx3
-rw-r--r--src/components/organisms/layout/overview.stories.tsx1
-rw-r--r--src/components/organisms/layout/posts-list.stories.tsx4
-rw-r--r--src/components/organisms/layout/posts-list.test.tsx4
-rw-r--r--src/components/organisms/layout/summary.stories.tsx1
9 files changed, 0 insertions, 37 deletions
diff --git a/src/components/organisms/layout/cards-list.stories.tsx b/src/components/organisms/layout/cards-list.stories.tsx
index 522d068..c19220a 100644
--- a/src/components/organisms/layout/cards-list.stories.tsx
+++ b/src/components/organisms/layout/cards-list.stories.tsx
@@ -90,8 +90,6 @@ const items: CardsListItem[] = [
src: 'http://placeimg.com/640/480',
width: 640,
height: 480,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
meta: { thematics: ['Velit', 'Ex', 'Alias'] },
tagline: 'Molestias ut error',
@@ -105,8 +103,6 @@ const items: CardsListItem[] = [
src: 'http://placeimg.com/640/480',
width: 640,
height: 480,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
meta: { thematics: ['Voluptas'] },
tagline: 'Quod vel accusamus',
@@ -120,8 +116,6 @@ const items: CardsListItem[] = [
src: 'http://placeimg.com/640/480',
width: 640,
height: 480,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
meta: {
thematics: ['Quisquam', 'Quia', 'Sapiente', 'Perspiciatis'],
diff --git a/src/components/organisms/layout/cards-list.test.tsx b/src/components/organisms/layout/cards-list.test.tsx
index 7d98844..8558fa6 100644
--- a/src/components/organisms/layout/cards-list.test.tsx
+++ b/src/components/organisms/layout/cards-list.test.tsx
@@ -9,8 +9,6 @@ const items: CardsListItem[] = [
src: 'http://placeimg.com/640/480',
width: 640,
height: 480,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
meta: { thematics: ['Velit', 'Ex', 'Alias'] },
tagline: 'Molestias ut error',
@@ -24,8 +22,6 @@ const items: CardsListItem[] = [
src: 'http://placeimg.com/640/480',
width: 640,
height: 480,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
meta: { thematics: ['Voluptas'] },
tagline: 'Quod vel accusamus',
@@ -39,8 +35,6 @@ const items: CardsListItem[] = [
src: 'http://placeimg.com/640/480',
width: 640,
height: 480,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
meta: {
thematics: ['Quisquam', 'Quia', 'Sapiente', 'Perspiciatis'],
diff --git a/src/components/organisms/layout/comment.stories.tsx b/src/components/organisms/layout/comment.stories.tsx
index c7649ab..fa4bba9 100644
--- a/src/components/organisms/layout/comment.stories.tsx
+++ b/src/components/organisms/layout/comment.stories.tsx
@@ -123,6 +123,4 @@ Comment.args = {
'Harum aut cumque iure fugit neque sequi cupiditate repudiandae laudantium. Ratione aut assumenda qui illum voluptas accusamus quis officiis exercitationem. Consectetur est harum eius perspiciatis officiis nihil. Aut corporis minima debitis adipisci possimus debitis et.',
id: 2,
publication: '2021-04-03 23:04:24',
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
};
diff --git a/src/components/organisms/layout/comments-list.stories.tsx b/src/components/organisms/layout/comments-list.stories.tsx
index 1ed159a..22cc9d9 100644
--- a/src/components/organisms/layout/comments-list.stories.tsx
+++ b/src/components/organisms/layout/comments-list.stories.tsx
@@ -81,8 +81,6 @@ const comments: Comment[] = [
'Voluptas ducimus inventore. Libero ut et doloribus. Earum nostrum ab. Aliquam rem dolores omnis voluptate. Sunt aut ut et.',
id: 1,
publication: '2021-04-03 18:04:11',
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
{
child: [
@@ -95,8 +93,6 @@ const comments: Comment[] = [
'Vel ullam in porro tempore. Maiores quos quia magnam beatae nemo libero velit numquam. Sapiente aliquid cumque. Velit neque in adipisci aut assumenda voluptates earum. Autem esse autem provident in tempore. Aut distinctio dolor qui repellat et et adipisci velit aspernatur.',
id: 4,
publication: '2021-04-03 23:04:24',
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
{
author: {
@@ -107,8 +103,6 @@ const comments: Comment[] = [
'Sed non omnis. Quam porro est. Quae tempore quae. Exercitationem eos non velit voluptatem velit voluptas iusto. Sit debitis qui ipsam quo asperiores numquam veniam praesentium ut.',
id: 5,
publication: '2021-04-04 08:05:14',
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
],
author: {
@@ -120,8 +114,6 @@ const comments: Comment[] = [
'Sit sed error quasi voluptatem velit voluptas aut. Aut debitis eveniet. Praesentium dolores quia voluptate vero quis dicta quasi vel. Aut voluptas accusantium ut aut quidem consectetur itaque laboriosam occaecati.',
id: 2,
publication: '2021-04-03 23:30:20',
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
{
author: {
@@ -132,8 +124,6 @@ const comments: Comment[] = [
'Natus consequatur maiores aperiam dolore eius nesciunt ut qui et. Ab ea nobis est. Eaque dolor corrupti id aut. Impedit architecto autem qui neque rerum ab dicta dignissimos voluptates.',
id: 3,
publication: '2021-09-13 13:24:54',
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
];
diff --git a/src/components/organisms/layout/header.stories.tsx b/src/components/organisms/layout/header.stories.tsx
index a5233ea..0507e89 100644
--- a/src/components/organisms/layout/header.stories.tsx
+++ b/src/components/organisms/layout/header.stories.tsx
@@ -112,7 +112,6 @@ export default {
required: true,
},
},
- unoptimized: { table: { disable: true } },
withLink: {
control: {
type: 'boolean',
@@ -151,6 +150,4 @@ Header.args = {
nav,
photo: 'http://placeimg.com/640/480/people',
title: 'Website title',
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
};
diff --git a/src/components/organisms/layout/overview.stories.tsx b/src/components/organisms/layout/overview.stories.tsx
index 1139350..26f7ba0 100644
--- a/src/components/organisms/layout/overview.stories.tsx
+++ b/src/components/organisms/layout/overview.stories.tsx
@@ -52,7 +52,6 @@ const cover = {
height: 480,
src: 'http://placeimg.com/640/480/cats',
width: 640,
- unoptimized: true,
};
const meta: OverviewMeta = {
diff --git a/src/components/organisms/layout/posts-list.stories.tsx b/src/components/organisms/layout/posts-list.stories.tsx
index 96fb2f0..360d441 100644
--- a/src/components/organisms/layout/posts-list.stories.tsx
+++ b/src/components/organisms/layout/posts-list.stories.tsx
@@ -181,8 +181,6 @@ const posts: Post[] = [
height: 480,
src: 'http://placeimg.com/640/480',
width: 640,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
},
{
@@ -213,8 +211,6 @@ const posts: Post[] = [
height: 480,
src: 'http://placeimg.com/640/480',
width: 640,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
},
];
diff --git a/src/components/organisms/layout/posts-list.test.tsx b/src/components/organisms/layout/posts-list.test.tsx
index 7429cbd..dfb9825 100644
--- a/src/components/organisms/layout/posts-list.test.tsx
+++ b/src/components/organisms/layout/posts-list.test.tsx
@@ -28,8 +28,6 @@ const posts: Post[] = [
height: 480,
src: 'http://placeimg.com/640/480',
width: 640,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
},
{
@@ -60,8 +58,6 @@ const posts: Post[] = [
height: 480,
src: 'http://placeimg.com/640/480',
width: 640,
- // @ts-ignore - Needed because of the placeholder image.
- unoptimized: true,
},
},
];
diff --git a/src/components/organisms/layout/summary.stories.tsx b/src/components/organisms/layout/summary.stories.tsx
index 92736b8..2512051 100644
--- a/src/components/organisms/layout/summary.stories.tsx
+++ b/src/components/organisms/layout/summary.stories.tsx
@@ -88,7 +88,6 @@ const cover = {
height: 480,
src: 'http://placeimg.com/640/480',
width: 640,
- unoptimized: true,
};
const excerpt =