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.

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