diff --git a/frontend_nuxt/assets/global.css b/frontend_nuxt/assets/global.css index 0435f54e3..1d97aaaf4 100644 --- a/frontend_nuxt/assets/global.css +++ b/frontend_nuxt/assets/global.css @@ -35,6 +35,12 @@ --article-info-background-color: #f0f0f0; --activity-card-background-color: #fafafa; --poll-option-button-background-color: rgb(218, 218, 218); + --telegram-bg: #caedff74; + --telegram-bg-hover: #67a2c088; + --twitter-bg: rgb(68, 68, 68); + --twitter-bg-hover: rgb(91, 91, 91); + --discord-bg: #5865f258; + --discord-bg-hover: #5865f2b1; } [data-theme='dark'] { diff --git a/frontend_nuxt/assets/icons/discord.svg b/frontend_nuxt/assets/icons/discord.svg index 9d7796b8a..8a7058754 100644 --- a/frontend_nuxt/assets/icons/discord.svg +++ b/frontend_nuxt/assets/icons/discord.svg @@ -1 +1 @@ -Discord \ No newline at end of file + \ No newline at end of file diff --git a/frontend_nuxt/assets/icons/telegram.svg b/frontend_nuxt/assets/icons/telegram.svg index 14f6463df..d1b372488 100644 --- a/frontend_nuxt/assets/icons/telegram.svg +++ b/frontend_nuxt/assets/icons/telegram.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/frontend_nuxt/assets/icons/twitter.svg b/frontend_nuxt/assets/icons/twitter.svg index 42f23d845..1e02ffc21 100644 --- a/frontend_nuxt/assets/icons/twitter.svg +++ b/frontend_nuxt/assets/icons/twitter.svg @@ -1,4 +1 @@ - - Twitter icon - - + \ No newline at end of file diff --git a/frontend_nuxt/components/ThirdPartyAuth.vue b/frontend_nuxt/components/ThirdPartyAuth.vue index 3a4a9f2a5..103898547 100644 --- a/frontend_nuxt/components/ThirdPartyAuth.vue +++ b/frontend_nuxt/components/ThirdPartyAuth.vue @@ -7,8 +7,13 @@ :class="provider.name" @click="provider.action" > - -
+ +
{{ provider.label }}
@@ -68,7 +73,7 @@ const providers = computed(() => [ icon: twitterIcon, action: () => twitterAuthorize(props.inviteToken), alt: 'Twitter Logo', - label: `Twitter ${actionText.value}`, + label: `X ${actionText.value}`, }, { name: 'telegram', @@ -88,7 +93,7 @@ const providers = computed(() => [ align-items: center; justify-content: center; width: 30%; - gap: 20px; + gap: 11px; } .third-party-button { @@ -96,11 +101,11 @@ const providers = computed(() => [ flex-direction: row; align-items: center; justify-content: center; - padding: 10px 20px; + padding: 7px 20px; min-width: 150px; background-color: var(--login-background-color); border: 1px solid var(--normal-border-color); - border-radius: 10px; + border-radius: 20px; cursor: pointer; gap: 10px; } @@ -118,6 +123,10 @@ const providers = computed(() => [ font-size: 16px; } +.third-party-button-text.twitter { + color: rgb(182, 182, 182); +} + /* Provider specific classes for customization */ .third-party-button.google { background-color: var(--google-bg, var(--login-background-color));