mirror of
https://github.com/stackblitz-labs/bolt.diy.git
synced 2025-06-18 01:49:07 +01:00
refactor(constants): remove duplicate tag and add 'app' tag
The 'mobile app' tag was duplicated in the STARTER_TEMPLATES array, so it was removed. Additionally, the 'app' tag was added to the React + Vite + typescript template to better categorize it.
This commit is contained in:
parent
3cafbb6f59
commit
516dc9dc28
@ -952,7 +952,7 @@ export const Preview = memo(() => {
|
|||||||
className="border-none w-full h-full bg-bolt-elements-background-depth-1"
|
className="border-none w-full h-full bg-bolt-elements-background-depth-1"
|
||||||
src={iframeUrl}
|
src={iframeUrl}
|
||||||
sandbox="allow-scripts allow-forms allow-popups allow-modals allow-storage-access-by-user-activation allow-same-origin"
|
sandbox="allow-scripts allow-forms allow-popups allow-modals allow-storage-access-by-user-activation allow-same-origin"
|
||||||
allow="cross-origin-isolated"
|
allow="geolocation; ch-ua-full-version-list; cross-origin-isolated; screen-wake-lock; publickey-credentials-get; shared-storage-select-url; ch-ua-arch; bluetooth; compute-pressure; ch-prefers-reduced-transparency; deferred-fetch; usb; ch-save-data; publickey-credentials-create; shared-storage; deferred-fetch-minimal; run-ad-auction; ch-ua-form-factors; ch-downlink; otp-credentials; payment; ch-ua; ch-ua-model; ch-ect; autoplay; camera; private-state-token-issuance; accelerometer; ch-ua-platform-version; idle-detection; private-aggregation; interest-cohort; ch-viewport-height; local-fonts; ch-ua-platform; midi; ch-ua-full-version; xr-spatial-tracking; clipboard-read; gamepad; display-capture; keyboard-map; join-ad-interest-group; ch-width; ch-prefers-reduced-motion; browsing-topics; encrypted-media; gyroscope; serial; ch-rtt; ch-ua-mobile; window-management; unload; ch-dpr; ch-prefers-color-scheme; ch-ua-wow64; attribution-reporting; fullscreen; identity-credentials-get; private-state-token-redemption; hid; ch-ua-bitness; storage-access; sync-xhr; ch-device-memory; ch-viewport-width; picture-in-picture; magnetometer; clipboard-write; microphone"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<ScreenshotSelector
|
<ScreenshotSelector
|
||||||
|
@ -30,7 +30,7 @@ export const STARTER_TEMPLATES: Template[] = [
|
|||||||
label: 'Expo App',
|
label: 'Expo App',
|
||||||
description: 'Expo starter template for building cross-platform mobile apps',
|
description: 'Expo starter template for building cross-platform mobile apps',
|
||||||
githubRepo: 'xKevIsDev/bolt-expo-template',
|
githubRepo: 'xKevIsDev/bolt-expo-template',
|
||||||
tags: ['mobile', 'expo', 'mobile-app', 'mobile app', 'android', 'iphone'],
|
tags: ['mobile', 'expo', 'mobile-app', 'android', 'iphone'],
|
||||||
icon: 'i-bolt:expo',
|
icon: 'i-bolt:expo',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -94,7 +94,7 @@ export const STARTER_TEMPLATES: Template[] = [
|
|||||||
label: 'React + Vite + typescript',
|
label: 'React + Vite + typescript',
|
||||||
description: 'React starter template powered by Vite for fast development experience',
|
description: 'React starter template powered by Vite for fast development experience',
|
||||||
githubRepo: 'xKevIsDev/bolt-vite-react-ts-template',
|
githubRepo: 'xKevIsDev/bolt-vite-react-ts-template',
|
||||||
tags: ['react', 'vite', 'frontend', 'website'],
|
tags: ['react', 'vite', 'frontend', 'website', 'app'],
|
||||||
icon: 'i-bolt:react',
|
icon: 'i-bolt:react',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user