Skip to content

Commit 6b846bb

Browse files
committed
chore: move some assets to static
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 4c0d39b commit 6b846bb

10 files changed

Lines changed: 5 additions & 8 deletions

File tree

src/assets/brand/bookmarks.pdf

-220 KB
Binary file not shown.

src/assets/brand/brand-guide.pdf

-6.67 MB
Binary file not shown.
-2.22 MB
Binary file not shown.
-22.3 MB
Binary file not shown.
-2.48 MB
Binary file not shown.

src/assets/video/meshery/meshmap/touch

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/sections/Company/Brand/Brand-components/brand-guide.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from "react";
22
import styled from "styled-components";
33
import Button from "../../../../reusecore/Button";
44
import BrandGuideImg from "../../../../assets/images/Brand-Guide/brand-guide.webp";
5-
import BrandGuidePDF from "../../../../assets/brand/brand-guide.pdf";
65

76
import { Row, Col } from "../../../../reusecore/Layout";
87
import { FiDownloadCloud } from "@react-icons/all-files/fi/FiDownloadCloud";
@@ -46,7 +45,7 @@ const BrandGuide = () => {
4645
<Row>
4746
<Col $xs={12}>
4847
<Row className="bookmarks">
49-
<Link to={BrandGuidePDF}>
48+
<Link to="/brand/brand-guide.pdf">
5049
<img className="bookmarks" src={BrandGuideImg} alt="Layer5 Brand Guide" />
5150
</Link>
5251
</Row>

src/sections/Company/Brand/Brand-components/layer5.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import { Row, Col } from "../../../../reusecore/Layout";
66
import Button from "../../../../reusecore/Button";
77
import ColorBox from "../../../../components/ColorBox";
88
import { FiDownloadCloud } from "@react-icons/all-files/fi/FiDownloadCloud";
9-
import Layer5WhiteBg from "../../../../assets/images/layer5/layer5-only/png/layer5-white-bg.webp";
9+
import Layer5WhiteBg from "../../../../../static/brand/layer5/layer5-only/png/layer5-white-bg.webp";
1010
import Bookmarks from "../../../../assets/images/layer5/bookmarks.webp";
11-
import BookmarksPDF from "../../../../assets/brand/bookmarks.pdf";
12-
import Layer5Icon from "../../../../assets/images/layer5/5 icon/svg/light/5-light-no-trim.svg";
11+
import Layer5Icon from "../../../../../static/brand/layer5/5 icon/svg/light/5-light-no-trim.svg";
1312

1413
const Layer5Wrapper = styled.section`
1514
@media (max-width:575px){
@@ -123,7 +122,7 @@ const Layer5Brand = () => {
123122
Media available for print.
124123
</p>
125124
<Row className="bookmarks">
126-
<Link to={BookmarksPDF}>
125+
<Link to="/brand/bookmarks.pdf">
127126
<img className="bookmarks" src={Bookmarks} alt="Layer5 and Meshery Bookmarks" />
128127
</Link>
129128
</Row>

src/sections/Meshery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { GiClockwork } from "@react-icons/all-files/gi/GiClockwork";
77
import { FaGithub } from "@react-icons/all-files/fa/FaGithub";
88
import FeaturesTable from "./Features-Col";
99

10-
import mesheryDemo from "../../assets/video/meshery/dashboard.webm";
10+
import mesheryDemo from "../../../static/video/meshery/dashboard.webm";
1111
import DockerExtensionCTA from "../Docker-Meshery/docker-extension-CTA";
1212

1313
import MesheryWrapper from "./meshery.style";

0 commit comments

Comments
 (0)