Add image feature
This commit is contained in:
parent
c77d881823
commit
f1c67b2088
@ -22,8 +22,6 @@ import useIsBrowser from '@docusaurus/useIsBrowser'
|
|||||||
|
|
||||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
|
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
|
||||||
|
|
||||||
import Svg from '@site/static/img/homepage/features01dark.svg'
|
|
||||||
|
|
||||||
import { twMerge } from 'tailwind-merge'
|
import { twMerge } from 'tailwind-merge'
|
||||||
|
|
||||||
import Testimonial from '@site/src/containers/Testimonial'
|
import Testimonial from '@site/src/containers/Testimonial'
|
||||||
@ -340,7 +338,42 @@ export default function Home() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="relative w-full -right-[10%] rounded-l-3xl overflow-hidden hidden lg:block">
|
<div className="relative w-full -right-[10%] rounded-l-3xl overflow-hidden hidden lg:block">
|
||||||
<Svg />
|
{activeFeature === 0 && (
|
||||||
|
<ThemedImage
|
||||||
|
alt="App screenshots"
|
||||||
|
sources={{
|
||||||
|
light: useBaseUrl('/img/homepage/features01.svg'),
|
||||||
|
dark: useBaseUrl('/img/homepage/features01dark.svg'),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
{activeFeature === 1 && (
|
||||||
|
<ThemedImage
|
||||||
|
alt="App screenshots"
|
||||||
|
sources={{
|
||||||
|
light: useBaseUrl('/img/homepage/features02.svg'),
|
||||||
|
dark: useBaseUrl('/img/homepage/features02dark.svg'),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
{activeFeature === 2 && (
|
||||||
|
<ThemedImage
|
||||||
|
alt="App screenshots"
|
||||||
|
sources={{
|
||||||
|
light: useBaseUrl('/img/homepage/features01.svg'),
|
||||||
|
dark: useBaseUrl('/img/homepage/features01dark.svg'),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
{activeFeature === 3 && (
|
||||||
|
<ThemedImage
|
||||||
|
alt="App screenshots"
|
||||||
|
sources={{
|
||||||
|
light: useBaseUrl('/img/homepage/features01.svg'),
|
||||||
|
dark: useBaseUrl('/img/homepage/features01dark.svg'),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
6
docs/static/img/homepage/features01.svg
vendored
Normal file
6
docs/static/img/homepage/features01.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 992 KiB |
5
docs/static/img/homepage/features01dark.svg
vendored
5
docs/static/img/homepage/features01dark.svg
vendored
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
6
docs/static/img/homepage/features02.svg
vendored
Normal file
6
docs/static/img/homepage/features02.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 1.7 MiB |
6
docs/static/img/homepage/features02dark.svg
vendored
Normal file
6
docs/static/img/homepage/features02dark.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 1.9 MiB |
Loading…
x
Reference in New Issue
Block a user