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.

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