From 9a6405e418804f6c9c47c845687715e080d16092 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Tue, 16 Jul 2024 11:04:21 +0200 Subject: [PATCH] account infos --- assets/styles/_account.scss | 6 ++++++ assets/styles/app.scss | 1 + templates/account/base.html.twig | 8 ++++++-- templates/account/index.html.twig | 7 ++++++- templates/account/nav.html.twig | 5 +++++ templates/common/nav.html.twig | 19 ++++++++++--------- 6 files changed, 34 insertions(+), 12 deletions(-) create mode 100644 assets/styles/_account.scss diff --git a/assets/styles/_account.scss b/assets/styles/_account.scss new file mode 100644 index 0000000..acafc4e --- /dev/null +++ b/assets/styles/_account.scss @@ -0,0 +1,6 @@ +#account_main{ + menu{ + width: 10rem; + padding: 1rem; + } +} diff --git a/assets/styles/app.scss b/assets/styles/app.scss index 30d091a..e8dc4d6 100644 --- a/assets/styles/app.scss +++ b/assets/styles/app.scss @@ -1,6 +1,7 @@ @import 'variables'; @import 'global'; @import 'nav'; +@import 'account'; @import 'forms'; @import 'clickables'; diff --git a/templates/account/base.html.twig b/templates/account/base.html.twig index 88c4847..c50c2c0 100644 --- a/templates/account/base.html.twig +++ b/templates/account/base.html.twig @@ -5,8 +5,12 @@ {% block body %}
- {% include 'account/nav.html.twig' %} - {% block account_body %}{% endblock %} +
+ {% include 'account/nav.html.twig' %} +
+
+ {% block account_body %}{% endblock %} +
{% endblock body %} diff --git a/templates/account/index.html.twig b/templates/account/index.html.twig index 33a833c..d606d82 100644 --- a/templates/account/index.html.twig +++ b/templates/account/index.html.twig @@ -9,8 +9,13 @@

Mon compte

+ modifier mes informations

- Coucou! + Coucou {{ app.user.email }}! +

+

+ Votre description: + {{ app.user.description }}