monsefyoussef's picture
Can you create a web react native app ?
4717971 verified
Raw History Blame Contribute Delete
4.51 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>React Native Web Wizard</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<section class="text-center mb-12">
<h1 class="text-4xl font-bold text-indigo-700 mb-4">React Native Web Wizard</h1>
<p class="text-xl text-gray-600 max-w-2xl mx-auto">Build beautiful mobile apps that run everywhere with React Native for Web</p>
</section>
<section class="grid md:grid-cols-3 gap-8 mb-12">
<div class="bg-white p-6 rounded-xl shadow-lg hover:shadow-xl transition-shadow">
<i data-feather="smartphone" class="w-12 h-12 text-indigo-500 mb-4"></i>
<h2 class="text-xl font-semibold mb-2">Mobile First</h2>
<p class="text-gray-600">Build apps that look and feel native on iOS and Android.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-lg hover:shadow-xl transition-shadow">
<i data-feather="globe" class="w-12 h-12 text-indigo-500 mb-4"></i>
<h2 class="text-xl font-semibold mb-2">Web Ready</h2>
<p class="text-gray-600">Same codebase runs seamlessly in web browsers.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-lg hover:shadow-xl transition-shadow">
<i data-feather="zap" class="w-12 h-12 text-indigo-500 mb-4"></i>
<h2 class="text-xl font-semibold mb-2">High Performance</h2>
<p class="text-gray-600">Optimized for 60fps animations and smooth interactions.</p>
</div>
</section>
<section class="bg-indigo-50 p-8 rounded-xl mb-12">
<h2 class="text-2xl font-bold text-indigo-700 mb-4">Get Started</h2>
<div class="bg-white p-6 rounded-lg shadow-md">
<pre class="bg-gray-800 text-gray-100 p-4 rounded overflow-x-auto">
<code>
npx create-react-app my-app --template react-native-web
cd my-app
npm install react-native-web
</code>
</pre>
</div>
</section>
<section class="mb-12">
<h2 class="text-2xl font-bold text-indigo-700 mb-6 text-center">Featured Components</h2>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="bg-white p-4 rounded-lg shadow">
<div class="h-32 bg-indigo-100 rounded flex items-center justify-center mb-3">
<i data-feather="box" class="w-8 h-8 text-indigo-500"></i>
</div>
<h3 class="font-semibold">View</h3>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<div class="h-32 bg-indigo-100 rounded flex items-center justify-center mb-3">
<i data-feather="type" class="w-8 h-8 text-indigo-500"></i>
</div>
<h3 class="font-semibold">Text</h3>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<div class="h-32 bg-indigo-100 rounded flex items-center justify-center mb-3">
<i data-feather="image" class="w-8 h-8 text-indigo-500"></i>
</div>
<h3 class="font-semibold">Image</h3>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<div class="h-32 bg-indigo-100 rounded flex items-center justify-center mb-3">
<i data-feather="navigation" class="w-8 h-8 text-indigo-500"></i>
</div>
<h3 class="font-semibold">ScrollView</h3>
</div>
</div>
</section>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>