Replace React Native icon with react for now

This commit is contained in:
Vincent (Wen Yu) Ge
2024-04-08 10:27:51 -04:00
parent 39f47ad8e3
commit 7d2e819299
4 changed files with 4 additions and 3 deletions

View File

@@ -74,7 +74,7 @@
quickStarts: [
{
title: 'React Native',
icon: 'icon-react-native',
icon: 'icon-react',
image: '/images/blog/placeholder.png',
href: 'react-native'
},

View File

@@ -12,6 +12,7 @@
type MappedTutorial = (typeof data.tutorials)[number];
const iconMap: Record<string, string> = {
'react native': 'icon-react',
react: 'icon-react',
vue: 'web-icon-vue',
angular: 'icon-angular',

View File

@@ -2,5 +2,5 @@ import { redirect } from '@sveltejs/kit';
import type { PageLoad } from './$types';
export const load: PageLoad = async () => {
redirect(303, '/docs/tutorials/react/step-1');
redirect(303, '/docs/tutorials/react-native/step-1');
};