Skip to content

Commit fcb5351

Browse files
authored
Rename Blog2 to BlogCard (ocaml#541)
1 parent cc850c4 commit fcb5351

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

pages/[lang]/community/aroundweb.res

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module T = {
123123
blogSectionHeader: string,
124124
blogSectionDescription: string,
125125
blog: string,
126-
blogEntries: array<Blog2.Entry.t>,
126+
blogEntries: array<BlogCard.Entry.t>,
127127
blogArchiveText: string,
128128
spacesSectionHeader: string,
129129
spaces: array<Space.t>,
@@ -153,7 +153,7 @@ module T = {
153153
</div>
154154
<LatestNews content=content.latestNewsContent />
155155
<Events content=content.events lang />
156-
<Blog2
156+
<BlogCard
157157
header=content.blogSectionHeader
158158
description=content.blogSectionDescription
159159
blog=content.blog

pages/[lang]/community/aroundweb.resi

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type t = {
3232
blogSectionHeader: string,
3333
blogSectionDescription: string,
3434
blog: string,
35-
blogEntries: array<Blog2.Entry.t>,
35+
blogEntries: array<BlogCard.Entry.t>,
3636
blogArchiveText: string,
3737
spacesSectionHeader: string,
3838
spaces: array<Space.t>,

pages/storybook.res

+15-15
Original file line numberDiff line numberDiff line change
@@ -993,11 +993,11 @@ module Categories = {
993993
}
994994
}
995995

996-
module Blog2 = {
996+
module BlogCard = {
997997
@react.component
998998
let make = () => {
999999
let entry = n => {
1000-
Blog2.Entry.title: "Title" ++ n,
1000+
BlogCard.Entry.title: "Title" ++ n,
10011001
excerpt: "Excerpt" ++ n,
10021002
author: "Author" ++ n,
10031003
dateValue: "DateValue" ++ n,
@@ -1006,12 +1006,12 @@ module Categories = {
10061006
}
10071007
let entries = n => Belt.Array.makeBy(n, i => entry(string_of_int(i)))
10081008
<Item
1009-
name="Blog2"
1010-
docs="Blog2 element. NOTE: Blog2 must have 3 elements. Any more will be ignored, any less will result in an exception.">
1009+
name="BlogCard"
1010+
docs="BlogCard element. NOTE: BlogCard must have 3 elements. Any more will be ignored, any less will result in an exception.">
10111011
{[
10121012
// (
1013-
// "Blog2 with no entries.",
1014-
// <Blog2
1013+
// "BlogCard with no entries.",
1014+
// <BlogCard
10151015
// header="Header"
10161016
// description="Description"
10171017
// blog="Blog"
@@ -1020,8 +1020,8 @@ module Categories = {
10201020
// />,
10211021
// ),
10221022
// (
1023-
// "Blog2 with 1 entry.",
1024-
// <Blog2
1023+
// "BlogCard with 1 entry.",
1024+
// <BlogCard
10251025
// header="Header"
10261026
// description="Description"
10271027
// blog="Blog"
@@ -1030,8 +1030,8 @@ module Categories = {
10301030
// />,
10311031
// ),
10321032
// (
1033-
// "Blog2 with 2 entries.",
1034-
// <Blog2
1033+
// "BlogCard with 2 entries.",
1034+
// <BlogCard
10351035
// header="Header"
10361036
// description="Description"
10371037
// blog="Blog"
@@ -1040,8 +1040,8 @@ module Categories = {
10401040
// />,
10411041
// ),
10421042
(
1043-
"Blog2 with 3 entries.",
1044-
<Blog2
1043+
"BlogCard with 3 entries.",
1044+
<BlogCard
10451045
header="Header"
10461046
description="Description"
10471047
blog="Blog"
@@ -1050,8 +1050,8 @@ module Categories = {
10501050
/>,
10511051
),
10521052
(
1053-
"Blog2 with 10 entries.",
1054-
<Blog2
1053+
"BlogCard with 10 entries.",
1054+
<BlogCard
10551055
header="Header"
10561056
description="Description"
10571057
blog="Blog"
@@ -1153,7 +1153,7 @@ module Categories = {
11531153
<Hero />
11541154
<HighlightsInQuadrants />
11551155
<MediaCarousel />
1156-
<Blog2 />
1156+
<BlogCard />
11571157
<Stats />
11581158
<Testimonials />
11591159
<Timeline />
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)