-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SOEOPSFY24-432 | adjust story card and create explore more section
- Loading branch information
1 parent
1df0765
commit a7dfa08
Showing
46 changed files
with
168 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from "react"; | ||
import { ThreeCol } from "../Layout"; | ||
import { StoryCard, StoryCardProps } from "./StoryCard"; | ||
|
||
export const ExploreMore = ({ stories }: { stories: StoryCardProps[] }) => { | ||
const delays = [0.8, 1.5, 0.5]; | ||
|
||
return ( | ||
<ThreeCol className="max-w-[140rem]"> | ||
{stories.map((story, index) => ( | ||
<StoryCard | ||
key={index} | ||
animation="slideUp" | ||
duration={2} | ||
delay={delays[index] || 0.5} | ||
{...story} | ||
/> | ||
))} | ||
</ThreeCol> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ext/static/chunks/173-2bf9a22c3919f3d5.js → ...ext/static/chunks/173-b51266440fcf61a4.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ext/static/chunks/348-0159d38b86bb3c3d.js → ...ext/static/chunks/348-8155d945c6554b06.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ext/static/chunks/790-724c86e0cacfafad.js → ...ext/static/chunks/790-86b87991a78547fc.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...unks/app/example/page-fdc94205cf324bfd.js → ...unks/app/example/page-0ded34b89e28cd50.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.