Whats new changes (#514)

* Whats new modal auto visible for New and Returning users post new release

* Minor fix

* Minor change for video

* Minor changes

* making path optional for what's new modal features
This commit is contained in:
darth-coder00 2021-09-17 01:12:00 +05:30 committed by GitHub
parent 724e2b3f82
commit cc6a4de72f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 12 deletions

View File

@ -70,17 +70,19 @@ const FeaturesCarousel = ({ data }: Props) => {
<p className="tw-text-sm tw-font-medium tw-mb-2">{d.title}</p>
<p className="tw-text-sm tw-mb-3">{d.description}</p>
<div className="tw-max-w-3xl">
{d.isImage ? (
<img alt="feature" className="tw-w-full" src={d.path} />
) : (
<iframe
allowFullScreen
className="tw-w-full"
frameBorder={0}
height={278}
src={d.path}
/>
)}
{d.path ? (
d.isImage ? (
<img alt="feature" className="tw-w-full" src={d.path} />
) : (
<iframe
allowFullScreen
className="tw-w-full"
frameBorder={0}
height={278}
src={d.path}
/>
)
) : null}
</div>
</div>
))}

View File

@ -51,7 +51,7 @@ export const WHATS_NEW = [
description:
"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. ",
isImage: true,
path: dummyImg,
path: '',
},
],
changeLogs: {