Skip to content

Commit b787b46

Browse files
authored
Merge pull request #42 from soyHenry/refactor/CloudFront-implementation
CloudFront implementation
2 parents 8eda41e + f60a9a5 commit b787b46

File tree

28 files changed

+31
-31
lines changed

28 files changed

+31
-31
lines changed

00-PrimerosPasos/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

01a-Git/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

01b-Git.-y-GitHub/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

01c-Conceptos/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

02-JS-I/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

03-JS-II/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

04-JS-III/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

05-JS-IV/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

06-JS-V/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

07-JS-VI/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

08-HTML/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

08-HTML/demos/clase1/miPrimerHTML.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>Soy Henry</p>
88
<p>Soy Henry</p>
99
<a href="http://www.google.com">Link a Google</a>
10-
<img src="http://placekitten.com/500/500" />
10+
<img src="https://placekitten.com/500/500" />
1111
<img src="./gatito.jpg" />
1212
</body>
1313
</html>

09-CSS-Positioning/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
<table class="hide" width="100%" style='table-layout:fixed;'>
44
<tr>

11-Glosario/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
# Glosario
44

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![HenryLogo](https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-lg.png)
1+
![HenryLogo](https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-lg.png)
22

33
# Prep Course
44

_src/data/styles/code.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/code.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/code.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/data/styles/fonts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/fonts.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/fonts.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/data/styles/footer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/footer.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/footer.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/data/styles/header.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/header.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/header.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/data/styles/lesson.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/lesson.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/lesson.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/data/styles/lessonIntro.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/lessonIntro.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/lessonIntro.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/data/styles/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/main.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/main.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/data/styles/responsive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/responsive.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/responsive.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/data/styles/sidebar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/sidebar.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/sidebar.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/data/styles/topbar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Cache = require('@11ty/eleventy-cache-assets')
22

33
module.exports = async function () {
4-
const url = 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Styles/topbar.css'
4+
const url = 'https://d31uz8lwfmyn8g.cloudfront.net/Styles/topbar.css'
55
const style = await Cache(url, {
66
duration: '1d',
77
type: 'txt',

_src/layouts/intro.njk

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
logoNav: 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-sm.png'
3-
favicon: 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/favicon.png'
2+
logoNav: 'https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-sm.png'
3+
favicon: 'https://d31uz8lwfmyn8g.cloudfront.net/Assets/favicon.png'
44
---
55

66
<!DOCTYPE html>

_src/layouts/lesson.njk

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
logoNav: 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/logo-henry-white-sm.png'
3-
favicon: 'https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Assets/favicon.png'
2+
logoNav: 'https://d31uz8lwfmyn8g.cloudfront.net/Assets/logo-henry-white-sm.png'
3+
favicon: 'https://d31uz8lwfmyn8g.cloudfront.net/Assets/favicon.png'
44
---
55

66
<!DOCTYPE html>

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"eleventy-plugin-toc": "^1.1.5",
2929
"git-remote-origin-url": "^3.1.0",
3030
"git-url-parse": "^11.6.0",
31-
"henry-reader-bar": "https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Modules/henry-reader-bar-0.2.0.tgz",
32-
"henry-reading-time": "https://henry-11ty-resources.s3.sa-east-1.amazonaws.com/Modules/henry-reading-time-0.1.0.tgz",
31+
"henry-reader-bar": "https://d31uz8lwfmyn8g.cloudfront.net/Modules/henry-reader-bar-0.2.0.tgz",
32+
"henry-reading-time": "https://d31uz8lwfmyn8g.cloudfront.net/Modules/henry-reading-time-0.1.0.tgz",
3333
"markdown-it": "^12.3.0",
3434
"markdown-it-anchor": "^8.4.1",
3535
"markdown-it-highlightjs": "^3.5.0",

0 commit comments

Comments
 (0)