mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 23:56:51 +00:00
Remove guides, they moved to the minecraft wiki
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
export interface Guide {
|
||||
id: string,
|
||||
title: string,
|
||||
versions?: string[],
|
||||
tags?: string[],
|
||||
}
|
||||
|
||||
declare var __GUIDES__: Guide[]
|
||||
|
||||
export function getGuides() {
|
||||
return __GUIDES__
|
||||
}
|
||||
|
||||
export function getGuide(id: string): Guide {
|
||||
const guide = getGuides().find(g => g.id === id)
|
||||
if (guide === undefined) {
|
||||
return { id, title: 'Unknown Guide' }
|
||||
}
|
||||
return guide
|
||||
}
|
||||
Reference in New Issue
Block a user