First Commit
This commit is contained in:
BIN
frontend/public/favicon.ico
Normal file
BIN
frontend/public/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
43
frontend/public/index.html
Normal file
43
frontend/public/index.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Web site created using create-react-app"
|
||||
/>
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is installed on a
|
||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||
-->
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
<!--
|
||||
Notice the use of %PUBLIC_URL% in the tags above.
|
||||
It will be replaced with the URL of the `public` folder during the build.
|
||||
Only files inside the `public` folder can be referenced from the HTML.
|
||||
|
||||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
||||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>GiecChallenge</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
<!--
|
||||
This HTML file is a template.
|
||||
If you open it directly in the browser, you will see an empty page.
|
||||
|
||||
You can add webfonts, meta tags, or analytics to this file.
|
||||
The build step will place the bundled scripts into the <body> tag.
|
||||
|
||||
To begin the development, run `npm start` or `yarn start`.
|
||||
To create a production bundle, use `npm run build` or `yarn build`.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
||||
5
frontend/public/locales/EN/Header.json
Normal file
5
frontend/public/locales/EN/Header.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"login" : "Login",
|
||||
"register" : "Register",
|
||||
"logout" : "Log out"
|
||||
}
|
||||
7
frontend/public/locales/EN/Home.json
Normal file
7
frontend/public/locales/EN/Home.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"createNewPurchase" : "Create new purchase",
|
||||
"createNewProduct" : "Create new product",
|
||||
"date": "Date",
|
||||
"CO2Cost": "CO2 cost",
|
||||
"WaterCost": "Water cost"
|
||||
}
|
||||
5
frontend/public/locales/EN/LineProduct.json
Normal file
5
frontend/public/locales/EN/LineProduct.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"product" : "Produit",
|
||||
"quantity" : "Quantity",
|
||||
"price" : "Price"
|
||||
}
|
||||
8
frontend/public/locales/EN/Login.json
Normal file
8
frontend/public/locales/EN/Login.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"login" : "Log in",
|
||||
"fillLogin" : "Please login to use the website",
|
||||
"logout" : "Log out",
|
||||
"emailPlaceholder" : "Enter your email",
|
||||
"passwordPlaceholder" : "Enter your password",
|
||||
"submit" : "Submit"
|
||||
}
|
||||
17
frontend/public/locales/EN/NewProduct.json
Normal file
17
frontend/public/locales/EN/NewProduct.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"addNewTranslation" : "Add another translation",
|
||||
"newGroup" : "New group",
|
||||
"group" : "Group",
|
||||
"groupSuccess" : "Group added",
|
||||
"newSubGroup" : "New sub group",
|
||||
"subGroup" : "Sub Group",
|
||||
"subGroupSuccess" : "Sub Group added",
|
||||
"newProduct" : "New product",
|
||||
"product" : "Product",
|
||||
"productSuccess" : "Product added",
|
||||
"language" : "Language",
|
||||
"CO2Emissions" : "CO2 Emissions",
|
||||
"waterEmissions" : "Water Emissions",
|
||||
"amortization" : "Amortization (in month)",
|
||||
"submit" : "Submit"
|
||||
}
|
||||
12
frontend/public/locales/EN/NewPurchase.json
Normal file
12
frontend/public/locales/EN/NewPurchase.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"title" : "Create new purchase",
|
||||
"typeOfPurchase" : "Type of purchase",
|
||||
"manual" : "Manual",
|
||||
"command" : "Command",
|
||||
"product" : "Products",
|
||||
"addNewProduct" : "Add product",
|
||||
"datePurchase" : "Purchase date",
|
||||
"submit" : "Submit",
|
||||
"currency" : "Currency",
|
||||
"back" : "Back"
|
||||
}
|
||||
11
frontend/public/locales/EN/Purchase.json
Normal file
11
frontend/public/locales/EN/Purchase.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"title" : "Purchase details",
|
||||
"addNewProduct" : "Add product",
|
||||
"product" : "Products",
|
||||
"CO2Cost" : "CO2 cost",
|
||||
"WaterCost" : "Water cost",
|
||||
"datePurchase" : "Purchase date",
|
||||
"submit" : "Submit",
|
||||
"currency" : "Currency",
|
||||
"back" : "Back"
|
||||
}
|
||||
5
frontend/public/locales/FR/Header.json
Normal file
5
frontend/public/locales/FR/Header.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"login" : "Connexion",
|
||||
"register" : "Inscription",
|
||||
"logout" : "Deconnexion"
|
||||
}
|
||||
7
frontend/public/locales/FR/Home.json
Normal file
7
frontend/public/locales/FR/Home.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"createNewPurchase" : "Créer une nouvelle liste d'achat",
|
||||
"createNewProduct" : "Créer un nouveau produit",
|
||||
"date": "Date",
|
||||
"CO2Cost": "Coût en CO2",
|
||||
"WaterCost": "Coût en eau"
|
||||
}
|
||||
5
frontend/public/locales/FR/LineProduct.json
Normal file
5
frontend/public/locales/FR/LineProduct.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"product" : "Produit",
|
||||
"quantity" : "Quantité",
|
||||
"price" : "Prix"
|
||||
}
|
||||
8
frontend/public/locales/FR/Login.json
Normal file
8
frontend/public/locales/FR/Login.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"login" : "Connexion",
|
||||
"fillLogin" : "Veuillez vous connecter pour accéder à l'application",
|
||||
"logout" : "Deconnexion",
|
||||
"emailPlaceholder" : "Saisissez votre email",
|
||||
"passwordPlaceholder" : "Saisissez votre mot de passe",
|
||||
"submit" : "Valider"
|
||||
}
|
||||
17
frontend/public/locales/FR/NewProduct.json
Normal file
17
frontend/public/locales/FR/NewProduct.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"newGroup" : "Nouveau groupe",
|
||||
"group" : "Groupe",
|
||||
"groupSuccess" : "Groupe ajouté",
|
||||
"addNewTranslation" : "Ajouter une traduction",
|
||||
"newSubGroup" : "Nouveau sous groupe",
|
||||
"subGroup" : "Sous groupe",
|
||||
"subGroupSuccess" : "Sous groupe ajouté",
|
||||
"newProduct" : "Nouveau produit",
|
||||
"product" : "Produit",
|
||||
"productSuccess" : "Produit ajouté",
|
||||
"language" : "Langue",
|
||||
"CO2Emissions" : "Emissions de CO2",
|
||||
"waterEmissions" : "Emissions d'eau",
|
||||
"amortization" : "Amortissement (en mois)",
|
||||
"submit" : "Valider"
|
||||
}
|
||||
12
frontend/public/locales/FR/NewPurchase.json
Normal file
12
frontend/public/locales/FR/NewPurchase.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"title" : "Créer une nouvelle liste d'achat",
|
||||
"typeOfPurchase" : "Type de liste d'achat",
|
||||
"manual" : "Manuel",
|
||||
"command" : "Commande",
|
||||
"product" : "Produits",
|
||||
"addNewProduct" : "Ajouter un produit",
|
||||
"datePurchase" : "Date d'achat",
|
||||
"submit" : "Valider",
|
||||
"currency" : "Devise",
|
||||
"back" : "Retour"
|
||||
}
|
||||
11
frontend/public/locales/FR/Purchase.json
Normal file
11
frontend/public/locales/FR/Purchase.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"title" : "Créer une nouvelle liste d'achat",
|
||||
"addNewProduct" : "Ajouter un produit",
|
||||
"product" : "Produits",
|
||||
"CO2Cost" : "Coût en CO2",
|
||||
"WaterCost" : "Coût en eau",
|
||||
"datePurchase" : "Date d'achat",
|
||||
"submit" : "Valider",
|
||||
"currency" : "Devise",
|
||||
"back" : "Retour"
|
||||
}
|
||||
BIN
frontend/public/logo192.png
Normal file
BIN
frontend/public/logo192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
BIN
frontend/public/logo512.png
Normal file
BIN
frontend/public/logo512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
25
frontend/public/manifest.json
Normal file
25
frontend/public/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "logo192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "logo512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#ffffff"
|
||||
}
|
||||
2
frontend/public/robots.txt
Normal file
2
frontend/public/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
# https://www.robotstxt.org/robotstxt.html
|
||||
User-agent: *
|
||||
Reference in New Issue
Block a user