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.

276 lines
10 KiB

  1. ---
  2. layout : 'default'
  3. css : 'index'
  4. title : 'Getting Started'
  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.6.5</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 code 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 horizontal section divider">
  40. <i class="circular heart icon"></i>
  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. <div class="ui three column grid">
  48. <div class="column">1</div>
  49. <div class="column">2</div>
  50. <div class="column">3</div>
  51. </div>
  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. <div class="ui menu">
  70. <div class="header item">Title</div>
  71. <a class="active item">Home</a>
  72. <a class="item">Link</a>
  73. <a class="item">Link</a>
  74. <div class="right floated text item">
  75. Signed in as <a href="#">user</a>
  76. </div>
  77. </div>
  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. <div class="large ui button">
  100. <i class="heart icon"></i>
  101. Like it
  102. </div>
  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 comment 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="two column row">
  132. <div class="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. $.fn.transition.settings.debug = true;
  137. $('.dog.image')
  138. .transition('scale in')
  139. .transition('tada', '800ms')
  140. ;
  141. </div>
  142. <a href="module.html" class="ui teal right labeled button">Learn about modules <i class="right arrow icon"></i></a>
  143. </div>
  144. <div class="column">
  145. <img src="/images/demo/vector.png" class="ui dog image">
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. <div class="stripe" style="display:none">
  153. <h2 class="ui center aligned icon header">
  154. <i class="circular emphasized lab icon"></i>
  155. <div class="content">
  156. Alter Designs Effortlessly
  157. <div class="sub header">Redesign without lifting a finger
  158. </div>
  159. </div>
  160. </h2>
  161. <div class="ui page grid">
  162. <div class="column">
  163. <h3 class="ui header">Let's create some tabs</h3>
  164. <div class="code" data-preview="true" data-type="html">
  165. <div class="ui menu">
  166. <div class="header item">Site.com</div>
  167. <a class="item">Browse</a>
  168. <a class="active item">Search</a>
  169. <a class="item">Help</a>
  170. </div>
  171. <div class="ui segment">
  172. <p>Tab content</p>
  173. </div>
  174. </div>
  175. <div class="ui divider"></div>
  176. <h3 class="ui header">Hmm maybe it should point to the content below it</h3>
  177. <div class="code" data-preview="true" data-type="html">
  178. <div class="ui pointing menu">
  179. <div class="header item">Site.com</div>
  180. <a class="item">Home</a>
  181. <a class="active item">About</a>
  182. <a class="item">Contact</a>
  183. </div>
  184. <div class="ui segment">
  185. <p>Tab content</p>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. <div class="final stripe" >
  192. <div class="ui page grid">
  193. <div class="column">
  194. <h2 class="ui center aligned icon header">
  195. <i class="circular emphasized users icon"></i>
  196. <div class="content">Growing Everyday
  197. <div class="sub header">New UI components are written everyday. Check back soon to see more.</div>
  198. </div>
  199. </h2>
  200. <div class="ui horizontal divider">
  201. <i class="circular heart icon"></i>
  202. </div>
  203. <div class="ui stackable grid" data-demo="true">
  204. <div class="four column center aligned row">
  205. <div class="column">
  206. <div class="ui stacked segment">
  207. <div class="ui statistic">
  208. <div class="number"><%= uiElements.length %></div>
  209. <div class="description">UI Elements</div>
  210. </div>
  211. <div class="ui divided selection list">
  212. <% for element in uiElements: %>
  213. <a class="item" href="<%= element.url %>"><%= element.title %></a>
  214. <% end %>
  215. </div>
  216. </div>
  217. </div>
  218. <div class="column">
  219. <div class="ui stacked segment">
  220. <div class="ui statistic">
  221. <div class="number"><%= uiCollections.length %></div>
  222. <div class="description">UI Collections</div>
  223. </div>
  224. <div class="ui divided selection list">
  225. <% for element in uiCollections: %>
  226. <a class="item" href="<%= element.url %>"><%= element.title %></a>
  227. <% end %>
  228. </div>
  229. </div>
  230. </div>
  231. <div class="column">
  232. <div class="ui stacked segment">
  233. <div class="ui statistic">
  234. <div class="number"><%= uiViews.length %></div>
  235. <div class="description">UI Views</div>
  236. </div>
  237. <div class="ui divided selection list">
  238. <% for element in uiViews: %>
  239. <a class="item" href="<%= element.url %>"><%= element.title %></a>
  240. <% end %>
  241. </div>
  242. </div>
  243. </div>
  244. <div class="column">
  245. <div class="ui stacked segment">
  246. <div class="ui statistic">
  247. <div class="number"><%= uiModules.length %></div>
  248. <div class="description">UI Modules</div>
  249. </div>
  250. <div class="ui divided selection list">
  251. <% for element in uiModules: %>
  252. <a class="item" href="<%= element.url %>"><%= element.title %></a>
  253. <% end %>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. </div>
  259. </div>
  260. </div>
  261. </div>
  262. <div class="ui divider"></div>
  263. <div class="ui divided horizontal footer link list">
  264. <div class="item">jack lukic 2013</div>
  265. <a href="https://github.com/jlukic/Semantic-UI" class="item">Github</a>
  266. <div class="item">
  267. Made possibly by <a href="http://www.quirky.com" target="_blank" class="item">Quirky.com</a>
  268. </div>
  269. <div class="item">
  270. Tested with <a href="http://www.browserstack.com" target="_blank" class="item">Browser Stack</a>
  271. </div>
  272. </div>