-
+
diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts
index 34d677d59..ee4578977 100644
--- a/docs/.vitepress/theme/index.ts
+++ b/docs/.vitepress/theme/index.ts
@@ -15,13 +15,14 @@
*/
import type { Theme } from 'vitepress'
+import Components from '@fmhy/components'
import DefaultTheme from 'vitepress/theme'
import { loadProgress } from './composables/nprogress'
import Layout from './Layout.vue'
import Post from './PostLayout.vue'
import './style.scss'
-import 'uno.css'
+import 'virtual:uno.css'
import Feedback from './components/Feedback.vue'
@@ -29,6 +30,7 @@ export default {
extends: DefaultTheme,
Layout,
enhanceApp({ router, app }) {
+ app.use(Components)
app.component('Post', Post)
app.component('Feedback', Feedback)
loadProgress(router)
diff --git a/docs/.vitepress/theme/posts.data.ts b/docs/.vitepress/theme/posts.data.ts
index 045305bb7..5a79b455d 100644
--- a/docs/.vitepress/theme/posts.data.ts
+++ b/docs/.vitepress/theme/posts.data.ts
@@ -1,7 +1,3 @@
-import type { ContentData } from 'vitepress'
-import { createContentLoader } from 'vitepress'
-import { groupBy } from '../utils'
-
/**
* Copyright (c) taskylizard. All rights reserved.
*
@@ -18,18 +14,22 @@ import { groupBy } from '../utils'
* limitations under the License.
*/
+import type { ContentData } from 'vitepress'
+import { createContentLoader } from 'vitepress'
+import { groupBy } from '../utils'
+
interface Post {
title: string
url: string
date: string
}
-type Dictionary = ReturnType
+type Dictionary = ReturnType
declare const data: Dictionary
export { data }
-function transformRawPosts(rawPosts: ContentData[]): Record {
+function transformRawPosts(rawPosts: ContentData[]): Record {
const posts: Post[] = rawPosts
.map(({ url, frontmatter }) => ({
title: frontmatter.title,
diff --git a/docs/index.md b/docs/index.md
index b2491114a..7f28eeddf 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -4,8 +4,7 @@ layout: home
description: The largest collection of free stuff on the internet!
hero:
- name: FMHY
- text: freemediaheckyeah
+ name: freemediaheckyeah
tagline: The largest collection of free stuff on the internet!
prelink:
title: Goodbye Fmovies, and thank you 🤍
@@ -15,8 +14,8 @@ hero:
alt: FMHY Icon
actions:
- theme: brand
- text: Browse Collection
- link: /adblockvpnguide
+ text: See Beginners Guide
+ link: /beginners-guide
- theme: alt
text: Posts
link: /posts
@@ -28,22 +27,133 @@ hero:
link: https://discord.gg/Stz6y6NgNg
features:
- - title: Movies / TV / Anime
- icon:
+ - title: Adblocking / Privacy
+ link: /adblockvpnguide
+ details: Learn how to block ads, trackers and other nasty things.
+ icon: |
+
+
+ - title: Artificial Intelligence
+ link: /ai
+ details: Explore the world of AI and machine learning.
+ icon: |
+
+
+ - title: Streaming
link: /videopiracyguide
- details: Stream, download, torrent and binge all your favourites movies or shows!
- - title: Music / Podcasts / Radio
- icon:
+ details:
+ Stream, download, torrent and binge all your favourites movies or shows!
+ icon: |
+
+
+ - title: Listening
+ icon: |
+
link: /audiopiracyguide
- details: Stream, download and torrent songs, podcasts and more!
- - title: Games / Emulation
- icon:
+ details: Stream, download and torrent songs, podcasts and more!
+
+ - title: Gaming
+ icon: |
+
link: /gamingpiracyguide
- details: Download and play all your favourite games or emulate some old but gold ones!
- - title: Book / Comics / Manga
- icon:
+ details:
+ Download and play all your favourite games or emulate some old but gold
+ ones!
+
+ - title: Reading
+ icon: |
+
link: /readingpiracyguide
- details: Whether you're a bookworm, otaku or comic book fan, you'll be able to find your favourite pieces of literature here for free!
+ details:
+ Whether you're a bookworm, otaku or comic book fan, you'll be able to find
+ your favourite pieces of literature here for free!
+
+ - title: Downloading
+ icon: |
+
+ link: /downloadpiracyguide
+ details:
+ Download all your favourite software, movies, tv shows, music, games and more!
+
+ - title: Torrenting
+ icon: |
+
+ link: /torrentpiracyguide
+ details: Download your favourite media using the BitTorrent protocol.
+
+ - title: Educational
+ icon: |
+
+ link: /edupiracyguide
+ details: Educational content for all ages.
+
+ - title: Android / iOS
+ icon: |
+
+ link: /android-iosguide
+ details: All forms of content for Android and iOS.
+
+ - title: Linux / MacOS
+ icon: |
+
+ link: /linuxguide
+ details: The $HOME of Linux and MacOS.
+
+ - title: Non English
+ icon: |
+
+ link: /non-english
+ details: Content in languages other than English.
+
+ - title: Miscellaneous
+ icon: |
+
+ link: /miscguide
+ details: Content too niche to be included elsewhere.
---