|
1 | 1 | <!doctype html> |
| 2 | +<html lang="en" data-theme="light"> |
2 | 3 |
|
3 | | -<html lang="en"> |
| 4 | +<head> |
| 5 | + <meta charset="utf-8"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | + <title>Stylescape w/ Parcel</title> |
| 8 | +</head> |
4 | 9 |
|
5 | | - <head> |
6 | | - <meta charset="utf-8"> |
7 | | - <meta name="viewport" content="width=device-width, initial-scale=1"> |
8 | | - <link rel="stylesheet" href="scss/main.scss"> |
9 | | - <script type="module" src="js/main.js"></script> |
10 | | - <title>Stylescape w/ Webpack</title> |
11 | | - </head> |
| 10 | +<body> |
| 11 | + <div class="frame_main"> |
12 | 12 |
|
13 | | - <body> |
14 | | - <div class=""> |
15 | | - <header class=""> |
16 | | - <h1 class="">Stylescape</h1> |
17 | | - <a href="https://github.com/stylescape/example-webpack/" target="_blank" rel="noopener">View on GitHub</a> |
| 13 | + <!-- Top Area - Header Ribbon --> |
| 14 | + <div class="frame_main__area--top"> |
| 15 | + <header class="ribbon--top"> |
| 16 | + <div class="ribbon__slot--horizontal_left"> |
| 17 | + <a href="https://github.com/stylescape/example-parcel/" target="_blank" rel="noopener">GitHub</a> |
| 18 | + </div> |
| 19 | + <div class="ribbon__slot--horizontal_center"> |
| 20 | + <h1 class="ribbon__title">Stylescape + Parcel</h1> |
| 21 | + </div> |
| 22 | + <div class="ribbon__slot--horizontal_right"> |
| 23 | + <label> |
| 24 | + <input type="checkbox" data-ss="theme-toggle"> |
| 25 | + Dark Mode |
| 26 | + </label> |
| 27 | + </div> |
18 | 28 | </header> |
| 29 | + </div> |
19 | 30 |
|
20 | | - <h1>Build Stylescape with Webpack</h1> |
| 31 | + <!-- Left Sidebar --> |
| 32 | + <div class="frame_main__area--middle_left"> |
| 33 | + <aside class="sidebar--left" data-ss="aside" data-ss-aside-menu data-ss-aside-switch> |
| 34 | + <button class="flipper--left" type="button">Toggle Left</button> |
| 35 | + <nav> |
| 36 | + <ul> |
| 37 | + <li><a href="#introduction">Introduction</a></li> |
| 38 | + <li><a href="#features">Features</a></li> |
| 39 | + <li><a href="#accordion">Accordion</a></li> |
| 40 | + </ul> |
| 41 | + </nav> |
| 42 | + </aside> |
| 43 | + </div> |
21 | 44 |
|
22 | | - <div class=""> |
23 | | - <p class="">You've successfully loaded the Stylescape + Webpack example! It's loaded up with <a href="https://scape.style/">Stylescape</a> and uses Webpack to compile and bundle our Sass and JavaScript.</p> |
24 | | - <p>If this button appears blue and the link appears purple, you've done it!</p> |
25 | | - </div> |
| 45 | + <!-- Main Content Area --> |
| 46 | + <div class="frame_main__area--middle_center"> |
| 47 | + <main> |
| 48 | + <section id="introduction"> |
| 49 | + <h2>Build Stylescape with Parcel</h2> |
| 50 | + <p> |
| 51 | + You've successfully loaded the Stylescape + Parcel example! |
| 52 | + This project demonstrates how to integrate <a href="https://scape.style/">Stylescape</a> |
| 53 | + with Parcel bundler to compile and bundle Sass and JavaScript. |
| 54 | + </p> |
| 55 | + </section> |
26 | 56 |
|
27 | | - <button type="button" class="">Toggle offcanvas</button> |
28 | | - <a id="" class="" href="#" role="button" title="Custom popover">Example popover</a> |
| 57 | + <section id="features"> |
| 58 | + <h2>Features</h2> |
| 59 | + <ul> |
| 60 | + <li>Parcel bundler with zero configuration</li> |
| 61 | + <li>Sass compilation via @parcel/transformer-sass</li> |
| 62 | + <li>Stylescape components and utilities</li> |
| 63 | + <li>Hot module replacement for development</li> |
| 64 | + </ul> |
| 65 | + </section> |
29 | 66 |
|
30 | | - <div class="" tabindex="-1" id="" aria-labelledby=""> |
31 | | - <div class=""> |
32 | | - <h5 class="" id="">Offcanvas</h5> |
33 | | - <button type="button" class="" aria-label="Close"></button> |
34 | | - </div> |
35 | | - <div class=""> |
36 | | - <div> |
37 | | - Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc. |
38 | | - </div> |
39 | | - <div class=""> |
40 | | - <button class="" type="button" id=""> |
41 | | - Dropdown button |
42 | | - </button> |
43 | | - <ul class="" aria-labelledby=""> |
44 | | - <li><a class="" href="#">Action</a></li> |
45 | | - <li><a class="" href="#">Another action</a></li> |
46 | | - <li><a class="" href="#">Something else here</a></li> |
47 | | - </ul> |
| 67 | + <section id="accordion"> |
| 68 | + <h2>Accordion Example</h2> |
| 69 | + <div data-ss="accordion"> |
| 70 | + <details> |
| 71 | + <summary>What is Stylescape?</summary> |
| 72 | + <p> |
| 73 | + Stylescape is a modern CSS framework that provides a comprehensive |
| 74 | + set of components, utilities, and design tokens for building |
| 75 | + beautiful web interfaces. |
| 76 | + </p> |
| 77 | + </details> |
| 78 | + <details> |
| 79 | + <summary>Why use Parcel?</summary> |
| 80 | + <p> |
| 81 | + Parcel is a zero-configuration web application bundler that |
| 82 | + automatically handles Sass compilation, JavaScript bundling, |
| 83 | + and asset optimization out of the box. |
| 84 | + </p> |
| 85 | + </details> |
| 86 | + <details> |
| 87 | + <summary>How to get started?</summary> |
| 88 | + <p> |
| 89 | + Simply run <code>npm install</code> to install dependencies, |
| 90 | + then <code>npm start</code> to launch the development server |
| 91 | + with hot reloading. |
| 92 | + </p> |
| 93 | + </details> |
48 | 94 | </div> |
49 | | - </div> |
50 | | - </div> |
| 95 | + </section> |
51 | 96 |
|
52 | | - <hr class=""> |
| 97 | + <hr> |
53 | 98 |
|
54 | | - <h2>Graphic Languages</h2> |
55 | | - <p>Read more detailed information.</p> |
56 | | - <ul class=""> |
57 | | - <li><a href="https://unit.gl/">unit.gl</a></li> |
58 | | - <li><a href="https://icon.gl/">icon.gl</a></li> |
59 | | - <li><a href="https://hue.gl/">hue.gl</a></li> |
60 | | - <li><a href="https://font.gl/">font.gl</a></li> |
61 | | - <li><a href="https://page.gl/">page.gl</a></li> |
62 | | - <li><a href="https://pack.gl/">pack.gl</a></li> |
63 | | - <li><a href="https://move.gl/">move.gl</a></li> |
64 | | - </ul> |
| 99 | + <section> |
| 100 | + <h2>Graphic Languages</h2> |
| 101 | + <p>Explore the Stylescape ecosystem:</p> |
| 102 | + <ul> |
| 103 | + <li><a href="https://unit.gl/">unit.gl</a></li> |
| 104 | + <li><a href="https://icon.gl/">icon.gl</a></li> |
| 105 | + <li><a href="https://hue.gl/">hue.gl</a></li> |
| 106 | + <li><a href="https://font.gl/">font.gl</a></li> |
| 107 | + <li><a href="https://page.gl/">page.gl</a></li> |
| 108 | + <li><a href="https://pack.gl/">pack.gl</a></li> |
| 109 | + <li><a href="https://move.gl/">move.gl</a></li> |
| 110 | + </ul> |
| 111 | + </section> |
| 112 | + </main> |
| 113 | + </div> |
65 | 114 |
|
66 | | - <hr class=""> |
| 115 | + <!-- Right Sidebar --> |
| 116 | + <div class="frame_main__area--middle_right"> |
| 117 | + <aside class="sidebar--right" data-ss="aside" data-ss-aside-menu data-ss-aside-switch> |
| 118 | + <button class="flipper--right" type="button">Toggle Right</button> |
| 119 | + <div> |
| 120 | + <h3>Resources</h3> |
| 121 | + <ul> |
| 122 | + <li><a href="https://scape.style/">Documentation</a></li> |
| 123 | + <li><a href="https://github.com/stylescape/">GitHub</a></li> |
| 124 | + </ul> |
| 125 | + </div> |
| 126 | + </aside> |
| 127 | + </div> |
67 | 128 |
|
68 | | - <p class="">Created and open sourced by the Stylescape team. Licensed MIT.</p> |
| 129 | + <!-- Bottom Area - Footer Ribbon --> |
| 130 | + <div class="frame_main__area--bottom"> |
| 131 | + <footer class="ribbon--bottom"> |
| 132 | + <p>Created and open sourced by the Stylescape team. Licensed MIT.</p> |
| 133 | + </footer> |
69 | 134 | </div> |
70 | | - </body> |
| 135 | + |
| 136 | + </div> |
| 137 | + |
| 138 | + <script type="module" src="js/main.js"></script> |
| 139 | +</body> |
| 140 | + |
71 | 141 | </html> |
0 commit comments