You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

283 lines
11 KiB

  1. ---
  2. layout : 'default'
  3. css : 'index'
  4. title : 'Introduction'
  5. type : 'Semantic'
  6. ---
  7. <% uiElements = @getCollection("uiElements").toJSON() %>
  8. <% uiCollections = @getCollection("uiCollections").toJSON() %>
  9. <% uiViews = @getCollection("uiViews").toJSON() %>
  10. <% uiModules = @getCollection("uiModules").toJSON() %>
  11. <script src="/javascript/home.js"></script>
  12. <div class="masthead segment">
  13. <div class="ui page grid">
  14. <div class="column">
  15. <div class="introduction">
  16. <h1 class="ui inverted header">Semantic UI
  17. <a class="ui black pointing left label" href="https://github.com/semantic-org/Semantic-UI/blob/master/RELEASE%20NOTES.md">
  18. 1.0.0 ALPHA
  19. </a>
  20. </h1>
  21. <h2 class="ui inverted header">UI is the vocabulary of the web.</h2>
  22. <p>Semantic empowers designers and developers by creating a language for sharing UI.</p>
  23. <a class="ui large black view-ui button"><i class="icon list layout"></i> View UI</a>
  24. <a class="ui large blue button" href="build/semantic.zip"><i class="awesome download cloud icon"></i> Download</a>
  25. </div>
  26. <div class="inverted advertisement">
  27. <% unless 'development' in @getEnvironments(): %>
  28. <div id="carbonads-container">
  29. <div class="carbonad">
  30. <div id="azcarbon"></div>
  31. <script type="text/javascript">var z = document.createElement("script"); z.type = "text/javascript"; z.async = true; z.src = "http://engine.carbonads.com/z/51619/azcarbon_2_1_0_VERTDARK"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script>
  32. </div>
  33. </div>
  34. <% end %>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="stripe">
  40. <div class="ui page grid">
  41. <div class="ui column">
  42. <h2 class="ui header">
  43. <i class="circular emphasized book icon"></i>
  44. <div class="content">
  45. Lose the Hieroglyphics
  46. <div class="sub header">Semantic is structured around natural language conventions to make development more intuitive.
  47. </div>
  48. </div>
  49. </h2>
  50. <div class="ui message">
  51. Semantic is tag agnostic meaning you can use <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/HTML5_element_list" target="_blank">any html tags</a> with UI elements.
  52. </div>
  53. <div class="ui stackable two column grid">
  54. <div class="column">
  55. <a class="ui teal label" href="/collections/grid.html">Semantic</a>
  56. <div class="code" data-type="html">
  57. <main class="ui three column grid">
  58. <aside class="column">1</aside>
  59. <section class="column">2</section>
  60. <section class="column">3</section>
  61. </main>
  62. </div>
  63. </div>
  64. <div class="column">
  65. <div class="ui black label">Bootstrap</div>
  66. <div class="code" data-type="html">
  67. <div class="row">
  68. <div class="col-lg-4">1</div>
  69. <div class="col-lg-4">2</div>
  70. <div class="col-lg-4">3</div>
  71. </div>
  72. </div>
  73. </div>
  74. <div class="column">
  75. <a class="ui teal label" href="/collections/menu.html">Semantic</a>
  76. <div class="code" data-type="html">
  77. <nav class="ui menu">
  78. <h3 class="header item">Title</h3>
  79. <a class="active item">Home</a>
  80. <a class="item">Link</a>
  81. <a class="item">Link</a>
  82. <span class="right floated text item">
  83. Signed in as <a href="#">user</a>
  84. </span>
  85. </nav>
  86. </div>
  87. </div>
  88. <div class="column">
  89. <div class="ui black label">Bootstrap</div>
  90. <div class="code" data-type="html">
  91. <div class="navbar">
  92. <a class="navbar-brand" href="#">Title</a>
  93. <ul class="nav navbar-nav">
  94. <li class="active"><a href="#">Home</a></li>
  95. <li><a href="#">Link</a></li>
  96. <li><a href="#">Link</a></li>
  97. <p class="navbar-text pull-right">Signed in as <a href="#" class="navbar-link">User</a></p>
  98. </ul>
  99. </div>
  100. </div>
  101. </div>
  102. <div class="column">
  103. <a class="ui teal label" href="/elements/button.html">Semantic</a>
  104. <div class="code" data-type="html">
  105. <button class="large ui button">
  106. <i class="heart icon"></i>
  107. Like it
  108. </button>
  109. </div>
  110. </div>
  111. <div class="column">
  112. <div class="ui black label">Bootstrap</div>
  113. <div class="code" data-type="html">
  114. <button type="button" class="btn btn-primary btn-lg">
  115. <span class="glyphicon glyphicon-heart"></span>
  116. Like
  117. </button>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. <div class="dark stripe">
  125. <div class="ui page grid">
  126. <div class="column">
  127. <h2 class="ui huge inverted center aligned icon header">
  128. <i class="circular emphasized inverted teal chat outline icon"></i>
  129. <div class="content">Have a conversation with your components<div class="sub header">Semantic gives you a variety of UI components with real-time debug output, letting your code tell you what its doing.</div>
  130. </div>
  131. </h2>
  132. <div class="ui inverted horizontal section divider">
  133. <i class="circular heart icon"></i>
  134. </div>
  135. <div class="ui stackable grid" data-demo="true">
  136. <div class="row">
  137. <div class="ten wide column">
  138. <div class="ui teal header">Open up your web console.</div>
  139. <p>Semantic provides tracing for javascript behavior so your components can tell you what they're doing as they do it.</p>
  140. <div class="code" data-type="javascript" data-demo="true">
  141. $('.kitten.image')
  142. .transition('scale in')
  143. .transition('tada', '800ms')
  144. ;
  145. </div>
  146. <!-- <div class="ui raised segment">
  147. <div class="ui black top attached label">Console</div>
  148. <pre class="console"></pre>
  149. </div> -->
  150. <a href="module.html" class="ui teal right labeled button">Learn about modules <i class="right arrow icon"></i></a>
  151. </div>
  152. <div class="five wide right floated column">
  153. <img src="/images/cat.png" class="ui kitten image">
  154. </div>
  155. </div>
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. <div class="stripe" style="display:none">
  161. <h2 class="ui center aligned icon header">
  162. <i class="circular emphasized lab icon"></i>
  163. <div class="content">
  164. Alter Designs Effortlessly
  165. <div class="sub header">Redesign without lifting a finger
  166. </div>
  167. </div>
  168. </h2>
  169. <div class="ui page grid">
  170. <div class="column">
  171. <h3 class="ui header">Let's create some tabs</h3>
  172. <div class="code" data-preview="true" data-type="html">
  173. <div class="ui menu">
  174. <div class="header item">Site.com</div>
  175. <a class="item">Browse</a>
  176. <a class="active item">Search</a>
  177. <a class="item">Help</a>
  178. </div>
  179. <div class="ui segment">
  180. <p>Tab content</p>
  181. </div>
  182. </div>
  183. <div class="ui divider"></div>
  184. <h3 class="ui header">Hmm maybe it should point to the content below it</h3>
  185. <div class="code" data-preview="true" data-type="html">
  186. <div class="ui pointing menu">
  187. <div class="header item">Site.com</div>
  188. <a class="item">Home</a>
  189. <a class="active item">About</a>
  190. <a class="item">Contact</a>
  191. </div>
  192. <div class="ui segment">
  193. <p>Tab content</p>
  194. </div>
  195. </div>
  196. </div>
  197. </div>
  198. </div>
  199. <div class="final stripe" >
  200. <div class="ui page grid">
  201. <div class="column">
  202. <h2 class="ui center aligned icon header">
  203. <i class="circular emphasized users icon"></i>
  204. <div class="content">Growing Every Day
  205. <div class="sub header">New UI components are written every day. Check back soon to see more.</div>
  206. </div>
  207. </h2>
  208. <div class="ui horizontal divider">
  209. <i class="circular heart icon"></i>
  210. </div>
  211. <div class="ui stackable grid" data-demo="true">
  212. <div class="four column center aligned row">
  213. <div class="column">
  214. <div class="ui stacked segment">
  215. <div class="ui statistic">
  216. <div class="number"><%= uiElements.length %></div>
  217. <div class="description">UI Elements</div>
  218. </div>
  219. <div class="ui divided selection list">
  220. <% for element in uiElements: %>
  221. <a class="item" href="<%= element.url %>"><%= element.title %></a>
  222. <% end %>
  223. </div>
  224. </div>
  225. </div>
  226. <div class="column">
  227. <div class="ui stacked segment">
  228. <div class="ui statistic">
  229. <div class="number"><%= uiCollections.length %></div>
  230. <div class="description">UI Collections</div>
  231. </div>
  232. <div class="ui divided selection list">
  233. <% for element in uiCollections: %>
  234. <a class="item" href="<%= element.url %>"><%= element.title %></a>
  235. <% end %>
  236. </div>
  237. </div>
  238. </div>
  239. <div class="column">
  240. <div class="ui stacked segment">
  241. <div class="ui statistic">
  242. <div class="number"><%= uiViews.length %></div>
  243. <div class="description">UI Views</div>
  244. </div>
  245. <div class="ui divided selection list">
  246. <% for element in uiViews: %>
  247. <a class="item" href="<%= element.url %>"><%= element.title %></a>
  248. <% end %>
  249. </div>
  250. </div>
  251. </div>
  252. <div class="column">
  253. <div class="ui stacked segment">
  254. <div class="ui statistic">
  255. <div class="number"><%= uiModules.length %></div>
  256. <div class="description">UI Modules</div>
  257. </div>
  258. <div class="ui divided selection list">
  259. <% for element in uiModules: %>
  260. <a class="item" href="<%= element.url %>"><%= element.title %></a>
  261. <% end %>
  262. </div>
  263. </div>
  264. </div>
  265. </div>
  266. </div>
  267. </div>
  268. </div>
  269. </div>
  270. <div class="ui divider"></div>
  271. <div class="ui divided horizontal footer link list">
  272. <div class="item">jack lukic 2013</div>
  273. <a href="https://github.com/semantic-org/Semantic-UI" class="item">Github</a>
  274. <div class="item">
  275. Made possible by <a href="http://www.quirky.com" target="_blank">Quirky.com</a>
  276. </div>
  277. <div class="item">
  278. Tested with <a href="http://www.browserstack.com" target="_blank">Browser Stack</a>
  279. </div>
  280. </div>