Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Updated external connection ui #46

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions resources/views/livewire/profile/connections-page.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,23 @@ class="w-full justify-center sm:w-auto"
</div>
@if ($this->isConnected('github'))
<div
class="mt-3 w-fit rounded-lg border border-gray-300 bg-gray-800 p-1.5 text-xs dark:border-gray-700"
class="mt-3 w-fit rounded-[0.70rem] border border-gray-200 bg-gray-50 p-2 text-xs text-gray-800 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-100"
>
{{ __('Connected as') }}
<a
target="_blank"
class="underline"
href="{{ $this->contactProvider('github')['link'] }}"
>
{{ $this->contactProvider('github')['username'] }}
</a>
<img
src="{{ $this->contactProvider('github')['avatar_url'] }}"
title="{{ __('GitHub avatar') }}"
class="mx-3 inline h-5 w-5 rounded-full"
/>
<div class="mx-1.5">
{{ __('Connected as') }}:
<img
src="{{ $this->contactProvider('github')['avatar_url'] }}"
title="{{ __('GitHub avatar') }}"
class="mx-1 inline h-6 w-6 overflow-hidden rounded-full border border-gray-600 dark:border-gray-600"
/>
<a
target="_blank"
class="text-ellipsis text-gray-800 underline ease-in-out hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-400"
href="{{ $this->contactProvider('github')['link'] }}"
>
{{ $this->contactProvider('github')['username'] }}
</a>
</div>
</div>
@endif
</div>
Expand Down
Loading