-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
102 lines (91 loc) · 3.73 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ReactStream - Modern React Development Toolkit</title>
<link href="css/style.css" rel="stylesheet" />
</head>
<body>
<div class="hero">
<div class="feature-grid">
<div>
<h1>ReactStream</h1>
<h2>Fast React Development Toolkit to seamlessly create and analyze components in seconds</h2>
<div class="command-label"># Install ReactStream</div>
<div class="code-example">
<pre>npm install -g reactstream</pre>
<button class="copy-button" onclick="copyCode(this, 'npm install -g reactstream')">Copy</button>
</div>
<div class="command-label" style="margin-top: 1.5rem"># Start developing</div>
<div class="code-example">
<pre>reactstream MyComponent.js</pre>
<button class="copy-button" onclick="copyCode(this, 'reactstream MyComponent.js')">Copy</button>
</div>
<div class="command-label" style="margin-top: 1.5rem"># Analyze your component</div>
<div class="code-example">
<pre>reactstream-analyze MyComponent.js --debug</pre>
<button class="copy-button" onclick="copyCode(this, 'reactstream-analyze MyComponent.js --debug')">
Copy
</button>
</div>
<p style="margin: 2rem 0;">
<a href="#documentation" class="button">Read Documentation</a>
</p>
</div>
<div class="logo-container">
<img src="img/logo-reactstream2.svg" alt="ReactStream Logo"/>
</div>
</div>
</div>
<script>
function copyCode(button, text) {
navigator.clipboard.writeText(text).then(() => {
button.textContent = 'Copied!';
button.classList.add('copied');
setTimeout(() => {
button.textContent = 'Copy';
button.classList.remove('copied');
}, 2000);
}).catch(err => {
console.error('Failed to copy:', err);
button.textContent = 'Failed!';
setTimeout(() => {
button.textContent = 'Copy';
}, 2000);
});
}
</script>
<div class="features">
<div class="feature-grid">
<div class="feature-card">
<h2>🚀 Rapid Development</h2>
<p>Hot Module Replacement, instant preview, and built-in component library for faster development.</p>
</div>
<div class="feature-card">
<h2>🔍 Smart Analysis</h2>
<p>Real-time code analysis, performance optimization, and best practices enforcement.</p>
</div>
<div class="feature-card">
<h2>🛠️ Debug Tools</h2>
<p>Advanced debugging capabilities, state tracking, and component comparison tools.</p>
</div>
<div class="feature-card">
<h2>♿ Accessibility First</h2>
<p>Built-in accessibility checks and recommendations for better web applications.</p>
</div>
<div class="feature-card">
<h2>📊 Performance Insights</h2>
<p>Detailed performance metrics and optimization suggestions.</p>
</div>
<div class="feature-card">
<h2>🔄 Easy Integration</h2>
<p>Seamless integration with existing React projects and workflows.</p>
</div>
</div>
</div>
<footer>
<p>ReactStream - Developed by <a href="http://softreck.com">Softreck</a> with ❤️ for the React Community</p>
</footer>
</body>
</html>