Skip to content

Commit d8212d9

Browse files
authored
Merge pull request #3007 from mjmlio/bugfix/MJML-58-documentation_try-it-live_images
bugfix(images): updated image URLs MJML-58
2 parents 6350678 + 4a661ed commit d8212d9

File tree

16 files changed

+33
-33
lines changed

16 files changed

+33
-33
lines changed

doc/basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In this section, you're going to learn how to code a basic email template using
66
Here is the final render we want to end with:
77

88
<p style="text-align: center;" >
9-
<a href="https://mjml.io/try-it-live/templates/basic"><img width="350px" src="https://cloud.githubusercontent.com/assets/6558790/12779864/d9c20556-ca6a-11e5-9007-d40ac89c5088.png" alt="sexy"></a>
9+
<a href="https://mjml.io/try-it-live/templates/basic"><img width="350px" src="https://static.mailjet.com/mjml-website/documentation/basic-layout-example.png" alt="sexy"></a>
1010
</p>
1111

1212
<p style="text-align: center;" >

doc/getting_started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@
33
This is a responsive email
44

55
<p style="text-align: center;" >
6-
<img width="300px" src="https://cloud.githubusercontent.com/assets/6558790/12751054/322b2c8c-c9bb-11e5-98b9-942f6ea4d585.png" alt="layout">
6+
<img width="300px" src="https://static.mailjet.com/mjml-website/documentation/getting-started-1.png" alt="layout">
77
</p>
88

99
Like a regular HTML template, we can split this one into different parts to fit in a grid.
1010

1111
The body of your email, represented by the `mj-body` tag contains the entire content of your document:
1212

1313
<p style="text-align: center;" >
14-
<img width="300px" src="https://cloud.githubusercontent.com/assets/6558790/12751043/1fd499c4-c9bb-11e5-828f-e0e6e18180b8.png" alt="body">
14+
<img width="300px" src="https://static.mailjet.com/mjml-website/documentation/getting-started-2.png" alt="body">
1515
</p>
1616

1717
From here, you can first define your sections:
1818

1919
<p style="text-align: center;" >
20-
<img width="300px" src="https://cloud.githubusercontent.com/assets/6558790/12751042/1fd191b6-c9bb-11e5-9450-cc15acec72b4.png" alt="sections">
20+
<img width="300px" src="https://static.mailjet.com/mjml-website/documentation/getting-started-3.png" alt="sections">
2121
</p>
2222

2323
Inside any section, there should be columns (even if you need only one column). Columns are what makes MJML responsive.
2424

2525
<p style="text-align: center;" >
26-
<img width="300px" src="https://cloud.githubusercontent.com/assets/6558790/12751041/1fd112d6-c9bb-11e5-97e7-d9c93c743c4d.png" alt="columns">
26+
<img width="300px" src="https://static.mailjet.com/mjml-website/documentation/getting-started-4.png" alt="columns">
2727
</p>
2828

2929
Below, you'll find some basic rules of MJML to keep in mind for later. We'll remind them when useful but better start learning them early on.

doc/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can also run `yarn build:watch` to rebuild the package as you code.
2727
Don't want to install anything? Use the free online editor!
2828

2929
<p style="text-align: center;" >
30-
<a href="https://mjml.io/try-it-live" target="_blank"><img src="https://cloud.githubusercontent.com/assets/6558790/12195421/58a40618-b5f7-11e5-9ed3-80463874ab14.png" alt="try it live" width="75%"></a>
30+
<a href="https://mjml.io/try-it-live" target="_blank"><img src="https://static.mailjet.com/mjml-website/documentation/usage-online.png" alt="try it live" width="75%"></a>
3131
</p>
3232
<br>
3333

doc/mjml-bar-chart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
These bar charts are easily customizable, 100% built with HTML tables, and do not require any external dependencies.
55
**mjml-bar-chart** package is available on [GitHub](https://github.com/Freezystem/mjml-bar-chart) and [NPM](https://www.npmjs.com/package/@freezystem/mjml-bar-chart).
66

7-
![Basic mjml-bar-chart rendering](https://github.com/user-attachments/assets/a65b4e1c-8780-4df0-aff6-159c332e4b7a)
7+
![Basic mjml-bar-chart rendering](https://static.mailjet.com/mjml-website/documentation/bar-chart-example-1.png)
88

99
You can also render as stacked bars, add a link to your sources, vertically align labels, and much more:
1010

11-
![Stacked rendering with vertically aligned legends](https://github.com/user-attachments/assets/fc34d1c8-3608-4b7f-8bf3-233cd7efe277)
11+
![Stacked rendering with vertically aligned legends](https://static.mailjet.com/mjml-website/documentation/bar-chart-example-2.png)
1212

1313

1414
This component is lightweight, written with TypeScript, and is thoroughly tested.

doc/mjml-chart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Thanks to [image-charts](https://image-charts.com/) for their contribution with this component. It's available on [Github](https://github.com/image-charts/mjml-charts) and [NPM](https://www.npmjs.com/package/mjml-chart).
44

55
<p style="text-align: center;" >
6-
<img src="https://puu.sh/tjIVp/cd01defdac.png" alt="mj-chart demo" />
6+
<img src="https://static.mailjet.com/mjml-website/documentation/chart-example.png" alt="mj-chart demo" />
77
</p>
88

99
Displays charts as images in your email.

doc/mjml-chartjs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ This component displays [Chart.js](https://www.chartjs.org/) charts as images in
55
mj-chartjs is available on [Github](https://github.com/typpo/mjml-chartjs) and [NPM](https://www.npmjs.com/package/mjml-chartjs). By default, it uses the open-source [QuickChart](https://quickchart.io/) API for chart rendering.
66

77
<p style="text-align: center;" >
8-
<img src="https://quickchart.io/chart?c=%7B%0A%20%20%20%20%20%20%20%20%20%20type%3A%20%27bar%27%2C%0A%20%20%20%20%20%20%20%20%20%20data%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20labels%3A%20%5B%27Q1%27%2C%20%27Q2%27%2C%20%27Q3%27%2C%20%27Q4%27%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20datasets%3A%20%5B%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20label%3A%20%27Users%27%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%3A%20%5B50%2C%2060%2C%2070%2C%20180%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20backgroundColor%3A%20%27rgb(75%2C%20192%2C%20192)%27%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%5D%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20&w=500&h=300&bkg=%23ffffff&v=3&devicePixelRatio=1" alt="mj-chartjs demo" />
8+
<img src="https://static.mailjet.com/mjml-website/documentation/chartjs-example.webp" alt="mj-chartjs demo" />
99
</p>
1010

doc/mjml-qr-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ This component displays QR codes in your email. It's available on [Github](http
55
By default, mj-qr-code uses the open-source QuickChart [QR code API](https://quickchart.io/).
66

77
<p style="text-align: center;" >
8-
<img src="https://quickchart.io/qr?text=mjml is easy!" alt="mj-qr-code demo" />
8+
<img src="https://static.mailjet.com/mjml-website/documentation/qr-code-example.webp" alt="mj-qr-code demo" />
99
</p>
1010

packages/mjml-accordion/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## mj-accordion
22

33
<p style="text-align: center;" >
4-
<img src="https://i.imgur.com/C4S9MVc.gif" alt="accordion" />
4+
<img src="https://static.mailjet.com/mjml-website/documentation/accordion-example.gif" alt="accordion" />
55
</p>
66

77
`mj-accordion` is an interactive MJML component to stack content in tabs, so the information is collapsed and only the titles are visible. Readers can interact by clicking on the tabs to reveal the content, providing a great experience on mobile devices where space is scarce.
@@ -16,7 +16,7 @@
1616
<mj-head>
1717
<mj-attributes>
1818
<mj-accordion border="none" padding="1px" />
19-
<mj-accordion-element icon-wrapped-url="https://i.imgur.com/Xvw0vjq.png" icon-unwrapped-url="https://i.imgur.com/KKHenWa.png" icon-height="24px" icon-width="24px" />
19+
<mj-accordion-element icon-wrapped-url="https://static.mailjet.com/mjml-website/documentation/accordion-arrow-down.png" icon-unwrapped-url="https://static.mailjet.com/mjml-website/documentation/accordion-arrow-up.png" icon-height="24px" icon-width="24px" />
2020
<mj-accordion-title font-family="Roboto, Open Sans, Helvetica, Arial, sans-serif" background-color="#fff" color="#031017" padding="15px" font-size="18px" />
2121
<mj-accordion-text font-family="Open Sans, Helvetica, Arial, sans-serif" background-color="#fafafa" padding="15px" color="#505050" font-size="14px" />
2222
</mj-attributes>

packages/mjml-button/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## mj-button
22

33
<p style="text-align: center;" >
4-
<img src="https://cloud.githubusercontent.com/assets/6558790/12751346/fd993192-c9bc-11e5-8c91-37d616bf5874.png"
4+
<img src="https://static.mailjet.com/mjml-website/documentation/button-example.png"
55
alt="desktop" width="150px" />
66
</p>
77

packages/mjml-carousel/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## mj-carousel
22

33
<p style="text-align: center;" >
4-
<img src="https://i.imgur.com/wHqIzgd.gif" alt="desktop" />
4+
<img src="https://static.mailjet.com/mjml-website/documentation/carousel-example.gif" alt="desktop" />
55
</p>
66

77
`mj-carousel` displays a gallery of images or "carousel". Readers can interact by hovering and clicking on thumbnails depending on the email client they use.
@@ -14,9 +14,9 @@ This component enables you to set the styles of the carousel elements.
1414
<mj-section>
1515
<mj-column>
1616
<mj-carousel>
17-
<mj-carousel-image src="https://www.mailjet.com/wp-content/uploads/2016/11/ecommerce-guide.jpg" />
18-
<mj-carousel-image src="https://www.mailjet.com/wp-content/uploads/2016/09/[email protected]" />
19-
<mj-carousel-image src="https://www.mailjet.com/wp-content/uploads/2016/09/[email protected]" />
17+
<mj-carousel-image src="https://static.mailjet.com/mjml-website/documentation/carousel-1.jpg" />
18+
<mj-carousel-image src="https://static.mailjet.com/mjml-website/documentation/carousel-2.jpg" />
19+
<mj-carousel-image src="https://static.mailjet.com/mjml-website/documentation/carousel-3.jpg" />
2020
</mj-carousel>
2121
</mj-column>
2222
</mj-section>

0 commit comments

Comments
 (0)