mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
57 lines
1.2 KiB
TypeScript
57 lines
1.2 KiB
TypeScript
import { PageProps } from '@/utils/template';
|
|
|
|
import Castform from './Castform/Castform';
|
|
import Gengar from './Gengar/Gengar';
|
|
import Glalie from './Glalie/Glalie';
|
|
import Kakuna from './Kakuna/Kakuna';
|
|
import Onyx from './Onyx/Onyx';
|
|
import Pikachu from './Pikachu/Pikachu';
|
|
|
|
export type TemplateMeta = {
|
|
id: string;
|
|
name: string;
|
|
preview: string;
|
|
component: React.FC<PageProps>;
|
|
};
|
|
|
|
const templateMap: Record<string, TemplateMeta> = {
|
|
kakuna: {
|
|
id: 'kakuna',
|
|
name: 'Kakuna',
|
|
preview: '/images/templates/kakuna.jpg',
|
|
component: Kakuna,
|
|
},
|
|
onyx: {
|
|
id: 'onyx',
|
|
name: 'Onyx',
|
|
preview: '/images/templates/onyx.jpg',
|
|
component: Onyx,
|
|
},
|
|
pikachu: {
|
|
id: 'pikachu',
|
|
name: 'Pikachu',
|
|
preview: '/images/templates/pikachu.jpg',
|
|
component: Pikachu,
|
|
},
|
|
gengar: {
|
|
id: 'gengar',
|
|
name: 'Gengar',
|
|
preview: '/images/templates/gengar.jpg',
|
|
component: Gengar,
|
|
},
|
|
castform: {
|
|
id: 'castform',
|
|
name: 'Castform',
|
|
preview: '/images/templates/castform.jpg',
|
|
component: Castform,
|
|
},
|
|
glalie: {
|
|
id: 'glalie',
|
|
name: 'Glalie',
|
|
preview: '/images/templates/glalie.jpg',
|
|
component: Glalie,
|
|
},
|
|
};
|
|
|
|
export default templateMap;
|