Skip to content

Commit 32f0a53

Browse files
committed
feat: add demo iframes and update application template links across various Intlayer setup guides for enhanced user experience and accessibility
1 parent 96ecb48 commit 32f0a53

14 files changed

+161
-18
lines changed

docs/docs/en/intlayer_with_astro.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ history:
2424

2525
# Translate your Astro website using Intlayer | Internationalization (i18n)
2626

27-
See [Application Template](https://github.com/aymericzip/intlayer-astro-template) on GitHub.
28-
2927
## What is Intlayer?
3028

3129
**Intlayer** is an innovative, open-source internationalization (i18n) library designed to simplify multilingual support in modern web applications.
@@ -41,6 +39,16 @@ With Intlayer, you can:
4139

4240
## Step-by-Step Guide to Set Up Intlayer in Astro
4341

42+
<iframe
43+
src="https://stackblitz.com/github/aymericzip/intlayer-astro-template?embed=1&ctl=1&file=intlayer.config.ts"
44+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
45+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
46+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
47+
loading="lazy"
48+
/>
49+
50+
See [Application Template](https://github.com/aymericzip/intlayer-astro-template) on GitHub.
51+
4452
### Step 1: Install Dependencies
4553

4654
Install the necessary packages using your package manager:

docs/docs/en/intlayer_with_create_react_app.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ history:
2424

2525
# Translate your Create React App website using Intlayer | Internationalization (i18n)
2626

27+
<iframe
28+
src="https://stackblitz.com/github/aymericzip/intlayer-react-cra-template?embed=1&ctl=1&file=intlayer.config.ts"
29+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
30+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
31+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
32+
loading="lazy"
33+
/>
34+
2735
See [Application Template](https://github.com/aymericzip/intlayer-react-cra-template) on GitHub.
2836

2937
## What is Intlayer?

docs/docs/en/intlayer_with_lynx+react.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ history:
2626

2727
See [Application Template](https://github.com/aymericzip/intlayer-lynx-template) on GitHub.
2828

29+
<iframe
30+
src="https://stackblitz.com/github/aymericzip/intlayer-lynx-template?embed=1&ctl=1&file=intlayer.config.ts"
31+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
32+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
33+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
34+
loading="lazy"
35+
/>
36+
2937
## What is Intlayer?
3038

3139
**Intlayer** is an **innovative, open-source internationalization (i18n) library** that simplifies multilingual support in modern applications. It works in many JavaScript/TypeScript environments, **including Lynx** (via the `react-intlayer` package).

docs/docs/en/intlayer_with_nestjs.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ By internationalizing the backend, your application not only respects cultural d
4242

4343
## Getting Started
4444

45+
<iframe
46+
src="https://stackblitz.com/github/aymericzip/intlayer-nestjs-template?embed=1&ctl=1&file=intlayer.config.ts"
47+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
48+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
49+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
50+
loading="lazy"
51+
/>
52+
53+
See [Application Template](https://github.com/aymericzip/intlayer-nestjs-template) on GitHub.
54+
4555
### Create a new NestJS Project
4656

4757
```bash packageManager="npm"

docs/docs/en/intlayer_with_nextjs_14.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ history:
3737

3838
# Translate your Next.js 14 and App Router website using Intlayer | Internationalization (i18n)
3939

40-
See [Application Template](https://github.com/aymericzip/intlayer-next-14-template) on GitHub.
41-
4240
## Table of Contents
4341

4442
<TOC/>
@@ -61,6 +59,16 @@ With Intlayer, you can:
6159

6260
## Step-by-Step Guide to Set Up Intlayer in a Next.js Application
6361

62+
<iframe
63+
src="https://stackblitz.com/github/aymericzip/intlayer-next-14-template?embed=1&ctl=1&file=intlayer.config.ts"
64+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
65+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
66+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
67+
loading="lazy"
68+
/>
69+
70+
See [Application Template](https://github.com/aymericzip/intlayer-next-14-template) on GitHub.
71+
6472
### Step 1: Install Dependencies
6573

6674
Install the necessary packages using npm:

docs/docs/en/intlayer_with_nextjs_15.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ history:
4646

4747
# Translate your Next.js 15 website using Intlayer | Internationalization (i18n)
4848

49-
<iframe title="The best i18n solution for Next.js? Discover Intlayer" class="m-auto aspect-[16/9] w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/e_PPG7PTqGU?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
50-
51-
See [Application Template](https://github.com/aymericzip/intlayer-next-15-template) on GitHub.
52-
5349
## Table of Contents
5450

5551
<TOC/>
@@ -72,6 +68,27 @@ With Intlayer, you can:
7268

7369
## Step-by-Step Guide to Set Up Intlayer in a Next.js Application
7470

71+
<Tab defaultTab="video">
72+
<TabItem label="Video" value="video">
73+
74+
<iframe title="The best i18n solution for Next.js? Discover Intlayer" class="m-auto aspect-[16/9] w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/e_PPG7PTqGU?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
75+
76+
</TabItem>
77+
<TabItem label="Code" value="code">
78+
79+
<iframe
80+
src="https://stackblitz.com/github/aymericzip/intlayer-next-15-template?embed=1&ctl=1&file=intlayer.config.ts"
81+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
82+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
83+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
84+
loading="lazy"
85+
/>
86+
87+
</TabItem>
88+
</Tab>
89+
90+
See [Application Template](https://github.com/aymericzip/intlayer-next-15-template) on GitHub.
91+
7592
### Step 1: Install Dependencies
7693
7794
Install the necessary packages using npm:

docs/docs/en/intlayer_with_nextjs_16.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,25 @@ history:
2727

2828
# Translate your Next.js 16 website using Intlayer | Internationalization (i18n)
2929

30+
<Tab defaultTab="video">
31+
<TabItem label="Video" value="video">
32+
3033
<iframe title="The best i18n solution for Next.js? Discover Intlayer" class="m-auto aspect-[16/9] w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/e_PPG7PTqGU?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
3134
35+
</TabItem>
36+
<TabItem label="Code" value="code">
37+
38+
<iframe
39+
src="https://stackblitz.com/github/aymericzip/intlayer-next-16-template?embed=1&ctl=1&file=intlayer.config.ts"
40+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
41+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
42+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
43+
loading="lazy"
44+
/>
45+
46+
</TabItem>
47+
</Tab>
48+
3249
See [Application Template](https://github.com/aymericzip/intlayer-next-16-template) on GitHub.
3350
3451
## Table of Contents

docs/docs/en/intlayer_with_nuxt.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ With Intlayer, you can:
4444

4545
## Step-by-Step Guide to Set Up Intlayer in a Nuxt Application
4646

47+
<iframe
48+
src="https://stackblitz.com/github/aymericzip/intlayer-nuxt-template?embed=1&ctl=1&file=intlayer.config.ts"
49+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
50+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
51+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
52+
loading="lazy"
53+
/>
54+
4755
### Step 1: Install Dependencies
4856

4957
Install the necessary packages using npm:

docs/docs/en/intlayer_with_react_native+expo.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ history:
2626

2727
# Translate your React Native and Expo website using Intlayer | Internationalization (i18n)
2828

29-
See [Application Template](https://github.com/aymericzip/intlayer-react-native-template) on GitHub.
30-
3129
## Table of Contents
3230

3331
<TOC/>
@@ -47,6 +45,16 @@ With Intlayer, you can:
4745

4846
## Step 1: Install Dependencies
4947

48+
<iframe
49+
src="https://stackblitz.com/github/aymericzip/intlayer-react-native-template?embed=1&ctl=1&file=intlayer.config.ts"
50+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
51+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
52+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
53+
loading="lazy"
54+
/>
55+
56+
See [Application Template](https://github.com/aymericzip/intlayer-react-native-template) on GitHub.
57+
5058
From your React Native project, install the following packages:
5159

5260
```bash packageManager="npm"

docs/docs/en/intlayer_with_react_router_v7.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ With Intlayer, you can:
5151

5252
## Step-by-Step Guide to Set Up Intlayer in a React Router v7 Application
5353

54+
<iframe
55+
src="https://stackblitz.com/github/aymericzip/intlayer-react-router-v7-template?embed=1&ctl=1&file=intlayer.config.ts"
56+
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
57+
title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
58+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
59+
loading="lazy"
60+
/>
61+
5462
### Step 1: Install Dependencies
5563

5664
Install the necessary packages using your preferred package manager:

0 commit comments

Comments
 (0)