diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 98d5566..ee9b741 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -2,6 +2,10 @@ name: Docker Build for Dev Branch on: push: + paths-ignore: + - ".gitignore" + - "README.md" + - "LICENSE" branches: - dev diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c56d4ef..04a490f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,10 @@ name: Docker Build and Push for Main Branch on: push: + paths-ignore: + - ".gitignore" + - "README.md" + - "LICENSE" branches: - main diff --git a/README.md b/README.md index c13c75c..46231af 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Retake's website based on [Nextly](https://github.com/surjithctly/nextly-templat ### 1\. Clone this Repository ```bash -git clone https://github.com/Retake-EI/retake.fr +git clone https://github.com/Retake-IT/retake.fr ``` ### 2\. Navigate to the directory @@ -26,10 +26,4 @@ pnpm install ``` pnpm run dev -``` - -## ToDo - -- [ ] `Get const articles` out of product page -- [x] Check Grammar -- [ ] Review CI \ No newline at end of file +``` \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7cdc520..ee645b0 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -12,13 +12,14 @@ const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { title: "Retake | Achat et revente de matériel informatique pour les professionnels", - description: "Découvrez Retake: rachat et revalorisation de matériel informatique pour les professionnels. Recyclez et valorisez vos équipements !", + description: "Découvrez Retake: rachat et reconditionnement de matériel informatique pour les professionnels. Recyclez et valorisez vos équipements !", publisher: "Retake", keywords: [ "seconde vie", "revente matériel informatique", "recyclage informatique", "revalorisation informatique", + "reconditionnement", "Retake", "équipement informatique écoresponsable", ], @@ -37,7 +38,7 @@ export const metadata: Metadata = { }, openGraph: { title: "Retake | Achat et Revente de Matériel Informatique", - description: "Achetez, revendez et valorisez du matériel informatique chez Retake. Un service destiné aux pros, particuliers et associations pour des solutions écoresponsables.", + description: "Achetez, revendez et valorisez du matériel informatique chez Retake. Un service destiné aux pros pour des solutions écoresponsables.", url: "https://retake.fr", siteName: "Retake", images: [ @@ -54,7 +55,7 @@ export const metadata: Metadata = { twitter: { card: "summary_large_image", // Optimisé pour les aperçus Twitter title: "Retake | Achat et Revente de Matériel Informatique", - description: "Revalorisez et recyclez votre matériel informatique chez Retake, le service pour les pros.", + description: "Reconditionnez et recyclez votre matériel informatique chez Retake, le service pour les pros.", images: ["https://retake.fr/img/logo.png"], }, icons: { diff --git a/src/app/produits/page.tsx b/src/app/produits/page.tsx index 13125a7..47b1a87 100644 --- a/src/app/produits/page.tsx +++ b/src/app/produits/page.tsx @@ -1,25 +1,5 @@ import { Container } from "@/components/Container"; - -const articles = [ - { - imageUrl: "https://img.leboncoin.fr/api/v1/lbcpb1/images/02/60/84/026084690ccdb649efa30f07c2228736a8e6f5a7.jpg?rule=classified-1200x800-webp", - title: "Serveur Workstation HP Z440", - description: "Serveur / Workstation / Ordinateur de CAO", - url: "https://www.leboncoin.fr/ad/ordinateurs/2851218069", - }, - { - imageUrl: "https://img.leboncoin.fr/api/v1/lbcpb1/images/de/4e/73/de4e73c704bb22a74493b93bd6d07e4a522ab3ae.jpg?rule=classified-1200x800-webp", - title: "Mini ordinateur Lenovo tiny m72e", - description: "Mini PC Lenovo tiny ThinkCenter m72e", - url: "https://www.leboncoin.fr/ad/ordinateurs/2859959432", - }, - { - imageUrl: "https://img.leboncoin.fr/api/v1/lbcpb1/images/78/dc/ce/78dcce7f5f4c98298a4446af25bc2b4358ecac5f.jpg?rule=classified-1200x800-webp", - title: "Imprimante HP LaserJet Pro 400 m401dn", - description: "Imprimante Laser HP m401dn", - url: "https://www.leboncoin.fr/ad/accessoires_informatique/2889667257", - }, -]; +import Products from "@/components/products"; export default function ArticlesPage() { return ( @@ -28,7 +8,7 @@ export default function ArticlesPage() {

Nos Articles

- {articles.map((article, index) => ( + {Products.map((article, index) => (
{ Bienvenue chez Retake

- Nous simplifions la gestion de votre matériel informatique décommissionné, tout en offrant des solutions abordables pour les particuliers et les associations. + Nous simplifions la gestion de votre matériel informatique inutilisé, tout en offrant des solutions abordables pour les particuliers et les associations.

diff --git a/src/components/data.js b/src/components/data.js index fc18600..882ce4d 100644 --- a/src/components/data.js +++ b/src/components/data.js @@ -22,7 +22,7 @@ const benefitOne = { }, { title: "Revaloriser", - desc: "Votre matériel trouve une seconde vie utile et durable.", + desc: "Votre matériel trouve une seconde vie, utile et durable.", icon: , }, { diff --git a/src/components/products.js b/src/components/products.js new file mode 100644 index 0000000..ab70ffc --- /dev/null +++ b/src/components/products.js @@ -0,0 +1,22 @@ +const Products = [ + { + imageUrl: "https://img.leboncoin.fr/api/v1/lbcpb1/images/02/60/84/026084690ccdb649efa30f07c2228736a8e6f5a7.jpg?rule=classified-1200x800-webp", + title: "Serveur Workstation HP Z440", + description: "Serveur / Workstation / Ordinateur de CAO", + url: "https://www.leboncoin.fr/ad/ordinateurs/2851218069", + }, + { + imageUrl: "https://img.leboncoin.fr/api/v1/lbcpb1/images/de/4e/73/de4e73c704bb22a74493b93bd6d07e4a522ab3ae.jpg?rule=classified-1200x800-webp", + title: "Mini ordinateur Lenovo tiny m72e", + description: "Mini PC Lenovo tiny ThinkCenter m72e", + url: "https://www.leboncoin.fr/ad/ordinateurs/2859959432", + }, + { + imageUrl: "https://img.leboncoin.fr/api/v1/lbcpb1/images/78/dc/ce/78dcce7f5f4c98298a4446af25bc2b4358ecac5f.jpg?rule=classified-1200x800-webp", + title: "Imprimante HP LaserJet Pro 400 m401dn", + description: "Imprimante Laser HP m401dn", + url: "https://www.leboncoin.fr/ad/accessoires_informatique/2889667257", + }, + ]; + +export default Products; \ No newline at end of file