Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

Commit 32bec57

Browse files
author
benjtinsley
committed
fixes directory structure for http2 task
1 parent bf4d1de commit 32bec57

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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>

extras/http2/src/html/data/global.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
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
}

extras/http2/src/stylesheets/components/example-component/_example-component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

0 commit comments

Comments
 (0)