This repository was archived by the owner on Sep 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- {% extends 'layouts/application' %}
1+ {%- import 'macros/helpers.html' as macros - %}
22{{ macros.css('example-component') }}
33
44< div class ="example-component ">
55 < p > {{ text }}</ p >
66 < p > < strong > {{ caveat }}</ strong > </ p >
7- < p > < a href ="#TODO "> {{ link }}</ a > </ p >
7+ < p > < a href ="{{ linkUrl }} "> {{ link }}</ a > </ p >
88</ div >
Original file line number Diff line number Diff line change 22 "message" : " HTTP/2 Blendid!" ,
33 "text" : " This module is styled using HTTP/2 multiplexing. Check out the inspector to see the link tag inserted right above my parent div." ,
44 "caveat" : " Note: this should only be used if your server is configured for HTTP/2, otherwise you are sending needless requests." ,
5- "link" : " Read more about Blendid & HTTP/2 here"
5+ "link" : " Read more about Blendid & HTTP/2 here" ,
6+ "linkUrl" : " https://www.viget.com/articles/blendid-http-2-upgrade"
67}
Original file line number Diff line number Diff line change 1- // example base level module file
1+ // example base level component file
22
3- .example-module {
3+ .example-component {
44 padding : 15px ;
55 border : 1px dashed color (neon-magenta );
66
You can’t perform that action at this time.
0 commit comments