mirror of
https://github.com/fmhy/edit.git
synced 2025-10-14 00:31:05 +11:00
every url revamp
This commit is contained in:
parent
bbacad46b3
commit
6f719740ea
54 changed files with 436 additions and 435 deletions
|
@ -197,7 +197,7 @@ export const sidebar: DefaultTheme.Sidebar | DefaultTheme.NavItemWithLink[] = [
|
|||
items: [
|
||||
{
|
||||
text: '<span class="i-twemoji:name-badge"></span> Adblocking / Privacy',
|
||||
link: '/adblockvpnguide'
|
||||
link: '/privacy'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:robot"></span> Artificial Intelligence',
|
||||
|
@ -209,35 +209,35 @@ export const sidebar: DefaultTheme.Sidebar | DefaultTheme.NavItemWithLink[] = [
|
|||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:musical-note"></span> Music / Podcasts / Radio',
|
||||
link: '/audiopiracyguide'
|
||||
link: '/audio'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:video-game"></span> Gaming / Emulation',
|
||||
link: '/gamingpiracyguide'
|
||||
link: '/gaming'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:green-book"></span> Books / Comics / Manga',
|
||||
link: '/readingpiracyguide'
|
||||
link: '/reading'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:floppy-disk"></span> Downloading',
|
||||
link: '/downloadpiracyguide'
|
||||
link: '/downloading'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:cyclone"></span> Torrenting',
|
||||
link: '/torrentpiracyguide'
|
||||
link: '/torrenting'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:brain"></span> Educational',
|
||||
link: '/edupiracyguide'
|
||||
link: '/educational'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:mobile-phone"></span> Android / iOS',
|
||||
link: '/android-iosguide'
|
||||
link: '/mobile'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:penguin"></span> Linux / macOS',
|
||||
link: '/linuxguide'
|
||||
link: '/linux-macos'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:globe-showing-asia-australia"></span> Non-English',
|
||||
|
@ -245,7 +245,7 @@ export const sidebar: DefaultTheme.Sidebar | DefaultTheme.NavItemWithLink[] = [
|
|||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:file-folder"></span> Miscellaneous',
|
||||
link: '/miscguide'
|
||||
link: '/misc'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -279,7 +279,7 @@ export const sidebar: DefaultTheme.Sidebar | DefaultTheme.NavItemWithLink[] = [
|
|||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:camera"></span> Image Tools',
|
||||
link: '/img-tools'
|
||||
link: '/image-tools'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:videocassette"></span> Video Tools',
|
||||
|
@ -287,15 +287,15 @@ export const sidebar: DefaultTheme.Sidebar | DefaultTheme.NavItemWithLink[] = [
|
|||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:speaker-high-volume"></span> Audio Tools',
|
||||
link: '/audiopiracyguide#audio-tools'
|
||||
link: '/audio#audio-tools'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:red-apple"></span> Educational Tools',
|
||||
link: '/edupiracyguide#educational-tools'
|
||||
link: '/educational#educational-tools'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:man-technologist"></span> Developer Tools',
|
||||
link: '/devtools'
|
||||
link: '/developer-tools'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -311,7 +311,7 @@ export const sidebar: DefaultTheme.Sidebar | DefaultTheme.NavItemWithLink[] = [
|
|||
: {},
|
||||
{
|
||||
text: '<span class="i-twemoji:warning"></span> Unsafe Sites',
|
||||
link: '/unsafesites'
|
||||
link: '/unsafe'
|
||||
},
|
||||
{
|
||||
text: '<span class="i-twemoji:package"></span> Storage',
|
||||
|
|
|
@ -134,31 +134,31 @@ export function transform(text: string): string {
|
|||
.replace(/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/ai/g, '/ai')
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/adblock-vpn-privacy/g,
|
||||
'/adblockvpnguide'
|
||||
'/privacy'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/android/g,
|
||||
'/android-iosguide'
|
||||
'/mobile'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/games/g,
|
||||
'/gamingpiracyguide'
|
||||
'/gaming'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/reading/g,
|
||||
'/readingpiracyguide'
|
||||
'/reading'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/download/g,
|
||||
'/downloadpiracyguide'
|
||||
'/downloading'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/torrent/g,
|
||||
'/torrentpiracyguide'
|
||||
'/torrenting'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/edu/g,
|
||||
'/edupiracyguide'
|
||||
'/educational'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/system-tools/g,
|
||||
|
@ -198,11 +198,11 @@ export function transform(text: string): string {
|
|||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/audio/g,
|
||||
'/audiopiracyguide'
|
||||
'/audio'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/linux/g,
|
||||
'/linuxguide'
|
||||
'/linux-macos'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/non-eng/g,
|
||||
|
@ -210,7 +210,7 @@ export function transform(text: string): string {
|
|||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/misc/g,
|
||||
'/miscguide'
|
||||
'/misc'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/storage/g,
|
||||
|
@ -218,11 +218,11 @@ export function transform(text: string): string {
|
|||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/dev-tools/g,
|
||||
'/devtools'
|
||||
'/developer-tools'
|
||||
)
|
||||
.replace(
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/img-tools/g,
|
||||
'/img-tools'
|
||||
/https:\/\/www.reddit.com\/r\/FREEMEDIAHECKYEAH\/wiki\/image-tools/g,
|
||||
'/image-tools'
|
||||
)
|
||||
|
||||
_text = replaceUnderscore(_text)
|
||||
|
|
|
@ -20,7 +20,7 @@ interface Header {
|
|||
}
|
||||
|
||||
export const headers: Header = {
|
||||
'adblockvpnguide.md': {
|
||||
'privacy.md': {
|
||||
title: 'Adblocking / Privacy',
|
||||
description: 'Adblocking, Privacy, VPNs, Proxies, Antiviruses'
|
||||
},
|
||||
|
@ -28,11 +28,11 @@ export const headers: Header = {
|
|||
title: 'Artificial Intelligence',
|
||||
description: 'Chatbots, Text Generators, Image Generators, Chatbot Tools'
|
||||
},
|
||||
'android-iosguide.md': {
|
||||
'mobile.md': {
|
||||
title: 'Android / iOS',
|
||||
description: 'Apps, Jailbreaking, Android Emulators'
|
||||
},
|
||||
'audiopiracyguide.md': {
|
||||
'audio.md': {
|
||||
title: 'Music / Podcasts / Radio',
|
||||
description: 'Stream Audio, Download Audio, Torrent Audio'
|
||||
},
|
||||
|
@ -40,23 +40,23 @@ export const headers: Header = {
|
|||
title: 'Beginners Guide',
|
||||
description: 'A Guide for Beginners to Piracy'
|
||||
},
|
||||
'downloadpiracyguide.md': {
|
||||
'downloading.md': {
|
||||
title: 'Downloading',
|
||||
description: 'Download Sites, Software Sites, Open Directories'
|
||||
},
|
||||
'edupiracyguide.md': {
|
||||
'educational.md': {
|
||||
title: 'Educational',
|
||||
description: 'Courses, Documentaries, Learning Resources'
|
||||
},
|
||||
'gamingpiracyguide.md': {
|
||||
'gaming.md': {
|
||||
title: 'Gaming / Emulation',
|
||||
description: 'Download Games, ROMs, Gaming Tools'
|
||||
},
|
||||
'linuxguide.md': {
|
||||
'linux-macos.md': {
|
||||
title: 'Linux / macOS',
|
||||
description: 'Apps, Software Sites, Gaming'
|
||||
},
|
||||
'miscguide.md': {
|
||||
'misc.md': {
|
||||
title: 'Miscellaneous',
|
||||
description: 'Extensions, Indexes, News, Health, Food, Fun'
|
||||
},
|
||||
|
@ -68,7 +68,7 @@ export const headers: Header = {
|
|||
title: 'Non-English',
|
||||
description: 'International Piracy Sites'
|
||||
},
|
||||
'readingpiracyguide.md': {
|
||||
'reading.md': {
|
||||
title: 'Books / Comics / Manga',
|
||||
description: 'Books, Comics, Magazines, Newspapers'
|
||||
},
|
||||
|
@ -76,11 +76,11 @@ export const headers: Header = {
|
|||
title: 'Gaming Tools',
|
||||
description: 'Gaming Optimization, Game Launchers, Multiplayer'
|
||||
},
|
||||
'devtools.md': {
|
||||
'developer-tools.md': {
|
||||
title: 'Developer Tools',
|
||||
description: 'Git, Hosting, App Dev, Software Dev'
|
||||
},
|
||||
'img-tools.md': {
|
||||
'image-tools.md': {
|
||||
title: 'Image Tools',
|
||||
description: 'Image Editors, Generators, Compress'
|
||||
},
|
||||
|
@ -116,7 +116,7 @@ export const headers: Header = {
|
|||
title: 'Storage',
|
||||
description: 'Sections too big to fit on main pages'
|
||||
},
|
||||
'torrentpiracyguide.md': {
|
||||
'torrenting.md': {
|
||||
title: 'Torrenting',
|
||||
description: 'Torrent Clients, Torrent Sites, Trackers'
|
||||
},
|
||||
|
@ -128,7 +128,7 @@ export const headers: Header = {
|
|||
title: 'Base64',
|
||||
description: 'Base64 storage'
|
||||
},
|
||||
'unsafesites.md': {
|
||||
'unsafe.md': {
|
||||
title: 'Unsafe Sites',
|
||||
description: 'Unsafe/harmful sites to avoid.'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue