primadona commited on
Commit
368df9b
·
verified ·
1 Parent(s): b0cfed6

can you create an react native app?

Browse files
Files changed (3) hide show
  1. README.md +9 -5
  2. index.html +102 -19
  3. react-native.html +90 -0
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Reactnativerocketboost
3
- emoji: 👀
4
- colorFrom: gray
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
  ---
2
+ title: ReactNativeRocketBoost 🚀
3
+ colorFrom: blue
4
+ colorTo: purple
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
index.html CHANGED
@@ -1,19 +1,102 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Reactify: Pixel Perfect Playground</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
10
+ <style>
11
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
12
+ :root {
13
+ --primary: #6366f1;
14
+ --secondary: #10b981;
15
+ }
16
+ body {
17
+ font-family: 'Inter', sans-serif;
18
+ background-color: #f8fafc;
19
+ }
20
+ .gradient-bg {
21
+ background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(16,185,129,0.1) 100%);
22
+ }
23
+ </style>
24
+ </head>
25
+ <body class="min-h-screen">
26
+ <div id="root" class="flex flex-col min-h-screen">
27
+ <!-- Navigation -->
28
+ <nav class="bg-white shadow-sm">
29
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
30
+ <div class="flex justify-between h-16">
31
+ <div class="flex items-center">
32
+ <i data-feather="code" class="text-indigo-500"></i>
33
+ <span class="ml-2 text-xl font-semibold text-gray-900">Reactify</span>
34
+ </div>
35
+ <div class="hidden md:flex items-center space-x-8">
36
+ <a href="index.html" class="text-indigo-600 font-medium">Home</a>
37
+ <a href="react-native.html" class="text-gray-500 hover:text-gray-700">React Native</a>
38
+ <a href="#" class="text-gray-500 hover:text-gray-700">Components</a>
39
+ <button class="bg-indigo-500 text-white px-4 py-2 rounded-md hover:bg-indigo-600 transition">
40
+ Get Started
41
+ </button>
42
+ </div>
43
+ <button class="md:hidden">
44
+ <i data-feather="menu"></i>
45
+ </button>
46
+ </div>
47
+ </div>
48
+ </nav>
49
+
50
+ <!-- Hero Section -->
51
+ <main class="flex-grow gradient-bg">
52
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 md:py-24">
53
+ <div class="text-center">
54
+ <h1 class="text-4xl md:text-6xl font-bold text-gray-900 mb-6">
55
+ Build <span class="text-indigo-600">React</span> Apps Faster
56
+ </h1>
57
+ <p class="text-xl text-gray-600 max-w-3xl mx-auto mb-8">
58
+ A production-ready React starter with TypeScript, Tailwind CSS, and all the modern tools you need.
59
+ </p>
60
+ <div class="flex justify-center space-x-4">
61
+ <button class="bg-indigo-600 text-white px-6 py-3 rounded-lg hover:bg-indigo-700 transition shadow-md">
62
+ Explore Components
63
+ </button>
64
+ <button class="bg-emerald-500 text-white px-6 py-3 rounded-lg hover:bg-emerald-600 transition shadow-md">
65
+ View Documentation
66
+ </button>
67
+ </div>
68
+ </div>
69
+
70
+ <!-- Sample Component -->
71
+ <div class="mt-16 max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden p-6">
72
+ <div class="flex items-center mb-4">
73
+ <div class="h-3 w-3 rounded-full bg-red-500 mr-2"></div>
74
+ <div class="h-3 w-3 rounded-full bg-yellow-500 mr-2"></div>
75
+ <div class="h-3 w-3 rounded-full bg-green-500"></div>
76
+ </div>
77
+ <div class="space-y-4">
78
+ <div class="flex items-center">
79
+ <span class="text-gray-400 mr-4">1</span>
80
+ <span class="text-purple-700">import</span> <span class="text-gray-900">React</span> <span class="text-purple-700">from</span> <span class="text-green-600">'react'</span>;
81
+ </div>
82
+ <div class="flex items-center">
83
+ <span class="text-gray-400 mr-4">2</span>
84
+ <span class="text-purple-700">import</span> <span class="text-gray-900">{ Button }</span> <span class="text-purple-700">from</span> <span class="text-green-600">'./components'</span>;
85
+ </div>
86
+ <div class="flex items-center">
87
+ <span class="text-gray-400 mr-4">3</span>
88
+ <span class="text-gray-500">// Your beautiful component</span>
89
+ </div>
90
+ <div class="flex items-center">
91
+ <span class="text-gray-400 mr-4">4</span>
92
+ <span class="text-purple-700">const</span> <span class="text-blue-500">App</span> <span class="text-purple-700">=</span> () <span class="text-purple-700">=></span> <span class="text-gray-900">{</span>
93
+ </div>
94
+ <div class="flex items-center">
95
+ <span class="text-gray-400 mr-4">5</span>
96
+ <span class="text-gray-900 ml-4">return</span> <span class="text-gray-900">(</span>
97
+ </div>
98
+ <div class="flex items-center">
99
+ <span class="text-gray-400 mr-4">6</span>
100
+ <span class="text-gray-900
101
+ </body>
102
+ </html>
react-native.html ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>React Native | Reactify</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
10
+ <style>
11
+ .mobile-frame {
12
+ background-image: url('http://static.photos/technology/640x360/42');
13
+ background-size: cover;
14
+ height: 600px;
15
+ width: 300px;
16
+ border-radius: 40px;
17
+ position: relative;
18
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
19
+ }
20
+ .notch {
21
+ width: 150px;
22
+ height: 25px;
23
+ background: black;
24
+ border-radius: 0 0 20px 20px;
25
+ position: absolute;
26
+ top: 0;
27
+ left: 75px;
28
+ }
29
+ </style>
30
+ </head>
31
+ <body class="bg-gray-50">
32
+ <nav class="bg-white shadow-sm">
33
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
34
+ <div class="flex justify-between h-16">
35
+ <div class="flex items-center">
36
+ <i data-feather="code" class="text-indigo-500"></i>
37
+ <span class="ml-2 text-xl font-semibold text-gray-900">Reactify</span>
38
+ </div>
39
+ <div class="flex items-center space-x-8">
40
+ <a href="index.html" class="text-gray-500 hover:text-gray-700">Home</a>
41
+ <a href="react-native.html" class="text-indigo-600 font-medium">React Native</a>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ </nav>
46
+
47
+ <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
48
+ <div class="flex flex-col md:flex-row items-center gap-12">
49
+ <div class="flex-1">
50
+ <h1 class="text-4xl font-bold text-gray-900 mb-6">
51
+ Build <span class="text-indigo-600">Mobile Apps</span> with React Native
52
+ </h1>
53
+ <p class="text-lg text-gray-600 mb-8">
54
+ Create beautiful, native-quality iOS and Android apps using familiar React concepts.
55
+ All components are truly native and give you the best possible experience.
56
+ </p>
57
+ <div class="space-y-4">
58
+ <div class="flex items-center">
59
+ <i data-feather="check-circle" class="text-green-500 mr-2"></i>
60
+ <span>Write once, run on both iOS and Android</span>
61
+ </div>
62
+ <div class="flex items-center">
63
+ <i data-feather="check-circle" class="text-green-500 mr-2"></i>
64
+ <span>Native performance with JavaScript</span>
65
+ </div>
66
+ <div class="flex items-center">
67
+ <i data-feather="check-circle" class="text-green-500 mr-2"></i>
68
+ <span>Hot reloading for faster development</span>
69
+ </div>
70
+ </div>
71
+ <button class="mt-8 bg-indigo-600 text-white px-6 py-3 rounded-lg hover:bg-indigo-700 transition shadow-md">
72
+ Get Started with React Native
73
+ </button>
74
+ </div>
75
+ <div class="flex-1 flex justify-center">
76
+ <div class="mobile-frame">
77
+ <div class="notch"></div>
78
+ <div class="absolute bottom-4 left-0 right-0 flex justify-center">
79
+ <div class="w-24 h-1 bg-gray-300 rounded-full"></div>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </main>
85
+
86
+ <script>
87
+ feather.replace();
88
+ </script>
89
+ </body>
90
+ </html>