mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-09-03 06:25:37 -05:00
Add NDS screenshot tutorial link
This commit is contained in:
18
src/data/screenshotTutorials.ts
Normal file
18
src/data/screenshotTutorials.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import type { Platform } from "./baseRoms";
|
||||
|
||||
export type ScreenshotTutorial = {
|
||||
url: string;
|
||||
emulatorName: string;
|
||||
};
|
||||
|
||||
export const screenshotTutorials: Partial<Record<Platform, ScreenshotTutorial>> = {
|
||||
NDS: {
|
||||
url: "https://youtu.be/3lP7Cdk7Gpo",
|
||||
emulatorName: "DeSmuMe",
|
||||
},
|
||||
};
|
||||
|
||||
export function getScreenshotTutorial(platform: Platform | undefined): ScreenshotTutorial | null {
|
||||
if (!platform) return null;
|
||||
return screenshotTutorials[platform] || null;
|
||||
}
|
||||
Reference in New Issue
Block a user