feedback page

This commit is contained in:
taskylizard
2023-12-28 10:48:39 +00:00
parent 885f7f54f0
commit cf86f781e6
5 changed files with 21 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
import { defineConfig } from "vitepress";
import UnoCSS from "unocss/vite";
import { presetUno, presetAttributify, presetIcons } from "unocss";
import { commitRef, meta, socials } from "./constants";
import { commitRef, feedback, meta, socials } from "./constants";
import { generateImages, generateMeta } from "./hooks";
import { toggleStarredPlugin } from "./markdown/toggleStarred";
import { base64DecodePlugin } from "./markdown/base64";
@@ -101,7 +101,7 @@ export default defineConfig({
provider: "local",
},
footer: {
message: `Made with ❤️ (rev: ${commitRef})`,
message: `${feedback} (rev: ${commitRef})`,
},
outline: "deep",
logo: "/fmhy.ico",

View File

@@ -3,7 +3,7 @@ import type { DefaultTheme } from "vitepress";
export const meta = {
name: "FreeMediaHeckYeah",
description: "The largest collection of free stuff on the internet!",
hostname: process.env.CF_PAGES ? "https://fmhy.pages.dev" : "https://fmhy.netlify.app",
hostname: "https://fmhy.pages.dev",
keywords: ["stream", "movies", "gaming", "reading", "anime"],
};
@@ -13,10 +13,12 @@ export const commitRef = process.env.COMMIT_REF
process.env.COMMIT_REF
}">${process.env.COMMIT_REF.slice(0, 8)}</a>`
: process.env.CF_PAGES
? `<a href="https://github.com/fmhy/FMHYEdit/commit/${
process.env.CF_PAGES_COMMIT_SHA
}">${process.env.CF_PAGES_COMMIT_SHA.slice(0, 8)}</a>`
: "dev";
? `<a href="https://github.com/fmhy/FMHYEdit/commit/${
process.env.CF_PAGES_COMMIT_SHA
}">${process.env.CF_PAGES_COMMIT_SHA.slice(0, 8)}</a>`
: "dev";
export const feedback = `<a href="/feedback" class="feedback-footer">Made with ❤️</a>`;
export const socials: DefaultTheme.SocialLink[] = [
{ icon: "github", link: "https://github.com/fmhy/FMHYEdit" },

View File

@@ -176,7 +176,6 @@
transform: rotate(3deg) translate(0px, -4px);
}
/* Remove these to get rid of the spinner */
#nprogress .spinner {
display: block;
position: fixed;