-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate-subdomain-apps.sh
More file actions
executable file
·148 lines (143 loc) · 3.49 KB
/
Copy pathcreate-subdomain-apps.sh
File metadata and controls
executable file
·148 lines (143 loc) · 3.49 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
#!/bin/bash
# Create apps for all BlackRoad subdomains
SUBDOMAINS=(
"chat"
"pay"
"buy"
"math"
"agents"
"docs"
"console"
"status"
)
for subdomain in "${SUBDOMAINS[@]}"; do
echo "🔨 Creating app for $subdomain.blackroad.io..."
cat > "${subdomain}.html" << EOF
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BlackRoad ${subdomain^}</title>
<script src="https://js.stripe.com/v3/"></script>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
--gradient: linear-gradient(135deg, #FF9D00, #FF6B00, #FF0066, #D600AA, #7700FF, #0066FF);
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #02030a;
color: white;
min-height: 100vh;
}
.navbar {
background: rgba(0,0,0,0.5);
backdrop-filter: blur(20px);
padding: 16px 32px;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar h1 {
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 24px;
font-weight: 900;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 48px 32px;
}
.hero {
text-align: center;
padding: 80px 0;
}
.hero h2 {
font-size: 56px;
margin-bottom: 24px;
}
.hero p {
font-size: 20px;
opacity: 0.8;
margin-bottom: 48px;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 32px;
margin-top: 48px;
}
.feature-card {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 16px;
padding: 32px;
transition: transform 0.3s;
}
.feature-card:hover {
transform: translateY(-8px);
border-color: #7700FF;
}
.krak-banner {
margin-top: 48px;
padding: 32px;
background: rgba(255,255,255,0.05);
border-radius: 16px;
border: 1px solid rgba(255,255,255,0.1);
text-align: center;
}
.krak-banner h3 {
font-size: 24px;
margin-bottom: 16px;
}
.krak-banner a {
display: inline-block;
padding: 16px 32px;
background: var(--gradient);
color: white;
text-decoration: none;
border-radius: 12px;
font-weight: 700;
transition: transform 0.2s;
}
.krak-banner a:hover {
transform: scale(1.05);
}
</style>
</head>
<body>
<div class="navbar">
<h1>BlackRoad ${subdomain^}</h1>
</div>
<div class="container">
<div class="hero">
<h2>BlackRoad ${subdomain^}</h2>
<p>Powered by 35 AI Agents</p>
</div>
<div class="feature-grid">
<div class="feature-card">
<h3>🚀 AI-Powered</h3>
<p>Advanced AI capabilities integrated into every feature</p>
</div>
<div class="feature-card">
<h3>⚡ Real-Time</h3>
<p>Instant updates and live collaboration</p>
</div>
<div class="feature-card">
<h3>🔒 Secure</h3>
<p>Enterprise-grade security and encryption</p>
</div>
</div>
<div class="krak-banner">
<h3>BlackRoad OS — Pave Tomorrow.</h3>
<a href="https://blackroad.io" target="_blank">Learn More →</a>
</div>
</div>
</body>
</html>
EOF
echo " ✅ Created ${subdomain}.html"
done
echo ""
echo "✨ All subdomain apps created!"