Skip to content

Commit 78f9042

Browse files
Sync code from main
2 parents 5a48530 + abbb3d2 commit 78f9042

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

src/admin/pages/AdminTemplatePage.tsx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,39 @@ const TEMPLATES = [
154154
</svg>
155155
),
156156
},
157+
{
158+
id: 'minecraft' as const,
159+
label: 'Minecraft',
160+
description: 'Pixelated, block-style, game-inspired',
161+
preview: (
162+
<svg viewBox="0 0 120 80" className="h-full w-full" aria-hidden="true">
163+
<rect width="120" height="80" fill="#87CEEB" />
164+
{/* Grass / ground */}
165+
<rect x="0" y="52" width="120" height="28" fill="#6B8E23" />
166+
<rect x="0" y="58" width="120" height="22" fill="#8B6914" />
167+
{/* Dirt blocks grid */}
168+
<rect x="0" y="58" width="15" height="10" fill="#7A5B1A" stroke="#6B4F16" strokeWidth="0.5" />
169+
<rect x="15" y="58" width="15" height="10" fill="#8B6914" stroke="#6B4F16" strokeWidth="0.5" />
170+
<rect x="30" y="58" width="15" height="10" fill="#7A5B1A" stroke="#6B4F16" strokeWidth="0.5" />
171+
<rect x="45" y="58" width="15" height="10" fill="#8B6914" stroke="#6B4F16" strokeWidth="0.5" />
172+
<rect x="60" y="58" width="15" height="10" fill="#7A5B1A" stroke="#6B4F16" strokeWidth="0.5" />
173+
<rect x="75" y="58" width="15" height="10" fill="#8B6914" stroke="#6B4F16" strokeWidth="0.5" />
174+
<rect x="90" y="58" width="15" height="10" fill="#7A5B1A" stroke="#6B4F16" strokeWidth="0.5" />
175+
<rect x="105" y="58" width="15" height="10" fill="#8B6914" stroke="#6B4F16" strokeWidth="0.5" />
176+
{/* Tree trunk */}
177+
<rect x="20" y="30" width="6" height="22" fill="#6B4F16" />
178+
{/* Tree leaves */}
179+
<rect x="12" y="16" width="22" height="18" rx="1" fill="#2E8B2E" />
180+
<rect x="16" y="12" width="14" height="8" rx="1" fill="#3CB043" />
181+
{/* Sun */}
182+
<rect x="90" y="8" width="14" height="14" fill="#FFD700" />
183+
{/* Text blocks */}
184+
<rect x="50" y="22" width="40" height="6" rx="1" fill="#ffffff" opacity="0.8" />
185+
<rect x="50" y="32" width="55" height="4" rx="1" fill="#ffffff" opacity="0.5" />
186+
<rect x="50" y="40" width="30" height="4" rx="1" fill="#ffffff" opacity="0.4" />
187+
</svg>
188+
),
189+
},
157190
]
158191

159192
export function AdminTemplatePage() {

0 commit comments

Comments
 (0)