From 2b36b47d676d992ccb1f251eb0dd62999ce5a5a2 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Mon, 13 Nov 2023 07:24:44 +0530 Subject: [PATCH] Fix description --- .vitepress/config.mts | 234 ++++++++++++++++++++-------------------- .vitepress/constants.ts | 2 +- index.md | 4 +- 3 files changed, 119 insertions(+), 121 deletions(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 5f6da9f64..c74d30ff5 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -9,127 +9,125 @@ import { generateImages, generateMeta } from "./hooks"; import { toggleStarredPlugin } from "./markdown/toggleStarred"; import { base64DecodePlugin } from "./markdown/base64"; -export default withPwa( - defineConfig({ - title: "FMHY", - description: meta.description, - titleTemplate: ":title • freemediaheckyeah", - lang: "en-US", - lastUpdated: true, - cleanUrls: true, - appearance: "dark", - srcExclude: ["readme.md", "single-page"], - ignoreDeadLinks: true, - metaChunk: true, - sitemap: { - hostname: meta.hostname, - }, - head: [ - ["meta", { name: "theme-color", content: "#7bc5e4" }], - ["meta", { name: "og:type", content: "website" }], - ["meta", { name: "og:locale", content: "en" }], - ["link", { rel: "icon", href: "/test.png" }], - // PWA - ["link", { rel: "icon", href: "/test.png", type: "image/svg+xml" }], - ["link", { rel: "alternate icon", href: "/test.png" }], - ["link", { rel: "mask-icon", href: "/test.png", color: "#7bc5e4" }], - // prettier-ignore - ["meta", { name: "keywords", content: meta.keywords.join(" ") }], - ["link", { rel: "apple-touch-icon", href: "/test.png", sizes: "192x192" }], - ], - transformHead: async (context) => generateMeta(context, meta.hostname), - buildEnd: async (context) => { - generateImages(context); - }, - vite: { - plugins: [ - UnoCSS({ - presets: [ - presetUno(), - presetAttributify(), - presetIcons({ - scale: 1.2, - extraProperties: { - display: "inline-block", - "vertical-align": "middle", - }, - }), - ], - }), - ], - build: { - // Shut the fuck up - chunkSizeWarningLimit: Infinity, - }, - resolve: { - alias: [ - { - find: /^.*VPSwitchAppearance\.vue$/, - replacement: fileURLToPath( - new URL("./theme/components/ThemeSwitch.vue", import.meta.url), - ), - }, +export default defineConfig({ + title: "FMHY", + description: meta.description, + titleTemplate: ":title • freemediaheckyeah", + lang: "en-US", + lastUpdated: true, + cleanUrls: true, + appearance: "dark", + srcExclude: ["readme.md", "single-page"], + ignoreDeadLinks: true, + metaChunk: true, + sitemap: { + hostname: meta.hostname, + }, + head: [ + ["meta", { name: "theme-color", content: "#7bc5e4" }], + ["meta", { name: "og:type", content: "website" }], + ["meta", { name: "og:locale", content: "en" }], + ["link", { rel: "icon", href: "/test.png" }], + // PWA + ["link", { rel: "icon", href: "/test.png", type: "image/svg+xml" }], + ["link", { rel: "alternate icon", href: "/test.png" }], + ["link", { rel: "mask-icon", href: "/test.png", color: "#7bc5e4" }], + // prettier-ignore + ["meta", { name: "keywords", content: meta.keywords.join(" ") }], + ["link", { rel: "apple-touch-icon", href: "/test.png", sizes: "192x192" }], + ], + transformHead: async (context) => generateMeta(context, meta.hostname), + buildEnd: async (context) => { + generateImages(context); + }, + vite: { + plugins: [ + UnoCSS({ + presets: [ + presetUno(), + presetAttributify(), + presetIcons({ + scale: 1.2, + extraProperties: { + display: "inline-block", + "vertical-align": "middle", + }, + }), ], - }, + }), + ], + build: { + // Shut the fuck up + chunkSizeWarningLimit: Infinity, }, - markdown: { - config(md) { - md.use(toggleStarredPlugin); - md.use(base64DecodePlugin); - }, - }, - themeConfig: { - search: { - options: { - detailedView: true, - }, - provider: "local", - }, - footer: { - message: `Made with ❤️ (rev: ${commitRef})`, - }, - outline: "deep", - logo: "/fmhy.ico", - nav: [ - { text: "Beginners Guide", link: "/beginners-guide" }, - { text: "Glossary", link: "https://rentry.org/The-Piracy-Glossary" }, - { text: "Guides", link: "https://rentry.co/fmhy-guides" }, - { text: "Backups", link: "https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/backups" }, - { text: "Updates", link: "https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/updates/" }, - ], - sidebar: [ - { text: "📛 Adblocking / Privacy", link: "/adblockvpnguide" }, - { text: "🤖 Artificial Intelligence", link: "/ai" }, - { text: "📺 Movies / TV / Anime", link: "/videopiracyguide" }, - { text: "🎵 Music / Podcasts / Radio", link: "/audiopiracyguide" }, - { text: "🎮 Gaming / Emulation", link: "/gamingpiracyguide" }, - { text: "📗 Books / Comics / Manga", link: "/readingpiracyguide" }, - { text: "💾 Downloading", link: "/downloadpiracyguide" }, - { text: "🌀 Torrenting", link: "/torrentpiracyguide" }, - { text: "🧠 Educational", link: "/edupiracyguide" }, - { text: "🔧 Tools", link: "/toolsguide" }, - { text: "📷 Image Tools", link: "/img-tools" }, - { text: "👨‍💻 Developer Tools", link: "/devtools" }, - { text: "📱 Android / iOS", link: "/android-iosguide" }, - { text: "🐧 Linux / MacOS", link: "/linuxguide" }, - { text: "🌍 Non-English", link: "/non-english" }, - { text: "📂 Miscellaneous", link: "/miscguide" }, - { text: "🔞 NSFW", link: "/nsfwpiracy" }, - { text: "⚠️ Unsafe Sites", link: "/unsafesites" }, - { text: "🔑 Base64", link: "/base64" }, - { text: "📦 Storage", link: "/storage" }, - ], - socialLinks: [ - { icon: "github", link: "https://github.com/fmhy/FMHYEdit" }, - { icon: "discord", link: "https://discord.gg/Stz6y6NgNg" }, + resolve: { + alias: [ { - icon: { - svg: '', - }, - link: "https://reddit.com/r/FREEMEDIAHECKYEAH", + find: /^.*VPSwitchAppearance\.vue$/, + replacement: fileURLToPath( + new URL("./theme/components/ThemeSwitch.vue", import.meta.url), + ), }, ], - ...pwa, }, - }), -); + }, + markdown: { + config(md) { + md.use(toggleStarredPlugin); + md.use(base64DecodePlugin); + }, + }, + themeConfig: { + search: { + options: { + detailedView: true, + }, + provider: "local", + }, + footer: { + message: `Made with ❤️ (rev: ${commitRef})`, + }, + outline: "deep", + logo: "/fmhy.ico", + nav: [ + { text: "Beginners Guide", link: "/beginners-guide" }, + { text: "Glossary", link: "https://rentry.org/The-Piracy-Glossary" }, + { text: "Guides", link: "https://rentry.co/fmhy-guides" }, + { text: "Backups", link: "https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/backups" }, + { text: "Updates", link: "https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/updates/" }, + ], + sidebar: [ + { text: "📛 Adblocking / Privacy", link: "/adblockvpnguide" }, + { text: "🤖 Artificial Intelligence", link: "/ai" }, + { text: "📺 Movies / TV / Anime", link: "/videopiracyguide" }, + { text: "🎵 Music / Podcasts / Radio", link: "/audiopiracyguide" }, + { text: "🎮 Gaming / Emulation", link: "/gamingpiracyguide" }, + { text: "📗 Books / Comics / Manga", link: "/readingpiracyguide" }, + { text: "💾 Downloading", link: "/downloadpiracyguide" }, + { text: "🌀 Torrenting", link: "/torrentpiracyguide" }, + { text: "🧠 Educational", link: "/edupiracyguide" }, + { text: "🔧 Tools", link: "/toolsguide" }, + { text: "📷 Image Tools", link: "/img-tools" }, + { text: "👨‍💻 Developer Tools", link: "/devtools" }, + { text: "📱 Android / iOS", link: "/android-iosguide" }, + { text: "🐧 Linux / MacOS", link: "/linuxguide" }, + { text: "🌍 Non-English", link: "/non-english" }, + { text: "📂 Miscellaneous", link: "/miscguide" }, + { text: "🔞 NSFW", link: "/nsfwpiracy" }, + { text: "⚠️ Unsafe Sites", link: "/unsafesites" }, + { text: "🔑 Base64", link: "/base64" }, + { text: "📦 Storage", link: "/storage" }, + ], + socialLinks: [ + { icon: "github", link: "https://github.com/fmhy/FMHYEdit" }, + { icon: "discord", link: "https://discord.gg/Stz6y6NgNg" }, + { + icon: { + svg: '', + }, + link: "https://reddit.com/r/FREEMEDIAHECKYEAH", + }, + ], + ...pwa, + }, +}); diff --git a/.vitepress/constants.ts b/.vitepress/constants.ts index 053cd8977..655f9dc96 100644 --- a/.vitepress/constants.ts +++ b/.vitepress/constants.ts @@ -1,7 +1,7 @@ export const meta = { name: "FreeMediaHeckYeah", description: - "The largest collection of free stuff on the internet!The largest collection of free stuff on the internet!", + "The largest collection of free stuff on the internet!", hostname: process.env.COMMIT_REF ? "https://fmhy.netlify.app" : "https://fmhy.pages.dev", keywords: ["stream", "movies", "gaming", "reading", "anime"], }; diff --git a/index.md b/index.md index 12d4f818f..98d6a0d30 100644 --- a/index.md +++ b/index.md @@ -1,12 +1,12 @@ --- title: "Welcome" layout: home -description: The Largest Collection Of Free Stuff On The Internet! +description: The largest collection of free stuff on the internet! hero: name: "FMHY" text: "freemediaheckyeah" - tagline: The Largest Collection Of Free Stuff On The Internet! + tagline: The largest collection of free stuff on the internet! prelink: title: 🎉 New website! link: https://www.reddit.com/r/FREEMEDIAHECKYEAH/comments/17toqpa/new_fmhy_website