askrobots / dbbasic-web-native
Public
100+ copy-paste UI components in plain HTML and CSS: no dependencies, no build step.
danq9
Add canonical.html v1.0 - The single source of truth for usability standards
fb6e650
1 year ago
History
demo-saas-landing.html · 15.9 KB · 449 lines
| 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>SaaS Landing Page - Built with Semantic Components</title> |
| 7 | <script src="semantic-components.js"></script> |
| 8 | <style> |
| 9 | * { |
| 10 | margin: 0; |
| 11 | padding: 0; |
| 12 | box-sizing: border-box; |
| 13 | } |
| 14 | |
| 15 | /* Allow semantic-container to use auto margins for centering */ |
| 16 | semantic-container { |
| 17 | margin-left: auto !important; |
| 18 | margin-right: auto !important; |
| 19 | } |
| 20 | |
| 21 | body { |
| 22 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; |
| 23 | line-height: 1.6; |
| 24 | color: #333; |
| 25 | } |
| 26 | |
| 27 | /* Header */ |
| 28 | .header { |
| 29 | background: white; |
| 30 | border-bottom: 1px solid #e0e0e0; |
| 31 | position: sticky; |
| 32 | top: 0; |
| 33 | z-index: 100; |
| 34 | backdrop-filter: blur(10px); |
| 35 | background: rgba(255, 255, 255, 0.95); |
| 36 | padding: 16px 0; |
| 37 | } |
| 38 | |
| 39 | .logo { |
| 40 | font-size: 24px; |
| 41 | font-weight: 700; |
| 42 | color: #2196f3; |
| 43 | } |
| 44 | |
| 45 | /* Hero Section */ |
| 46 | .hero { |
| 47 | background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| 48 | color: white; |
| 49 | padding: 100px 0; |
| 50 | text-align: center; |
| 51 | } |
| 52 | |
| 53 | .hero h1 { |
| 54 | font-size: 56px; |
| 55 | font-weight: 800; |
| 56 | margin-bottom: 24px; |
| 57 | line-height: 1.2; |
| 58 | } |
| 59 | |
| 60 | .hero p { |
| 61 | font-size: 20px; |
| 62 | opacity: 0.95; |
| 63 | max-width: 600px; |
| 64 | margin: 0 auto 40px; |
| 65 | } |
| 66 | |
| 67 | /* Features Section */ |
| 68 | .features { |
| 69 | padding: 80px 0; |
| 70 | background: #f8f9fa; |
| 71 | } |
| 72 | |
| 73 | .section-title { |
| 74 | text-align: center; |
| 75 | font-size: 40px; |
| 76 | font-weight: 800; |
| 77 | margin-bottom: 48px; |
| 78 | } |
| 79 | |
| 80 | .feature-icon { |
| 81 | font-size: 48px; |
| 82 | margin-bottom: 16px; |
| 83 | } |
| 84 | |
| 85 | /* Pricing Section */ |
| 86 | .pricing { |
| 87 | padding: 80px 0; |
| 88 | } |
| 89 | |
| 90 | .pricing-header { |
| 91 | text-align: center; |
| 92 | margin-bottom: 48px; |
| 93 | } |
| 94 | |
| 95 | .price { |
| 96 | font-size: 48px; |
| 97 | font-weight: 800; |
| 98 | margin: 16px 0; |
| 99 | } |
| 100 | |
| 101 | .price-period { |
| 102 | color: #666; |
| 103 | font-size: 16px; |
| 104 | } |
| 105 | |
| 106 | .feature-list { |
| 107 | list-style: none; |
| 108 | padding: 0; |
| 109 | } |
| 110 | |
| 111 | .feature-list li { |
| 112 | padding: 8px 0; |
| 113 | display: flex; |
| 114 | align-items: center; |
| 115 | gap: 8px; |
| 116 | } |
| 117 | |
| 118 | .feature-list li::before { |
| 119 | content: "✓"; |
| 120 | color: #4caf50; |
| 121 | font-weight: bold; |
| 122 | } |
| 123 | |
| 124 | /* CTA Section */ |
| 125 | .cta { |
| 126 | background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| 127 | color: white; |
| 128 | padding: 80px 0; |
| 129 | text-align: center; |
| 130 | } |
| 131 | |
| 132 | .cta h2 { |
| 133 | font-size: 40px; |
| 134 | margin-bottom: 16px; |
| 135 | } |
| 136 | |
| 137 | .cta p { |
| 138 | font-size: 18px; |
| 139 | opacity: 0.95; |
| 140 | margin-bottom: 32px; |
| 141 | } |
| 142 | |
| 143 | /* Footer */ |
| 144 | .footer { |
| 145 | background: #263238; |
| 146 | color: #b0bec5; |
| 147 | padding: 60px 0 32px; |
| 148 | } |
| 149 | |
| 150 | .footer h4 { |
| 151 | color: white; |
| 152 | margin-bottom: 16px; |
| 153 | font-size: 16px; |
| 154 | } |
| 155 | |
| 156 | .footer a { |
| 157 | color: #b0bec5; |
| 158 | text-decoration: none; |
| 159 | display: block; |
| 160 | padding: 6px 0; |
| 161 | transition: color 0.2s; |
| 162 | } |
| 163 | |
| 164 | .footer a:hover { |
| 165 | color: white; |
| 166 | } |
| 167 | |
| 168 | .footer-bottom { |
| 169 | text-align: center; |
| 170 | padding-top: 32px; |
| 171 | margin-top: 40px; |
| 172 | border-top: 1px solid #37474f; |
| 173 | color: #78909c; |
| 174 | } |
| 175 | |
| 176 | /* Testimonial */ |
| 177 | .testimonial { |
| 178 | background: white; |
| 179 | padding: 80px 0; |
| 180 | } |
| 181 | |
| 182 | .testimonial-card { |
| 183 | padding: 32px; |
| 184 | background: #f8f9fa; |
| 185 | border-radius: 12px; |
| 186 | border-left: 4px solid #2196f3; |
| 187 | } |
| 188 | |
| 189 | .testimonial-text { |
| 190 | font-size: 18px; |
| 191 | font-style: italic; |
| 192 | margin-bottom: 16px; |
| 193 | line-height: 1.7; |
| 194 | } |
| 195 | |
| 196 | .testimonial-author { |
| 197 | font-weight: 600; |
| 198 | color: #2196f3; |
| 199 | } |
| 200 | |
| 201 | /* Ensure cards take full width in grid */ |
| 202 | semantic-card { |
| 203 | width: 100%; |
| 204 | } |
| 205 | |
| 206 | /* Center badge container by making it auto-width */ |
| 207 | semantic-stack.badge-wrapper { |
| 208 | display: inline-flex !important; |
| 209 | width: auto !important; |
| 210 | } |
| 211 | </style> |
| 212 | </head> |
| 213 | <body> |
| 214 | <!-- Header with clean semantic layout --> |
| 215 | <div class="header"> |
| 216 | <semantic-container size="xlarge" padding> |
| 217 | <semantic-stack direction="horizontal" justify="between" align="center"> |
| 218 | <semantic-stack direction="horizontal" spacing="6" align="center"> |
| 219 | <div class="logo">ProductName</div> |
| 220 | <a href="#features" style="color: #666; text-decoration: none;">Features</a> |
| 221 | <a href="#pricing" style="color: #666; text-decoration: none;">Pricing</a> |
| 222 | <a href="#testimonials" style="color: #666; text-decoration: none;">Testimonials</a> |
| 223 | </semantic-stack> |
| 224 | <semantic-action intent="primary">Sign Up Free</semantic-action> |
| 225 | </semantic-stack> |
| 226 | </semantic-container> |
| 227 | </div> |
| 228 | |
| 229 | <!-- Hero Section --> |
| 230 | <section class="hero"> |
| 231 | <semantic-container size="large"> |
| 232 | <semantic-stack spacing="6" align="center"> |
| 233 | <div> |
| 234 | <h1>Ship Faster with<br>Better Components</h1> |
| 235 | <p>Build modern web applications with semantic, accessible components that work everywhere. No framework required.</p> |
| 236 | </div> |
| 237 | <semantic-stack direction="horizontal" spacing="3" justify="center" wrap> |
| 238 | <semantic-action intent="primary" size="large">Get Started Free</semantic-action> |
| 239 | <semantic-action intent="neutral" size="large" variant="outline" style="--action-text: white; --action-border: white;">View Demo</semantic-action> |
| 240 | </semantic-stack> |
| 241 | <div style="text-align: center;"> |
| 242 | <semantic-stack direction="horizontal" spacing="4" align="center" class="badge-wrapper"> |
| 243 | <semantic-badge intent="success">No credit card required</semantic-badge> |
| 244 | <semantic-badge intent="neutral" variant="outline" style="--badge-text: white; --badge-border: white;">14-day trial</semantic-badge> |
| 245 | </semantic-stack> |
| 246 | </div> |
| 247 | </semantic-stack> |
| 248 | </semantic-container> |
| 249 | </section> |
| 250 | |
| 251 | <!-- Features Section --> |
| 252 | <section class="features" id="features"> |
| 253 | <semantic-container size="xlarge"> |
| 254 | <h2 class="section-title">Everything You Need</h2> |
| 255 | <semantic-grid cols="3" gap="8"> |
| 256 | <semantic-card> |
| 257 | <semantic-stack spacing="3"> |
| 258 | <div class="feature-icon">⚡</div> |
| 259 | <h3>Lightning Fast</h3> |
| 260 | <p>Native Web Components load instantly. No framework overhead, no bundle bloat.</p> |
| 261 | </semantic-stack> |
| 262 | </semantic-card> |
| 263 | |
| 264 | <semantic-card> |
| 265 | <semantic-stack spacing="3"> |
| 266 | <div class="feature-icon">♿</div> |
| 267 | <h3>Accessible by Default</h3> |
| 268 | <p>WCAG AAA compliant components with keyboard navigation, screen reader support built-in.</p> |
| 269 | </semantic-stack> |
| 270 | </semantic-card> |
| 271 | |
| 272 | <semantic-card> |
| 273 | <semantic-stack spacing="3"> |
| 274 | <div class="feature-icon">📱</div> |
| 275 | <h3>Mobile First</h3> |
| 276 | <p>44px touch targets, responsive layouts, and gesture support out of the box.</p> |
| 277 | </semantic-stack> |
| 278 | </semantic-card> |
| 279 | |
| 280 | <semantic-card> |
| 281 | <semantic-stack spacing="3"> |
| 282 | <div class="feature-icon">🎨</div> |
| 283 | <h3>Easily Customizable</h3> |
| 284 | <p>CSS custom properties make theming simple. Your brand, your style.</p> |
| 285 | </semantic-stack> |
| 286 | </semantic-card> |
| 287 | |
| 288 | <semantic-card> |
| 289 | <semantic-stack spacing="3"> |
| 290 | <div class="feature-icon">🔒</div> |
| 291 | <h3>Shadow DOM</h3> |
| 292 | <p>True encapsulation means no CSS conflicts, ever. Style isolation built-in.</p> |
| 293 | </semantic-stack> |
| 294 | </semantic-card> |
| 295 | |
| 296 | <semantic-card> |
| 297 | <semantic-stack spacing="3"> |
| 298 | <div class="feature-icon">🌐</div> |
| 299 | <h3>Universal</h3> |
| 300 | <p>Works with React, Vue, Angular, or vanilla JS. Framework-agnostic by design.</p> |
| 301 | </semantic-stack> |
| 302 | </semantic-card> |
| 303 | </semantic-grid> |
| 304 | </semantic-container> |
| 305 | </section> |
| 306 | |
| 307 | <!-- Testimonials --> |
| 308 | <section class="testimonial" id="testimonials"> |
| 309 | <semantic-container size="large"> |
| 310 | <h2 class="section-title">What Developers Say</h2> |
| 311 | <semantic-grid cols="3" gap="6"> |
| 312 | <div class="testimonial-card"> |
| 313 | <p class="testimonial-text">"Finally, components that just work. No build step, no config, no headaches. Just drop them in and ship."</p> |
| 314 | <p class="testimonial-author">Sarah Chen, Frontend Lead</p> |
| 315 | </div> |
| 316 | <div class="testimonial-card"> |
| 317 | <p class="testimonial-text">"The accessibility features saved us months of work. Our customers love the keyboard navigation."</p> |
| 318 | <p class="testimonial-author">Marcus Johnson, CTO</p> |
| 319 | </div> |
| 320 | <div class="testimonial-card"> |
| 321 | <p class="testimonial-text">"We migrated from Bootstrap in a weekend. The semantic approach makes so much more sense."</p> |
| 322 | <p class="testimonial-author">Emma Rodriguez, Dev Manager</p> |
| 323 | </div> |
| 324 | </semantic-grid> |
| 325 | </semantic-container> |
| 326 | </section> |
| 327 | |
| 328 | <!-- Pricing Section --> |
| 329 | <section class="pricing" id="pricing"> |
| 330 | <semantic-container size="large"> |
| 331 | <div class="pricing-header"> |
| 332 | <h2 class="section-title">Simple, Transparent Pricing</h2> |
| 333 | <p style="font-size: 18px; color: #666;">Start free, upgrade when you need more</p> |
| 334 | </div> |
| 335 | <semantic-grid cols="3" gap="6"> |
| 336 | <semantic-card> |
| 337 | <semantic-stack spacing="4"> |
| 338 | <div> |
| 339 | <h3>Starter</h3> |
| 340 | <div class="price">$0</div> |
| 341 | <div class="price-period">forever free</div> |
| 342 | </div> |
| 343 | <ul class="feature-list"> |
| 344 | <li>All components</li> |
| 345 | <li>Community support</li> |
| 346 | <li>MIT license</li> |
| 347 | <li>Updates</li> |
| 348 | </ul> |
| 349 | <semantic-action intent="neutral" style="width: 100%;">Get Started</semantic-action> |
| 350 | </semantic-stack> |
| 351 | </semantic-card> |
| 352 | |
| 353 | <semantic-card style="border: 2px solid #2196f3;"> |
| 354 | <semantic-stack spacing="4"> |
| 355 | <div> |
| 356 | <semantic-badge intent="primary">Most Popular</semantic-badge> |
| 357 | <h3 style="margin-top: 8px;">Pro</h3> |
| 358 | <div class="price">$49</div> |
| 359 | <div class="price-period">per month</div> |
| 360 | </div> |
| 361 | <ul class="feature-list"> |
| 362 | <li>Everything in Starter</li> |
| 363 | <li>Priority support</li> |
| 364 | <li>Advanced components</li> |
| 365 | <li>Figma design system</li> |
| 366 | <li>Custom themes</li> |
| 367 | </ul> |
| 368 | <semantic-action intent="primary" style="width: 100%;">Start Free Trial</semantic-action> |
| 369 | </semantic-stack> |
| 370 | </semantic-card> |
| 371 | |
| 372 | <semantic-card> |
| 373 | <semantic-stack spacing="4"> |
| 374 | <div> |
| 375 | <h3>Enterprise</h3> |
| 376 | <div class="price">Custom</div> |
| 377 | <div class="price-period">tailored for teams</div> |
| 378 | </div> |
| 379 | <ul class="feature-list"> |
| 380 | <li>Everything in Pro</li> |
| 381 | <li>Dedicated support</li> |
| 382 | <li>Custom components</li> |
| 383 | <li>SLA guarantee</li> |
| 384 | <li>Training sessions</li> |
| 385 | </ul> |
| 386 | <semantic-action intent="neutral" style="width: 100%;">Contact Sales</semantic-action> |
| 387 | </semantic-stack> |
| 388 | </semantic-card> |
| 389 | </semantic-grid> |
| 390 | </semantic-container> |
| 391 | </section> |
| 392 | |
| 393 | <!-- CTA Section --> |
| 394 | <section class="cta"> |
| 395 | <semantic-container size="medium"> |
| 396 | <semantic-stack spacing="4" align="center"> |
| 397 | <h2>Ready to Build Better?</h2> |
| 398 | <p>Join thousands of developers building accessible, fast, and beautiful web applications.</p> |
| 399 | <semantic-stack direction="horizontal" spacing="3" justify="center" wrap> |
| 400 | <semantic-action intent="primary" size="large">Get Started Free</semantic-action> |
| 401 | <semantic-action intent="neutral" size="large" variant="outline" style="--action-text: white; --action-border: white;">Schedule Demo</semantic-action> |
| 402 | </semantic-stack> |
| 403 | </semantic-stack> |
| 404 | </semantic-container> |
| 405 | </section> |
| 406 | |
| 407 | <!-- Footer --> |
| 408 | <footer class="footer"> |
| 409 | <semantic-container size="xlarge"> |
| 410 | <semantic-stack spacing="8"> |
| 411 | <semantic-grid cols="4" gap="8"> |
| 412 | <div> |
| 413 | <h4>Product</h4> |
| 414 | <a href="#">Features</a> |
| 415 | <a href="#">Pricing</a> |
| 416 | <a href="#">Documentation</a> |
| 417 | <a href="#">Changelog</a> |
| 418 | </div> |
| 419 | <div> |
| 420 | <h4>Company</h4> |
| 421 | <a href="#">About</a> |
| 422 | <a href="#">Blog</a> |
| 423 | <a href="#">Careers</a> |
| 424 | <a href="#">Contact</a> |
| 425 | </div> |
| 426 | <div> |
| 427 | <h4>Resources</h4> |
| 428 | <a href="#">Tutorials</a> |
| 429 | <a href="#">Community</a> |
| 430 | <a href="#">Support</a> |
| 431 | <a href="#">Status</a> |
| 432 | </div> |
| 433 | <div> |
| 434 | <h4>Legal</h4> |
| 435 | <a href="#">Privacy</a> |
| 436 | <a href="#">Terms</a> |
| 437 | <a href="#">Security</a> |
| 438 | <a href="#">License</a> |
| 439 | </div> |
| 440 | </semantic-grid> |
| 441 | |
| 442 | <div class="footer-bottom"> |
| 443 | © 2025 ProductName. Built with Semantic Components. All rights reserved. |
| 444 | </div> |
| 445 | </semantic-stack> |
| 446 | </semantic-container> |
| 447 | </footer> |
| 448 | </body> |
| 449 | </html> |