diff --git a/pages/[lang]/community/aroundweb.res b/pages/[lang]/community/aroundweb.res index 8595dacc..a14a9c9f 100644 --- a/pages/[lang]/community/aroundweb.res +++ b/pages/[lang]/community/aroundweb.res @@ -123,7 +123,7 @@ module T = { blogSectionHeader: string, blogSectionDescription: string, blog: string, - blogEntries: array, + blogEntries: array, blogArchiveText: string, spacesSectionHeader: string, spaces: array, @@ -153,7 +153,7 @@ module T = { - , + blogEntries: array, blogArchiveText: string, spacesSectionHeader: string, spaces: array, diff --git a/pages/storybook.res b/pages/storybook.res index ff935174..88303a44 100644 --- a/pages/storybook.res +++ b/pages/storybook.res @@ -993,11 +993,11 @@ module Categories = { } } - module Blog2 = { + module BlogCard = { @react.component let make = () => { let entry = n => { - Blog2.Entry.title: "Title" ++ n, + BlogCard.Entry.title: "Title" ++ n, excerpt: "Excerpt" ++ n, author: "Author" ++ n, dateValue: "DateValue" ++ n, @@ -1006,12 +1006,12 @@ module Categories = { } let entries = n => Belt.Array.makeBy(n, i => entry(string_of_int(i))) + name="BlogCard" + docs="BlogCard element. NOTE: BlogCard must have 3 elements. Any more will be ignored, any less will result in an exception."> {[ // ( - // "Blog2 with no entries.", - // , // ), // ( - // "Blog2 with 1 entry.", - // , // ), // ( - // "Blog2 with 2 entries.", - // , // ), ( - "Blog2 with 3 entries.", - , ), ( - "Blog2 with 10 entries.", - - + diff --git a/src/Blog2.res b/src/BlogCard.res similarity index 100% rename from src/Blog2.res rename to src/BlogCard.res diff --git a/src/Blog2.resi b/src/BlogCard.resi similarity index 100% rename from src/Blog2.resi rename to src/BlogCard.resi