From 38a3cc4819bf4550cea7ab15c0fb64f91df410e4 Mon Sep 17 00:00:00 2001 From: Raul Vitor Lucena Brito Date: Fri, 14 Mar 2025 16:51:39 -0300 Subject: [PATCH 01/36] =?UTF-8?q?Cria=20componente=20para=20integra=C3=A7?= =?UTF-8?q?=C3=A3o=20do=20gov-br=20/=20apenas=20front?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sass/4-components/_c-login-govbr.scss | 20 ++++++++++ assets-src/sass/plugin-MultiplLocalAuth.scss | 1 + components/login-govbr/script.js | 28 ++++++++++++++ components/login-govbr/template.php | 38 +++++++++++++++++++ components/login/template.php | 3 ++ 5 files changed, 90 insertions(+) create mode 100644 assets-src/sass/4-components/_c-login-govbr.scss create mode 100644 components/login-govbr/script.js create mode 100644 components/login-govbr/template.php diff --git a/assets-src/sass/4-components/_c-login-govbr.scss b/assets-src/sass/4-components/_c-login-govbr.scss new file mode 100644 index 0000000..71d4d43 --- /dev/null +++ b/assets-src/sass/4-components/_c-login-govbr.scss @@ -0,0 +1,20 @@ +.login-govbr { + + + &__content { + display: grid; + gap: 20px; + max-width: 520px; + } + + .govbr { + background-color: #1351b4; + color: #FFFFFF; + margin-top: 23px; + + > img { + width: 50px; + height: 100%; + } + } +} \ No newline at end of file diff --git a/assets-src/sass/plugin-MultiplLocalAuth.scss b/assets-src/sass/plugin-MultiplLocalAuth.scss index cfa0541..54c7ac5 100755 --- a/assets-src/sass/plugin-MultiplLocalAuth.scss +++ b/assets-src/sass/plugin-MultiplLocalAuth.scss @@ -16,6 +16,7 @@ /* ----- 4: COMPONENTS ------- */ @import '4-components/c-change-password'; @import '4-components/c-create-account'; +@import '4-components/c-login-govbr'; @import '4-components/c-login'; diff --git a/components/login-govbr/script.js b/components/login-govbr/script.js new file mode 100644 index 0000000..1440d97 --- /dev/null +++ b/components/login-govbr/script.js @@ -0,0 +1,28 @@ +app.component('login-govbr', { + template: $TEMPLATES['login-govbr'], + + setup() { + }, + + data() { + }, + + props: { + config: { + type: String, + required: true + } + }, + + mounted() { + }, + + computed: { + configs() { + return JSON.parse(this.config); + }, + }, + + methods: { + }, +}); diff --git a/components/login-govbr/template.php b/components/login-govbr/template.php new file mode 100644 index 0000000..1455239 --- /dev/null +++ b/components/login-govbr/template.php @@ -0,0 +1,38 @@ + + +
+ + + + + +
+ + \ No newline at end of file diff --git a/components/login/template.php b/components/login/template.php index 1ddbe24..3df1343 100644 --- a/components/login/template.php +++ b/components/login/template.php @@ -9,6 +9,7 @@ $this->import(' mc-card + login-govbr password-strongness '); ?> @@ -43,6 +44,8 @@
+ +
From bade7df35ff2ec7d7d9fa9afd0903362199a5cc9 Mon Sep 17 00:00:00 2001 From: Raul Vitor Lucena Brito Date: Mon, 17 Mar 2025 15:50:28 -0300 Subject: [PATCH 02/36] =?UTF-8?q?Ajustes=20no=20componente=20de=20vincula?= =?UTF-8?q?=C3=A7=C3=A3o=20ao=20gov-br?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets-src/sass/4-components/_c-login-govbr.scss | 2 -- components/login-govbr/script.js | 12 ------------ components/login-govbr/template.php | 4 +--- components/login/template.php | 8 ++++---- 4 files changed, 5 insertions(+), 21 deletions(-) diff --git a/assets-src/sass/4-components/_c-login-govbr.scss b/assets-src/sass/4-components/_c-login-govbr.scss index 71d4d43..06a9e00 100644 --- a/assets-src/sass/4-components/_c-login-govbr.scss +++ b/assets-src/sass/4-components/_c-login-govbr.scss @@ -1,6 +1,4 @@ .login-govbr { - - &__content { display: grid; gap: 20px; diff --git a/components/login-govbr/script.js b/components/login-govbr/script.js index 1440d97..d3be01a 100644 --- a/components/login-govbr/script.js +++ b/components/login-govbr/script.js @@ -1,12 +1,6 @@ app.component('login-govbr', { template: $TEMPLATES['login-govbr'], - setup() { - }, - - data() { - }, - props: { config: { type: String, @@ -14,15 +8,9 @@ app.component('login-govbr', { } }, - mounted() { - }, - computed: { configs() { return JSON.parse(this.config); }, }, - - methods: { - }, }); diff --git a/components/login-govbr/template.php b/components/login-govbr/template.php index 1455239..62a7a7d 100644 --- a/components/login-govbr/template.php +++ b/components/login-govbr/template.php @@ -33,6 +33,4 @@ -
- - \ No newline at end of file +
\ No newline at end of file diff --git a/components/login/template.php b/components/login/template.php index 3df1343..f619f73 100644 --- a/components/login/template.php +++ b/components/login/template.php @@ -44,8 +44,6 @@
- -
@@ -53,10 +51,12 @@