Skip to content

Commit 066304a

Browse files
PxlSylPxlSyl
PxlSyl
authored and
PxlSyl
committed
doc
1 parent 5b14a27 commit 066304a

4 files changed

+7
-1
lines changed

data/blog/internationalisation-v2.mdx

+3
Original file line numberDiff line numberDiff line change
@@ -680,11 +680,14 @@ Pour l'instant :
680680

681681
- Transitions de page fluides grâce à framer-motion (voir le fichier template.tsx dans le dossier app et jetez un œil à la documentation de next.js suivante
682682
pour les fonctionnalités des fichiers [template](https://nextjs.org/docs/app/api-reference/file-conventions/template))
683+
683684
Remarque : il s'agit d'une implémentation basique mais efficace. Je vous encourage fortement à expérimenter avec framer-motion et son usage au sein du nouveau
684685
routeur.
685686

686687
- Nouveau composant: excellent lecteur audio pour les fichiers mdx (au cas où vous feriez des podcasts, ou même de la musique), grâce à [react-h5-audio-player](https://github.com/lhz516/react-h5-audio-player)
687688

689+
<Audioplayer src="/track/Ghostrifter-Official-Purple-Dream.mp3" />
690+
688691
- Indicateur de taille d'écran Tailwind : petite aide pour le mode développement et le responsive design (voir TwSizeIndicator.tsx dans /components/helper)
689692

690693
Auteur : [pxlsyl](https://pxlsyl.art)

data/blog/internationalization-v2.mdx

+3
Original file line numberDiff line numberDiff line change
@@ -680,11 +680,14 @@ For the moment :
680680

681681
- Smooth page transitions thanks to framer-motion (see the template.tsx file in the app folder and take a look at the following next.js documentation
682682
for file functionality [template](https://nextjs.org/docs/app/api-reference/file-conventions/template))
683+
683684
Note: This is a basic but effective implementation. I strongly encourage you to experiment with framer-motion and its use within the new
684685
router.
685686

686687
- New component: excellent audio player for mdx files (in case you make podcasts, or even music), thanks to [react-h5-audio-player](https://github.com/lhz516/react -h5-audio-player)
687688

689+
<Audioplayer src="/track/Ghostrifter-Official-Purple-Dream.mp3" />
690+
688691
- Tailwind screen size indicator: a little help for development mode and responsive design (see TwSizeIndicator.tsx in /components/helper)
689692

690693
Author: [pxlsyl](https://pxlsyl.art)

next.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const ContentSecurityPolicy = `
1010
script-src 'self' 'unsafe-eval' 'unsafe-inline' giscus.app analytics.umami.is;
1111
style-src 'self' 'unsafe-inline';
1212
img-src * blob: data:;
13-
media-src *.s3.amazonaws.com;
13+
media-src 'self' *.s3.amazonaws.com;
1414
connect-src *;
1515
font-src 'self';
1616
frame-src giscus.app
Binary file not shown.

0 commit comments

Comments
 (0)