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.

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