Repository: NMF-earth/nmf-app (language: typescript)

Issue:
Fix little bug in a guide script
**Describe the bug**

Remove "personal" path (`/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/`) in snapshot file (like it was before). See `key` in this hot [fix](https://github.com/NMF-earth/nmf-app/commit/a32dc9adc900803964ec7964d299d04a6a9a87f1)

This is a side effect of using `${process.env.PWD}` in order to make the script work (see issue #199 )


Discussion hints:

Pull request: Fix 239 little bug in a guide script
<!-- Thanks for submitting a pull request! We appreciate a lot your help. Please provide some information so that others can review your pull request. The two last fields below are optional but appreciated. -->

✅ I have read the [contributing file](https://github.com/NMF-earth/nmf-app/blob/main/contributing.md)

## Summary

Fixes #239 

## Changelog

Updated the generate guides stript to fix the key path as it was before


Test command: NODE_OPTIONS='--experimental-vm-modules --max-old-space-size=4096' npx --no-install jest app/screens/Act/__tests__/ActScreen.test.tsx --passWithNoTests 2>&1

Fix patch:
diff --git a/assets/guides/guides.json b/assets/guides/guides.json
index 04b37525..4b56c0d3 100644
--- a/assets/guides/guides.json
+++ b/assets/guides/guides.json
@@ -1,1 +1,1 @@
-[{"title":"Clean your cloud data","category":"digital","body":"<h1>Clean your cloud data</h1>\n<p>When your data is saved on the cloud, it means it's saved on remote computers (servers). It's really nice and convenient because if you loose your computer or your phone, your data is not lost!</p>\n<p>However, redundant data is not environmental friendly at all and will never be. Remember this: everytime you save data, transfer data it means CO2 emissions.</p>\n<p>Servers as well as your devices needs many rare metals but also because it needs electricity to work. For the servers, it's every single day of the year with no down time, to make sure you can access your data at any time of the day. As you know, electricity production always emits CO2, even if it's solar, windmills or nuclear. Yes, there is no &quot;green&quot; energy and solar panels manufacturing pollutes a lot.</p>\n<p>Therefore, the less emails you have on your mailbox, the less data you have on the cloud, the better for the environment.</p>\n<h3>More data = more pollution</h3>\n","key":"/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/clean-your-cloud-data.md"},{"title":"Find replacement for internet giants","category":"digital","body":"<h1>Find replacement for internet giants</h1>\n<p>G**gle, Facebook, 🍏 and any other tech monsters are harvesting data about their users and that's a bad thing for you and the environment.</p>\n<p>If something is free, there is a trick, right? The more data these companies have on you, the more valuable you are for them. It allows target ads depending on your age, sex, religion, political opinion etc.</p>\n<p>Framasoft a French association is trying to de-g**gle-ify the internet by providing the same services as some of the GAFA but in a ethical and open source way.</p>\n<p>Examples :</p>\n<ul>\n<li><a href=\"https://joinpeertube.org/\">Peertube</a> alternative to Youtube.</li>\n<li><a href=\"https://joinmobilizon.org/en/\">Mobilizon</a> is an alternative to Meetup and Facebook events.</li>\n<li><a href=\"https://framatalk.org/accueil/en/\">FramaTalk</a> as a replacement for Zoom/Skype</li>\n<li><a href=\"https://framagenda.org\">Framagenda</a>: creating public or private calendars</li>\n</ul>\n<p>Visit <a href=\"https://framasoft.org/en/\">Framasoft website</a> for more info and services!</p>\n<p>Alternative to :</p>\n<ul>\n<li>Facebook : <a href=\"https://diasporafoundation.org/\">Diaspora</a></li>\n<li>Twitter : <a href=\"https://mastodon.social\">Mastodon</a></li>\n<li>Whatsapp : <a href=\"https://signal.org\">Signal</a></li>\n<li>Gmail : <a href=\"https://protonmail.com/\">Protonmail</a></li>\n<li>Maps : <a href=\"https://www.openstreetmap.org\">Open street map</a></li>\n<li>G**gle Play : <a href=\"https://www.f-droid.org/\">F-Droid</a></li>\n</ul>\n","key":"/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/gafa-replacement.md"},{"title":"Eating seasonal and local","category":"kitchen","body":"<h1>Eating seasonal fruits and vegetables</h1>\n<p>We all love tomatoes. But eating tomatoes during the whole year is not sustainable. During winter, we eat imported tomatoes or cultivated in greenhouses. And that’s a pity : tomatoes are more juicy and tasteful during summer. Respecting nature by eating seasonal fruit and vegetables can be a very interesting challenge to make you discover new ingredients such as black radish, lotus root or winter melon.</p>\n<h3>Fun fact : cheese are also seasonal.</h3>\n<h1>Eating locally</h1>\n<p>You’re already eating less meat or you’re already vegetarian? Great! Next step, you can become a locavore, which means that the food you're eating is limited from an area of 50 to 200 kilometers. Of course, it’s easier to eat locally when you leaving in the countryside than in a big town. But it is still possible !</p>\n","key":"/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/eat-seasonal-and-local.md"},{"title":"Get a phone you can repair/upgrade","category":"digital","body":"<h1>Buy a phone you can repair</h1>\n<p>A lot of people are changing their phones because the screen is damage, because they want a better camera or because the battery is not working well anymore.</p>\n<p>Changing phone every year is not sustainable and it's bad for the environement. To face this issue, a Dutch company, <a href=\"https://www.fairphone.com/\">Fairphone</a>, is making ethical and modular phone that you can fix and upgrade yourself.</p>\n<p>If you are on Android, installing an alternative rom like <a href=\"https://lineageos.org/\">LineageOS</a> can make your old phone faster and increase its lifespan.</p>\n","key":"/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/repair-phone.md"},{"title":"Avoid streaming","category":"digital","body":"<h1>Avoid streaming</h1>\n<p>Streaming is nice, streaming is amazing, but have you ever though about the consequences on the environement?</p>\n<p>To give you an idea on how bad the streaming is, let's take an example. The size of the article text in the English Wikipedia is around <a href=\"https://en.wikipedia.org/wiki/Wikipedia:Size_of_Wikipedia\">20 gigabytes</a> of data in 2020. It means that everytime you watch a season of the Walking Dead in HD (1080p), you have downloaded on your computer/phone the same amount of data as the entire Wikipedia encyclopedia.</p>\n<p>Same applies to Spotify, Apple Music, Amazon and Youtube. Music is much smaller than a HD video but an average user consumes several songs in a day so at the end of the year, the impact of the climate is not negligeable.</p>\n<p>Both music and video streaming relies on servers as well as internet infrastuctures to transport the data to you. All of this has a cost, so instead of streaming in all circomstances, try to listen to the radio, go the cinema.... Who knows, you might end up meeting real people in real life!</p>\n<p>Don't forget to cancel autoplay by default, leading to unecessary streaming like Youtube is doing. In most video streaming platform, you can save this behavior in the preferences. If you can, use Peertube, a decentralized and open-source video platform, much better for the environement compared to Youtube and more ethical.</p>\n<p>If you still want to use YouTube, we recomment <a href=\"https://addons.mozilla.org/en-US/firefox/addon/youtube-focus/?utm_source=addons.mozilla.org&amp;utm_medium=referral&amp;utm_content=search\">Youtube Focus</a>, an add-on who tries to promote a healthier watching. As said on their <a href=\"https://github.com/Jompa14/YouTube_Focus\">Github</a>, YouTube has one billion hours whatched daily, and it’s recommendation algorithm generates more than 70% of views. That means 700.000.000 hours every single day. What means that the greatest slice of time that people spend on YouTube isnt because they searched for something to whatch or something to learn, it is because they were sugested by YouTube's algorithm.</p>\n","key":"/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/avoid-streaming.md"},{"title":"Reduce your browsing emissions","category":"digital","body":"<h1>Calculate your browsing carbon impact and reduce it</h1>\n<p>They are several browser add-ons, mainly for Chrome and Firefox, that can help you decrease and understand better your digital carbon emissions.</p>\n<ul>\n<li><strong><a href=\"https://addons.mozilla.org/en-US/firefox/addon/carbonalyser/\">Carbon analyser</a>:</strong> excellent plugin that will help you to have an idea on what you emit when you browse the internet. It shows a chart of your main emissions so you can act on it. Open-source and made by the awesome french association the Shift Project.</li>\n<li><strong><a href=\"https://addons.mozilla.org/fr/firefox/addon/low-web-extension/\">Low Tech</a>:</strong> open-source extension aims to reduce our datas and limit the energy consumption of our Internet browsing. For example, when possible, video quality is set to low quality, autoplay and loop parameters are disabled. If it's possible, quality of images is decreased or loading delayed and animated gif only plays when hovering them. Some &quot;superfluous&quot; content can also be blocked like share and like button, avatar images or fonts. <strong>100 % approved and recommended by the NMF.earth team!</strong></li>\n<li><strong><a href=\"https://addons.mozilla.org/fr/firefox/addon/bare-tracker\">Bare Tracker</a>:</strong> helps peoples get a barer, lighter browsing experience by informing them about their browsing environmental impact. Similar to carbon analyser.</li>\n</ul>\n","key":"/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/internet-browsing-impact.md"},{"title":"Install an add blocker","category":"digital","body":"<h1>Install an add blocker</h1>\n<p>All modern browser like Firefox, Safari, Chrome... let users the posibility to install add-ons, also name plugins or extensions.</p>\n<p>In order to not get ads or to see less ads, you can install the following browser extensions :</p>\n<ul>\n<li><a href=\"https://addons.mozilla.org/da/firefox/addon/ghostery/\">Ghostery</a>: built-in ad blocker removing advertisements from a web page to eliminate clutter so you can focus on the content you want. Protect your privacy, browse faster.</li>\n<li><a href=\"https://addons.mozilla.org/da/firefox/addon/ublock-origin/\">uBlock Origin</a> : content blocker with CPU and memory efficiency as a primary feature.</li>\n</ul>\n<p>Less ads, less compulsatory purchases, less CO2 emissions</p>\n","key":"/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/ad-blocker.md"}]
\ No newline at end of file
+[{"title":"Avoid streaming","category":"digital","body":"<h1>Avoid streaming</h1>\n<p>Streaming is nice, streaming is amazing, but have you ever though about the consequences on the environement?</p>\n<p>To give you an idea on how bad the streaming is, let's take an example. The size of the article text in the English Wikipedia is around <a href=\"https://en.wikipedia.org/wiki/Wikipedia:Size_of_Wikipedia\">20 gigabytes</a> of data in 2020. It means that everytime you watch a season of the Walking Dead in HD (1080p), you have downloaded on your computer/phone the same amount of data as the entire Wikipedia encyclopedia.</p>\n<p>Same applies to Spotify, Apple Music, Amazon and Youtube. Music is much smaller than a HD video but an average user consumes several songs in a day so at the end of the year, the impact of the climate is not negligeable.</p>\n<p>Both music and video streaming relies on servers as well as internet infrastuctures to transport the data to you. All of this has a cost, so instead of streaming in all circomstances, try to listen to the radio, go the cinema.... Who knows, you might end up meeting real people in real life!</p>\n<p>Don't forget to cancel autoplay by default, leading to unecessary streaming like Youtube is doing. In most video streaming platform, you can save this behavior in the preferences. If you can, use Peertube, a decentralized and open-source video platform, much better for the environement compared to Youtube and more ethical.</p>\n<p>If you still want to use YouTube, we recomment <a href=\"https://addons.mozilla.org/en-US/firefox/addon/youtube-focus/?utm_source=addons.mozilla.org&amp;utm_medium=referral&amp;utm_content=search\">Youtube Focus</a>, an add-on who tries to promote a healthier watching. As said on their <a href=\"https://github.com/Jompa14/YouTube_Focus\">Github</a>, YouTube has one billion hours whatched daily, and it’s recommendation algorithm generates more than 70% of views. That means 700.000.000 hours every single day. What means that the greatest slice of time that people spend on YouTube isnt because they searched for something to whatch or something to learn, it is because they were sugested by YouTube's algorithm.</p>\n","key":".//markdown/avoid-streaming.md"},{"title":"Install an add blocker","category":"digital","body":"<h1>Install an add blocker</h1>\n<p>All modern browser like Firefox, Safari, Chrome... let users the posibility to install add-ons, also name plugins or extensions.</p>\n<p>In order to not get ads or to see less ads, you can install the following browser extensions :</p>\n<ul>\n<li><a href=\"https://addons.mozilla.org/da/firefox/addon/ghostery/\">Ghostery</a>: built-in ad blocker removing advertisements from a web page to eliminate clutter so you can focus on the content you want. Protect your privacy, browse faster.</li>\n<li><a href=\"https://addons.mozilla.org/da/firefox/addon/ublock-origin/\">uBlock Origin</a> : content blocker with CPU and memory efficiency as a primary feature.</li>\n</ul>\n<p>Less ads, less compulsatory purchases, less CO2 emissions</p>\n","key":".//markdown/ad-blocker.md"},{"title":"Eating seasonal and local","category":"kitchen","body":"<h1>Eating seasonal fruits and vegetables</h1>\n<p>We all love tomatoes. But eating tomatoes during the whole year is not sustainable. During winter, we eat imported tomatoes or cultivated in greenhouses. And that’s a pity : tomatoes are more juicy and tasteful during summer. Respecting nature by eating seasonal fruit and vegetables can be a very interesting challenge to make you discover new ingredients such as black radish, lotus root or winter melon.</p>\n<h3>Fun fact : cheese are also seasonal.</h3>\n<h1>Eating locally</h1>\n<p>You’re already eating less meat or you’re already vegetarian? Great! Next step, you can become a locavore, which means that the food you're eating is limited from an area of 50 to 200 kilometers. Of course, it’s easier to eat locally when you leaving in the countryside than in a big town. But it is still possible !</p>\n","key":".//markdown/eat-seasonal-and-local.md"},{"title":"Clean your cloud data","category":"digital","body":"<h1>Clean your cloud data</h1>\n<p>When your data is saved on the cloud, it means it's saved on remote computers (servers). It's really nice and convenient because if you loose your computer or your phone, your data is not lost!</p>\n<p>However, redundant data is not environmental friendly at all and will never be. Remember this: everytime you save data, transfer data it means CO2 emissions.</p>\n<p>Servers as well as your devices needs many rare metals but also because it needs electricity to work. For the servers, it's every single day of the year with no down time, to make sure you can access your data at any time of the day. As you know, electricity production always emits CO2, even if it's solar, windmills or nuclear. Yes, there is no &quot;green&quot; energy and solar panels manufacturing pollutes a lot.</p>\n<p>Therefore, the less emails you have on your mailbox, the less data you have on the cloud, the better for the environment.</p>\n<h3>More data = more pollution</h3>\n","key":".//markdown/clean-your-cloud-data.md"},{"title":"Find replacement for internet giants","category":"digital","body":"<h1>Find replacement for internet giants</h1>\n<p>G**gle, Facebook, 🍏 and any other tech monsters are harvesting data about their users and that's a bad thing for you and the environment.</p>\n<p>If something is free, there is a trick, right? The more data these companies have on you, the more valuable you are for them. It allows target ads depending on your age, sex, religion, political opinion etc.</p>\n<p>Framasoft a French association is trying to de-g**gle-ify the internet by providing the same services as some of the GAFA but in a ethical and open source way.</p>\n<p>Examples :</p>\n<ul>\n<li><a href=\"https://joinpeertube.org/\">Peertube</a> alternative to Youtube.</li>\n<li><a href=\"https://joinmobilizon.org/en/\">Mobilizon</a> is an alternative to Meetup and Facebook events.</li>\n<li><a href=\"https://framatalk.org/accueil/en/\">FramaTalk</a> as a replacement for Zoom/Skype</li>\n<li><a href=\"https://framagenda.org\">Framagenda</a>: creating public or private calendars</li>\n</ul>\n<p>Visit <a href=\"https://framasoft.org/en/\">Framasoft website</a> for more info and services!</p>\n<p>Alternative to :</p>\n<ul>\n<li>Facebook : <a href=\"https://diasporafoundation.org/\">Diaspora</a></li>\n<li>Twitter : <a href=\"https://mastodon.social\">Mastodon</a></li>\n<li>Whatsapp : <a href=\"https://signal.org\">Signal</a></li>\n<li>Gmail : <a href=\"https://protonmail.com/\">Protonmail</a></li>\n<li>Maps : <a href=\"https://www.openstreetmap.org\">Open street map</a></li>\n<li>G**gle Play : <a href=\"https://www.f-droid.org/\">F-Droid</a></li>\n</ul>\n","key":".//markdown/gafa-replacement.md"},{"title":"Reduce your browsing emissions","category":"digital","body":"<h1>Calculate your browsing carbon impact and reduce it</h1>\n<p>They are several browser add-ons, mainly for Chrome and Firefox, that can help you decrease and understand better your digital carbon emissions.</p>\n<ul>\n<li><strong><a href=\"https://addons.mozilla.org/en-US/firefox/addon/carbonalyser/\">Carbon analyser</a>:</strong> excellent plugin that will help you to have an idea on what you emit when you browse the internet. It shows a chart of your main emissions so you can act on it. Open-source and made by the awesome french association the Shift Project.</li>\n<li><strong><a href=\"https://addons.mozilla.org/fr/firefox/addon/low-web-extension/\">Low Tech</a>:</strong> open-source extension aims to reduce our datas and limit the energy consumption of our Internet browsing. For example, when possible, video quality is set to low quality, autoplay and loop parameters are disabled. If it's possible, quality of images is decreased or loading delayed and animated gif only plays when hovering them. Some &quot;superfluous&quot; content can also be blocked like share and like button, avatar images or fonts. <strong>100 % approved and recommended by the NMF.earth team!</strong></li>\n<li><strong><a href=\"https://addons.mozilla.org/fr/firefox/addon/bare-tracker\">Bare Tracker</a>:</strong> helps peoples get a barer, lighter browsing experience by informing them about their browsing environmental impact. Similar to carbon analyser.</li>\n</ul>\n","key":".//markdown/internet-browsing-impact.md"},{"title":"Get a phone you can repair/upgrade","category":"digital","body":"<h1>Buy a phone you can repair</h1>\n<p>A lot of people are changing their phones because the screen is damage, because they want a better camera or because the battery is not working well anymore.</p>\n<p>Changing phone every year is not sustainable and it's bad for the environement. To face this issue, a Dutch company, <a href=\"https://www.fairphone.com/\">Fairphone</a>, is making ethical and modular phone that you can fix and upgrade yourself.</p>\n<p>If you are on Android, installing an alternative rom like <a href=\"https://lineageos.org/\">LineageOS</a> can make your old phone faster and increase its lifespan.</p>\n","key":".//markdown/repair-phone.md"}]
\ No newline at end of file
diff --git a/scripts/generate-guides.js b/scripts/generate-guides.js
index eece5a08..9bf8cedf 100644
--- a/scripts/generate-guides.js
+++ b/scripts/generate-guides.js
@@ -6,7 +6,8 @@ const fm = require("front-matter");
 const MarkdownIt = require("markdown-it");
 const md = new MarkdownIt();
 const data = [];
-const guidesPath = `${process.env.PWD}/assets/guides/markdown/*.md`;
+const pwd = process.env.PWD
+const guidesPath = `${pwd}/assets/guides/markdown/*.md`;
 
 /*
  * Script to parse and build all guides into
@@ -30,10 +31,10 @@ glob(guidesPath, {}, function (err, files) {
       data.push({
         ...parsed.attributes,
         body: md.render(parsed.body),
-        key: file.replace("guides", ""),
+        key: "./".concat(file.split("markdown").pop()),
       });
       fs.writeFile(
-        `${process.env.PWD}/assets/guides/guides.json`,
+        `${pwd}/assets/guides/guides.json`,
         JSON.stringify(data),
         () => {
           console.log("Wrote guides.json");
@@ -44,7 +45,7 @@ glob(guidesPath, {}, function (err, files) {
 
   // pre-requiring image that are used in markdown files.
   const imageFiles = fs
-    .readdirSync(`${process.env.PWD}/assets/images/guide`)
+    .readdirSync(`${pwd}/assets/images/guide`)
     .filter((x) => x.includes("png" || "jpg"));
   const imagePath =
     "{\n" +
@@ -59,7 +60,7 @@ glob(guidesPath, {}, function (err, files) {
     "}";
   const res = "export default " + imagePath;
   fs.writeFileSync(
-    `${process.env.PWD}/app/screens/ActDetail/imagePath.ts`,
+    `${pwd}/app/screens/ActDetail/imagePath.ts`,
     res
   );
 });


Test patch:
diff --git a/app/screens/Act/__tests__/__snapshots__/ActScreen.test.tsx.snap b/app/screens/Act/__tests__/__snapshots__/ActScreen.test.tsx.snap
index 03326e83..e10f0945 100644
--- a/app/screens/Act/__tests__/__snapshots__/ActScreen.test.tsx.snap
+++ b/app/screens/Act/__tests__/__snapshots__/ActScreen.test.tsx.snap
@@ -17,6 +17,33 @@ exports[`ActScreen renders correctly 1`] = `
   }
   data={
     Array [
+      Object {
+        "body": "<h1>Avoid streaming</h1>
+<p>Streaming is nice, streaming is amazing, but have you ever though about the consequences on the environement?</p>
+<p>To give you an idea on how bad the streaming is, let's take an example. The size of the article text in the English Wikipedia is around <a href=\\"https://en.wikipedia.org/wiki/Wikipedia:Size_of_Wikipedia\\">20 gigabytes</a> of data in 2020. It means that everytime you watch a season of the Walking Dead in HD (1080p), you have downloaded on your computer/phone the same amount of data as the entire Wikipedia encyclopedia.</p>
+<p>Same applies to Spotify, Apple Music, Amazon and Youtube. Music is much smaller than a HD video but an average user consumes several songs in a day so at the end of the year, the impact of the climate is not negligeable.</p>
+<p>Both music and video streaming relies on servers as well as internet infrastuctures to transport the data to you. All of this has a cost, so instead of streaming in all circomstances, try to listen to the radio, go the cinema.... Who knows, you might end up meeting real people in real life!</p>
+<p>Don't forget to cancel autoplay by default, leading to unecessary streaming like Youtube is doing. In most video streaming platform, you can save this behavior in the preferences. If you can, use Peertube, a decentralized and open-source video platform, much better for the environement compared to Youtube and more ethical.</p>
+<p>If you still want to use YouTube, we recomment <a href=\\"https://addons.mozilla.org/en-US/firefox/addon/youtube-focus/?utm_source=addons.mozilla.org&amp;utm_medium=referral&amp;utm_content=search\\">Youtube Focus</a>, an add-on who tries to promote a healthier watching. As said on their <a href=\\"https://github.com/Jompa14/YouTube_Focus\\">Github</a>, YouTube has one billion hours whatched daily, and it’s recommendation algorithm generates more than 70% of views. That means 700.000.000 hours every single day. What means that the greatest slice of time that people spend on YouTube isnt because they searched for something to whatch or something to learn, it is because they were sugested by YouTube's algorithm.</p>
+",
+        "category": "digital",
+        "key": ".//markdown/avoid-streaming.md",
+        "title": "Avoid streaming",
+      },
+      Object {
+        "body": "<h1>Install an add blocker</h1>
+<p>All modern browser like Firefox, Safari, Chrome... let users the posibility to install add-ons, also name plugins or extensions.</p>
+<p>In order to not get ads or to see less ads, you can install the following browser extensions :</p>
+<ul>
+<li><a href=\\"https://addons.mozilla.org/da/firefox/addon/ghostery/\\">Ghostery</a>: built-in ad blocker removing advertisements from a web page to eliminate clutter so you can focus on the content you want. Protect your privacy, browse faster.</li>
+<li><a href=\\"https://addons.mozilla.org/da/firefox/addon/ublock-origin/\\">uBlock Origin</a> : content blocker with CPU and memory efficiency as a primary feature.</li>
+</ul>
+<p>Less ads, less compulsatory purchases, less CO2 emissions</p>
+",
+        "category": "digital",
+        "key": ".//markdown/ad-blocker.md",
+        "title": "Install an add blocker",
+      },
       Object {
         "body": "<h1>Clean your cloud data</h1>
 <p>When your data is saved on the cloud, it means it's saved on remote computers (servers). It's really nice and convenient because if you loose your computer or your phone, your data is not lost!</p>
@@ -26,7 +53,7 @@ exports[`ActScreen renders correctly 1`] = `
 <h3>More data = more pollution</h3>
 ",
         "category": "digital",
-        "key": "/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/clean-your-cloud-data.md",
+        "key": ".//markdown/clean-your-cloud-data.md",
         "title": "Clean your cloud data",
       },
       Object {
@@ -53,32 +80,9 @@ exports[`ActScreen renders correctly 1`] = `
 </ul>
 ",
         "category": "digital",
-        "key": "/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/gafa-replacement.md",
+        "key": ".//markdown/gafa-replacement.md",
         "title": "Find replacement for internet giants",
       },
-      Object {
-        "body": "<h1>Buy a phone you can repair</h1>
-<p>A lot of people are changing their phones because the screen is damage, because they want a better camera or because the battery is not working well anymore.</p>
-<p>Changing phone every year is not sustainable and it's bad for the environement. To face this issue, a Dutch company, <a href=\\"https://www.fairphone.com/\\">Fairphone</a>, is making ethical and modular phone that you can fix and upgrade yourself.</p>
-<p>If you are on Android, installing an alternative rom like <a href=\\"https://lineageos.org/\\">LineageOS</a> can make your old phone faster and increase its lifespan.</p>
-",
-        "category": "digital",
-        "key": "/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/repair-phone.md",
-        "title": "Get a phone you can repair/upgrade",
-      },
-      Object {
-        "body": "<h1>Avoid streaming</h1>
-<p>Streaming is nice, streaming is amazing, but have you ever though about the consequences on the environement?</p>
-<p>To give you an idea on how bad the streaming is, let's take an example. The size of the article text in the English Wikipedia is around <a href=\\"https://en.wikipedia.org/wiki/Wikipedia:Size_of_Wikipedia\\">20 gigabytes</a> of data in 2020. It means that everytime you watch a season of the Walking Dead in HD (1080p), you have downloaded on your computer/phone the same amount of data as the entire Wikipedia encyclopedia.</p>
-<p>Same applies to Spotify, Apple Music, Amazon and Youtube. Music is much smaller than a HD video but an average user consumes several songs in a day so at the end of the year, the impact of the climate is not negligeable.</p>
-<p>Both music and video streaming relies on servers as well as internet infrastuctures to transport the data to you. All of this has a cost, so instead of streaming in all circomstances, try to listen to the radio, go the cinema.... Who knows, you might end up meeting real people in real life!</p>
-<p>Don't forget to cancel autoplay by default, leading to unecessary streaming like Youtube is doing. In most video streaming platform, you can save this behavior in the preferences. If you can, use Peertube, a decentralized and open-source video platform, much better for the environement compared to Youtube and more ethical.</p>
-<p>If you still want to use YouTube, we recomment <a href=\\"https://addons.mozilla.org/en-US/firefox/addon/youtube-focus/?utm_source=addons.mozilla.org&amp;utm_medium=referral&amp;utm_content=search\\">Youtube Focus</a>, an add-on who tries to promote a healthier watching. As said on their <a href=\\"https://github.com/Jompa14/YouTube_Focus\\">Github</a>, YouTube has one billion hours whatched daily, and it’s recommendation algorithm generates more than 70% of views. That means 700.000.000 hours every single day. What means that the greatest slice of time that people spend on YouTube isnt because they searched for something to whatch or something to learn, it is because they were sugested by YouTube's algorithm.</p>
-",
-        "category": "digital",
-        "key": "/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/avoid-streaming.md",
-        "title": "Avoid streaming",
-      },
       Object {
         "body": "<h1>Calculate your browsing carbon impact and reduce it</h1>
 <p>They are several browser add-ons, mainly for Chrome and Firefox, that can help you decrease and understand better your digital carbon emissions.</p>
@@ -89,22 +93,18 @@ exports[`ActScreen renders correctly 1`] = `
 </ul>
 ",
         "category": "digital",
-        "key": "/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/internet-browsing-impact.md",
+        "key": ".//markdown/internet-browsing-impact.md",
         "title": "Reduce your browsing emissions",
       },
       Object {
-        "body": "<h1>Install an add blocker</h1>
-<p>All modern browser like Firefox, Safari, Chrome... let users the posibility to install add-ons, also name plugins or extensions.</p>
-<p>In order to not get ads or to see less ads, you can install the following browser extensions :</p>
-<ul>
-<li><a href=\\"https://addons.mozilla.org/da/firefox/addon/ghostery/\\">Ghostery</a>: built-in ad blocker removing advertisements from a web page to eliminate clutter so you can focus on the content you want. Protect your privacy, browse faster.</li>
-<li><a href=\\"https://addons.mozilla.org/da/firefox/addon/ublock-origin/\\">uBlock Origin</a> : content blocker with CPU and memory efficiency as a primary feature.</li>
-</ul>
-<p>Less ads, less compulsatory purchases, less CO2 emissions</p>
+        "body": "<h1>Buy a phone you can repair</h1>
+<p>A lot of people are changing their phones because the screen is damage, because they want a better camera or because the battery is not working well anymore.</p>
+<p>Changing phone every year is not sustainable and it's bad for the environement. To face this issue, a Dutch company, <a href=\\"https://www.fairphone.com/\\">Fairphone</a>, is making ethical and modular phone that you can fix and upgrade yourself.</p>
+<p>If you are on Android, installing an alternative rom like <a href=\\"https://lineageos.org/\\">LineageOS</a> can make your old phone faster and increase its lifespan.</p>
 ",
         "category": "digital",
-        "key": "/Users/pierrebresson/Documents/Git/nmf-app/assets//markdown/ad-blocker.md",
-        "title": "Install an add blocker",
+        "key": ".//markdown/repair-phone.md",
+        "title": "Get a phone you can repair/upgrade",
       },
     ]
   }
@@ -159,7 +159,7 @@ exports[`ActScreen renders correctly 1`] = `
             }
           }
         >
-          Clean your cloud data
+          Avoid streaming
         </Text.Secondary>
         <Ionicons
           color="#9CA6A0"
@@ -194,7 +194,7 @@ exports[`ActScreen renders correctly 1`] = `
             }
           }
         >
-          Find replacement for internet giants
+          Install an add blocker
         </Text.Secondary>
         <Ionicons
           color="#9CA6A0"
@@ -229,7 +229,7 @@ exports[`ActScreen renders correctly 1`] = `
             }
           }
         >
-          Get a phone you can repair/upgrade
+          Clean your cloud data
         </Text.Secondary>
         <Ionicons
           color="#9CA6A0"
@@ -264,7 +264,7 @@ exports[`ActScreen renders correctly 1`] = `
             }
           }
         >
-          Avoid streaming
+          Find replacement for internet giants
         </Text.Secondary>
         <Ionicons
           color="#9CA6A0"
@@ -334,7 +334,7 @@ exports[`ActScreen renders correctly 1`] = `
             }
           }
         >
-          Install an add blocker
+          Get a phone you can repair/upgrade
         </Text.Secondary>
         <Ionicons
           color="#9CA6A0"