diff --git a/src/pages/download/index.tsx b/src/pages/download/index.tsx index 14507d7..b7ad0ed 100644 --- a/src/pages/download/index.tsx +++ b/src/pages/download/index.tsx @@ -4,7 +4,7 @@ import TabItem from "@theme/TabItem"; import { faTowerCell, faFileZipper } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import HeroBanner from '@site/src/components/HeroBanner'; -import HeroBackground from '@site/static/img/site/split-background.png'; +import HeroBackground from '@site/static/img/site/split-background.jpg'; import PaperSpigotIcon from '@site/static/img/icons/paper.png'; import VelocityIcon from '@site/static/img/icons/velocity.png'; import WaterfallBungeeCordIcon from '@site/static/img/icons/waterfall.svg'; diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 490371b..3938d9e 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -1,9 +1,9 @@ :root { - --ifm-background-image-url: url('/img/site/split-background-light.png'); + --ifm-background-image-url: url('/img/site/split-background-light.jpg'); } [data-theme='dark'] { - --ifm-background-image-url: url('/img/site/split-background.png') !important; + --ifm-background-image-url: url('/img/site/split-background.jpg') !important; } .heroBanner { diff --git a/static/img/site/index.d.ts b/static/img/site/index.d.ts index 5d8ad30..e871b0b 100644 --- a/static/img/site/index.d.ts +++ b/static/img/site/index.d.ts @@ -1,4 +1,9 @@ declare module '*.png' { const value: any; export = value; +} + +declare module '*.jpg' { + const value: any; + export = value; } \ No newline at end of file diff --git a/static/img/site/split-background-light.jpg b/static/img/site/split-background-light.jpg new file mode 100644 index 0000000..7aa8624 Binary files /dev/null and b/static/img/site/split-background-light.jpg differ diff --git a/static/img/site/split-background.jpg b/static/img/site/split-background.jpg new file mode 100644 index 0000000..84cc853 Binary files /dev/null and b/static/img/site/split-background.jpg differ