Add back link, remove unused code, fix mobile menu margins
This commit is contained in:
parent
66a41ff85b
commit
df903f2663
|
|
@ -29,19 +29,23 @@ const clickLink = (to: string) => {
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div class="flex border-b border-gray-500 -mx-8 px-8 pb-4">
|
<div class="border-b border-gray-500 -mx-4 px-8 pb-4">
|
||||||
<div v-if="user.avatar_url">
|
<div class="-ml-4 flex">
|
||||||
<img class="inline-block h-16 w-16 rounded-full"
|
<div
|
||||||
:src="user.avatar_url"
|
v-if="user.avatar_url"
|
||||||
alt=""/>
|
>
|
||||||
</div>
|
<img class="inline-block h-16 w-16 rounded-full"
|
||||||
<div class="ml-6">
|
:src="user.avatar_url"
|
||||||
<h3>{{user.first_name}} {{user.last_name}}</h3>
|
alt=""/>
|
||||||
<button
|
</div>
|
||||||
@click="clickLink('/profile')"
|
<div class="ml-6">
|
||||||
class="mt-2 inline-block items-center">
|
<h3>{{user.first_name}} {{user.last_name}}</h3>
|
||||||
<IconSettings class="inline-block" /><span class="ml-3">Kontoeinstellungen</span>
|
<button
|
||||||
</button>
|
@click="clickLink('/profile')"
|
||||||
|
class="mt-2 inline-block items-center">
|
||||||
|
<IconSettings class="inline-block" /><span class="ml-3">Kontoeinstellungen</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ const closeModal = () => {
|
||||||
<Transition mode="in-out">
|
<Transition mode="in-out">
|
||||||
<div
|
<div
|
||||||
v-if="show"
|
v-if="show"
|
||||||
class="circle-overview px-4 py-16 lg:px-16 lg:py-24 fixed top-0 overflow-y-scroll bg-white h-full w-full">
|
class="px-4 py-16 lg:px-16 lg:py-24 fixed top-0 overflow-y-scroll bg-white h-full w-full">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="w-8 h-8 absolute right-4 top-4 cursor-pointer"
|
class="w-8 h-8 absolute right-4 top-4 cursor-pointer"
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,15 @@ onMounted(async () => {
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<div class="circle">
|
<div class="circle">
|
||||||
<div class="flex flex-col lg:flex-row">
|
<div class="flex flex-col lg:flex-row">
|
||||||
<div class="flex-initial lg:w-128 px-4 py-4 lg:px-8 lg:py-8">
|
<div class="flex-initial lg:w-128 px-4 py-4 lg:px-8 lg:pt-4">
|
||||||
|
<router-link
|
||||||
|
to="/learningpath/versicherungsvermittlerin"
|
||||||
|
class="btn-text inline-flex items-center px-3 py-4 font-normal"
|
||||||
|
>
|
||||||
|
<it-icon-arrow-left class="-ml-1 mr-1 h-5 w-5"></it-icon-arrow-left>
|
||||||
|
<span class="hidden lg:inline">zurück zum Lernpfad</span>
|
||||||
|
</router-link>
|
||||||
|
|
||||||
<h1 class="text-blue-dark text-7xl">
|
<h1 class="text-blue-dark text-7xl">
|
||||||
{{ circleStore.circle?.title }}
|
{{ circleStore.circle?.title }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
|
||||||
|
|
@ -2,17 +2,6 @@ from authlib.integrations.django_client import OAuth
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
# # https://docs.authlib.org/en/latest/client/frameworks.html#frameworks-clients
|
# # https://docs.authlib.org/en/latest/client/frameworks.html#frameworks-clients
|
||||||
# def fetch_token(_name, request):
|
|
||||||
# try:
|
|
||||||
# token = OAuth2Token.objects.get(
|
|
||||||
# user=request.user
|
|
||||||
# )
|
|
||||||
# return token.to_token()
|
|
||||||
# except (OAuth2Token.DoesNotExist, TypeError):
|
|
||||||
# return None
|
|
||||||
|
|
||||||
|
|
||||||
# oauth = OAuth(fetch_token=fetch_token)
|
|
||||||
oauth = OAuth()
|
oauth = OAuth()
|
||||||
oauth.register(
|
oauth.register(
|
||||||
name=settings.OAUTH["client_name"],
|
name=settings.OAUTH["client_name"],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue