diff --git a/docs/concept.mdx b/docs/concept.mdx index 92be476..ec3b34f 100644 --- a/docs/concept.mdx +++ b/docs/concept.mdx @@ -17,7 +17,22 @@ Bow est un framework PHP, écrit par **[Franck DAKIA](http://github.com/papac)** L'objectif est de permettre aux débutants qui souhaitent travailler sur un plus large projet et comprendre le fonctionnement du **développement collaboratif** de s'y mettre avec aisance et faire de ce framework une référence dans la communauté PHP. -**Faites-vous une idée en commençant par la [documentation](https://bowphp.com).** +```mermaid +graph TD + A[Requête HTTP] -->|Entrée utilisateur| B[Routeur] + B -->|Associe une route| C[Contrôleur] + C -->|Appelle la logique métier| D[Modèle] + D -->|Interaction| E[(Base de données)] + C -->|Retourne des données| F[Vue] + F -->|Génère la réponse HTML| G[Réponse HTTP] + + subgraph Framework BowPHP + B + C + D + F + end +``` ## Contributing diff --git a/docs/what-is-new.mdx b/docs/what-is-new.mdx deleted file mode 100644 index 76062ec..0000000 --- a/docs/what-is-new.mdx +++ /dev/null @@ -1,8 +0,0 @@ ---- -id: what-is-new -title: "🆕 Quoi de neuf" ---- - -import SuggestionFeature from "@site/src/components/Partials/SuggestionFeature"; - - diff --git a/docusaurus.config.js b/docusaurus.config.js index bdcd1a1..6366fb0 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -120,12 +120,6 @@ module.exports = { image: "/img/papacandco.png", infoLink: "mailto:papacservices@gmail.com", }, - // { - // caption: "Gelsen Dev", - // description: "La communauté des développeurs sénégalais.", - // image: "https://www.galsen.dev/_nuxt/img/galsen-dev.11b417e.webp", - // infoLink: "https://www.galsen.dev/", - // }, ], fans: [ { @@ -254,6 +248,9 @@ module.exports = { content: "php, bowphp, bow framework, tintin, routing, i18n, request, http", }, + { + name: 'twitter:card', content: 'summary_large_image' + }, ], navbar: { hideOnScroll: true, @@ -379,7 +376,6 @@ module.exports = { }, mermaid: { theme: { - light: "neutral", dark: "forest", }, }, @@ -389,4 +385,26 @@ module.exports = { }, }, themes: ["@docusaurus/theme-mermaid"], + headTags: [ + { + tagName: 'link', + attributes: { + rel: 'preconnect', + href: 'https://bowphp.com', + }, + }, + { + tagName: 'script', + attributes: { + type: 'application/ld+json', + }, + innerHTML: JSON.stringify({ + '@context': 'https://schema.org/', + '@type': 'Organization', + name: 'Bow Framework', + url: 'https://bowphp.com', + logo: 'https://bowphp.com/img/bow.png', + }), + }, + ], }; diff --git a/sidebars.json b/sidebars.json index 3978428..53f9019 100644 --- a/sidebars.json +++ b/sidebars.json @@ -1,7 +1,7 @@ { "docs": { "Démarrage": [ - "what-is-new", + "concept", "installation", "configuration", "structure",