From 45ecc5b5193bfdd18fcdb8366933f1ac4d6bd356 Mon Sep 17 00:00:00 2001 From: "kevin.modejar" Date: Thu, 24 Oct 2024 09:08:24 +0200 Subject: [PATCH] page quote --- src/Entity/.gitignore | 1 - vue/quote.html | 42 +++++++++++++++++++++++++++++------------- vue/quote.php | 16 ++++++++++++++++ 3 files changed, 45 insertions(+), 14 deletions(-) delete mode 100644 src/Entity/.gitignore create mode 100644 vue/quote.php diff --git a/src/Entity/.gitignore b/src/Entity/.gitignore deleted file mode 100644 index a725465..0000000 --- a/src/Entity/.gitignore +++ /dev/null @@ -1 +0,0 @@ -vendor/ \ No newline at end of file diff --git a/vue/quote.html b/vue/quote.html index 06de45d..395115d 100644 --- a/vue/quote.html +++ b/vue/quote.html @@ -1,15 +1,31 @@ - - - - - - - Wiki Fantasy : Citations - - + + +
+ {{ nameCarac }} +

+ + {{ quoteContent }} + +

+ + +
+
- - - - +
+ \ No newline at end of file diff --git a/vue/quote.php b/vue/quote.php new file mode 100644 index 0000000..30752cc --- /dev/null +++ b/vue/quote.php @@ -0,0 +1,16 @@ + false )); + $value = 'Salva'; + + echo $twig->render('quote.html', array( + 'srcImg' => "../default.jpg", + 'nameCarac' => "default", + 'quoteContent' => "je test la page", + 'sourceName' => "une source", + 'dateSortie' => "1999", + 'nbLike' => "0" +)); +?> \ No newline at end of file