-
-
+
+
diff --git a/plugins/content.ts b/plugins/content.ts
index 49a5780..c19ac96 100644
--- a/plugins/content.ts
+++ b/plugins/content.ts
@@ -5,6 +5,13 @@ export default defineNuxtPlugin(() => {
provide: {
ContentImage: (path: string) =>
`${config.apiBase}/image/${config.branch}/website/images/${path}`,
+ BGContentImage: (path: string, width?: number, height?: number) => {
+ const img = useImage();
+ const { $ContentImage } = useNuxtApp();
+
+ const imgUrl = img($ContentImage(path), { width, height });
+ return { backgroundImage: `url('${imgUrl}')` };
+ },
},
};
});
diff --git a/plugins/fontawesome.ts b/plugins/fontawesome.ts
index b4bd615..970aac2 100644
--- a/plugins/fontawesome.ts
+++ b/plugins/fontawesome.ts
@@ -1,6 +1,6 @@
import { library, config } from "@fortawesome/fontawesome-svg-core";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
-import { faDollarSign } from "@fortawesome/free-solid-svg-icons";
+import { faDollarSign, faDownload } from "@fortawesome/free-solid-svg-icons";
import {
faDiscord,
faTwitch,
@@ -13,6 +13,7 @@ import {
config.autoAddCss = false;
library.add(
+ faDownload,
faDollarSign,
faDiscord,
faTwitch,
diff --git a/public/greasycraft.png b/public/greasycraft.png
deleted file mode 100644
index b81c1db..0000000
Binary files a/public/greasycraft.png and /dev/null differ