4
.github/workflows/dev.yml
vendored
4
.github/workflows/dev.yml
vendored
@@ -2,6 +2,10 @@ name: Docker Build for Dev Branch
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- ".gitignore"
|
||||||
|
- "README.md"
|
||||||
|
- "LICENSE"
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -2,6 +2,10 @@ name: Docker Build and Push for Main Branch
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- ".gitignore"
|
||||||
|
- "README.md"
|
||||||
|
- "LICENSE"
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Retake's website based on [Nextly](https://github.com/surjithctly/nextly-templat
|
|||||||
### 1\. Clone this Repository
|
### 1\. Clone this Repository
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/Retake-EI/retake.fr
|
git clone https://github.com/Retake-IT/retake.fr
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2\. Navigate to the directory
|
### 2\. Navigate to the directory
|
||||||
@@ -27,9 +27,3 @@ pnpm install
|
|||||||
```
|
```
|
||||||
pnpm run dev
|
pnpm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## ToDo
|
|
||||||
|
|
||||||
- [ ] `Get const articles` out of product page
|
|
||||||
- [x] Check Grammar
|
|
||||||
- [ ] Review CI
|
|
||||||
@@ -12,13 +12,14 @@ const inter = Inter({ subsets: ["latin"] });
|
|||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Retake | Achat et revente de matériel informatique pour les professionnels",
|
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",
|
publisher: "Retake",
|
||||||
keywords: [
|
keywords: [
|
||||||
"seconde vie",
|
"seconde vie",
|
||||||
"revente matériel informatique",
|
"revente matériel informatique",
|
||||||
"recyclage informatique",
|
"recyclage informatique",
|
||||||
"revalorisation informatique",
|
"revalorisation informatique",
|
||||||
|
"reconditionnement",
|
||||||
"Retake",
|
"Retake",
|
||||||
"équipement informatique écoresponsable",
|
"équipement informatique écoresponsable",
|
||||||
],
|
],
|
||||||
@@ -37,7 +38,7 @@ export const metadata: Metadata = {
|
|||||||
},
|
},
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Retake | Achat et Revente de Matériel Informatique",
|
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",
|
url: "https://retake.fr",
|
||||||
siteName: "Retake",
|
siteName: "Retake",
|
||||||
images: [
|
images: [
|
||||||
@@ -54,7 +55,7 @@ export const metadata: Metadata = {
|
|||||||
twitter: {
|
twitter: {
|
||||||
card: "summary_large_image", // Optimisé pour les aperçus Twitter
|
card: "summary_large_image", // Optimisé pour les aperçus Twitter
|
||||||
title: "Retake | Achat et Revente de Matériel Informatique",
|
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"],
|
images: ["https://retake.fr/img/logo.png"],
|
||||||
},
|
},
|
||||||
icons: {
|
icons: {
|
||||||
|
|||||||
@@ -1,25 +1,5 @@
|
|||||||
import { Container } from "@/components/Container";
|
import { Container } from "@/components/Container";
|
||||||
|
import Products from "@/components/products";
|
||||||
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",
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
export default function ArticlesPage() {
|
export default function ArticlesPage() {
|
||||||
return (
|
return (
|
||||||
@@ -28,7 +8,7 @@ export default function ArticlesPage() {
|
|||||||
<h1 className="text-3xl font-bold text-center mb-8">Nos Articles</h1>
|
<h1 className="text-3xl font-bold text-center mb-8">Nos Articles</h1>
|
||||||
|
|
||||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
|
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||||
{articles.map((article, index) => (
|
{Products.map((article, index) => (
|
||||||
<div key={index} className="bg-white p-6 rounded-lg shadow-lg dark:bg-trueGray-800">
|
<div key={index} className="bg-white p-6 rounded-lg shadow-lg dark:bg-trueGray-800">
|
||||||
<img
|
<img
|
||||||
src={article.imageUrl}
|
src={article.imageUrl}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ const faqdata = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
question: "Quels types de matériel informatique acceptez-vous ?",
|
question: "Quels types de matériel informatique acceptez-vous ?",
|
||||||
answer: "Nous rachetons une large gamme d’équipements, incluant ordinateurs, serveurs, périphériques et autres matériels IT décommissionnés.",
|
answer: "Nous rachetons une large gamme d’équipements, incluant ordinateurs, serveurs, périphériques et autres matériels IT inutilisés.",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
question: "Nos données sont-elles protégées ?",
|
question: "Nos données sont-elles protégées ?",
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export const Hero = () => {
|
|||||||
Bienvenue chez Retake
|
Bienvenue chez Retake
|
||||||
</h1>
|
</h1>
|
||||||
<p className="py-5 text-xl leading-normal text-gray-500 lg:text-xl xl:text-2xl dark:text-gray-300">
|
<p className="py-5 text-xl leading-normal text-gray-500 lg:text-xl xl:text-2xl dark:text-gray-300">
|
||||||
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.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className="flex flex-col items-start space-y-3 sm:space-x-4 sm:space-y-0 sm:items-center sm:flex-row">
|
<div className="flex flex-col items-start space-y-3 sm:space-x-4 sm:space-y-0 sm:items-center sm:flex-row">
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ const benefitOne = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Revaloriser",
|
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: <ArrowPathRoundedSquareIcon />,
|
icon: <ArrowPathRoundedSquareIcon />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
22
src/components/products.js
Normal file
22
src/components/products.js
Normal file
@@ -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;
|
||||||
Reference in New Issue
Block a user