+
+
\ No newline at end of file
diff --git a/src/components/FooterWithCta.astro b/src/components/FooterWithCta.astro
new file mode 100644
index 0000000..0733af5
--- /dev/null
+++ b/src/components/FooterWithCta.astro
@@ -0,0 +1,67 @@
+---
+import type { Props } from '@astrojs/starlight/props';
+
+import EditLink from 'virtual:starlight/components/EditLink';
+import LastUpdated from 'virtual:starlight/components/LastUpdated';
+import Pagination from 'virtual:starlight/components/Pagination';
+import config from 'virtual:starlight/user-config';
+import {Icon} from '@astrojs/starlight/components';
+import CTA from "../content/components/CTA.astro";
+
+const { entry, ...props } = Astro.props;
+---
+
+
+
+
diff --git a/src/components/TwoColumnContent.astro b/src/components/TwoColumnContent.astro
new file mode 100644
index 0000000..81d705a
--- /dev/null
+++ b/src/components/TwoColumnContent.astro
@@ -0,0 +1,22 @@
+---
+import Default from '@astrojs/starlight/components/TwoColumnContent.astro';
+
+const { entry, ...props } = Astro.props;
+
+const isProd = import.meta.env.PROD;
+const isDev = import.meta.env.DEV;
+---
+
+
+
+
+
+ {isDev &&
+
+ Débug
+
{Object.keys(Astro.props).toString()}
+
{Object.keys(entry).toString()}
+
{Object.keys(entry.data).toString()}
+
+ }
+
\ No newline at end of file
diff --git a/src/content.config.ts b/src/content.config.ts
index d9ee8c9..6bf2f6e 100644
--- a/src/content.config.ts
+++ b/src/content.config.ts
@@ -1,7 +1,14 @@
-import { defineCollection } from 'astro:content';
+import { z, defineCollection } from 'astro:content';
import { docsLoader } from '@astrojs/starlight/loaders';
import { docsSchema } from '@astrojs/starlight/schema';
export const collections = {
- docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
-};
+ docs: defineCollection({
+ loader: docsLoader(),
+ schema: docsSchema({
+ extend: z.object({
+ cta: z.string().optional(),
+ })
+ })
+ }),
+};
\ No newline at end of file
diff --git a/src/content/components/CTA.astro b/src/content/components/CTA.astro
new file mode 100644
index 0000000..2fea63f
--- /dev/null
+++ b/src/content/components/CTA.astro
@@ -0,0 +1,12 @@
+---
+import {Icon} from '@astrojs/starlight/components';
+import type { Icons } from '@astrojs/starlight/components/Icons';
+
+interface Props {
+ icon?: keyof typeof Icons;
+ title?: string;
+}
+const { icon, title } = Astro.props;
+---
+
+{title ?? "title"}{icon && }
\ No newline at end of file
diff --git a/src/content/docs/fr/guides/licences/copyleft.mdx b/src/content/docs/fr/guides/licences/copyleft.mdx
new file mode 100644
index 0000000..2f54e1b
--- /dev/null
+++ b/src/content/docs/fr/guides/licences/copyleft.mdx
@@ -0,0 +1,8 @@
+---
+title: Copyleft
+description: Copyleft
+author: L'équipe OSQ
+lastUpdated: 2025-03-05
+draft: false
+cta: https://www.gnu.org/philosophy/free-sw.html
+---
\ No newline at end of file
diff --git a/src/content/docs/fr/guides/licences/unlicenced.mdx b/src/content/docs/fr/guides/licences/unlicenced.mdx
new file mode 100644
index 0000000..46b4cf9
--- /dev/null
+++ b/src/content/docs/fr/guides/licences/unlicenced.mdx
@@ -0,0 +1,14 @@
+---
+title: Unlicense
+description: Permet de publier votre code dans le domaine public plus facilement grâce au travail qui a été fait pour SQLite
+author: L'équipe OSQ
+lastUpdated: 2025-03-05
+draft: false
+cta: https://unlicense.org/
+---
+
+## La grosse différence avec le copyleft
+
+C'est qu'il y a eu un travail légal fait pour libérer les droits des contributeurs et la même protection de sans garantie comme la licence MIT.
+
+https://ar.to/2010/01/dissecting-the-unlicense
\ No newline at end of file
diff --git a/src/sidebars/fr/sidebar.ts b/src/sidebars/fr/sidebar.ts
index 54f628f..6492e53 100644
--- a/src/sidebars/fr/sidebar.ts
+++ b/src/sidebars/fr/sidebar.ts
@@ -36,6 +36,12 @@
},
{
slug: 'guides/licences/mit'
+ },
+ {
+ slug: 'guides/licences/unlicenced'
+ },
+ {
+ slug: 'guides/licences/copyleft'
}
]
},