File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from "react" ;
2- import { Link } from "gatsby" ;
2+ import { Link , withPrefix } from "gatsby" ;
33import { StaticImage } from "gatsby-plugin-image" ;
44
55import { Container , Row , Col } from "../../reusecore/Layout" ;
@@ -17,7 +17,7 @@ import AdventuresCallout from "../Adventures-Callout";
1717import PictureSlider from "./slider" ;
1818
1919const CommunityMember = "./Community-pictures/five.svg" ;
20- const backgroundImageSrc = "/images/lite/bookmarks.webp" ;
20+ const backgroundImageSrc = withPrefix ( "/images/lite/bookmarks.webp" ) ;
2121// const Picture = "./Community-pictures/join-the-community.png";
2222
2323const CommunityPage = ( ) => {
Original file line number Diff line number Diff line change 11import React , { useState , useEffect , useRef } from "react" ;
2+ import { withPrefix } from "gatsby" ;
23// import { Link } from "gatsby";
34
45import { Container , Row , Col } from "../../../reusecore/Layout" ;
@@ -19,7 +20,7 @@ import Banner1SectionWrapper from "./banner4.style";
1920// import kanvasVideo from "../../../assets/video/meshery/kanvas/kanvas-short-consul.mp4";
2021import useHasMounted from "../../../utils/useHasMounted" ;
2122
22- const heroImageSrc = "/images/lite/poster.webp" ;
23+ const heroImageSrc = withPrefix ( "/images/lite/poster.webp" ) ;
2324
2425const Banner1 = ( props ) => {
2526 const [ videoReady , setVideoReady ] = useState ( false ) ;
Original file line number Diff line number Diff line change 11import React from "react" ;
2+ import { withPrefix } from "gatsby" ;
23import { StaticImage } from "gatsby-plugin-image" ;
34
45
@@ -10,7 +11,7 @@ import KanvasCTA from "../../Kanvas/kanvas-cta";
1011import example from "../../../assets/images/smp-page/service-mesh-performance-specification-example.gif" ;
1112import smp from "../../../assets/images/smp-page/smp-white.svg" ;
1213
13- const heroImageSrc = "/images/lite/smp-hero.webp" ;
14+ const heroImageSrc = withPrefix ( "/images/lite/smp-hero.webp" ) ;
1415
1516const latency = "../../../assets/images/smp-page/latency-at-scale.webp" ;
1617const wasm_capacity = "../../../assets/images/smp-page/native-and-wasm-at-capacity-100rps.webp" ;
You can’t perform that action at this time.
0 commit comments