Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 31ac24d

Browse files
author
Barrie Hadfield
committed
bootstrap
1 parent 695bc00 commit 31ac24d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

index.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,18 @@
1515
<script src="https://rawgit.com/ruby-hyperloop/hyperloop-js/master/opal-compiler.min.js"></script>
1616
<script src="https://rawgit.com/ruby-hyperloop/hyperloop-js/master/hyperloop.min.js"></script>
1717

18+
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
19+
1820
<script type="text/ruby">
1921
class TopLevelComponent < Hyperloop::Component
2022
render(DIV) do
21-
H1 { "Components, Stores and Operations" }
22-
P { "A few examples using Hyperloop Components which wrap React, Stores to hold state which is shared between Components and an Operation for mutating the Store's state. Finally, a Clock which demonstrates local state and a callback which triggers every second." }
23-
TypeAlong()
24-
ButtonComponent()
25-
Clock()
23+
div.container do
24+
H1 { "Components, Stores and Operations" }
25+
P { "A few examples using Hyperloop Components which wrap React, Stores to hold state which is shared between Components and an Operation for mutating the Store's state. Finally, a Clock which demonstrates local state and a callback which triggers every second." }
26+
TypeAlong()
27+
ButtonComponent()
28+
Clock()
29+
end
2630
end
2731
end
2832

0 commit comments

Comments
 (0)