feat: better empty state illustratils in profile and error pages

This commit is contained in:
liyasthomas
2021-11-15 20:59:07 +05:30
parent 7a6d117a76
commit 4a8efbf426
32 changed files with 57 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
<template> <template>
<div class="page page-error"> <div class="page page-error">
<img
:src="`/images/states/${$colorMode.value}/youre_lost.svg`"
loading="lazy"
class="flex-col my-4 object-contain object-center h-46 w-46 inline-flex"
:alt="message"
/>
<h1 class="mb-4 text-4xl heading">{{ statusCode }}</h1> <h1 class="mb-4 text-4xl heading">{{ statusCode }}</h1>
<h3 class="select-text">{{ message }}</h3> <h3 class="select-text">{{ message }}</h3>
<p class="mt-4"> <p class="mt-4">

View File

@@ -146,6 +146,7 @@
"members": "Span is leeg", "members": "Span is leeg",
"parameters": "Hierdie versoek het geen parameters nie", "parameters": "Hierdie versoek het geen parameters nie",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protokolle is leeg", "protocols": "Protokolle is leeg",
"schema": "Koppel aan 'n GraphQL -eindpunt", "schema": "Koppel aan 'n GraphQL -eindpunt",
"team_name": "Spannaam leeg", "team_name": "Spannaam leeg",

View File

@@ -146,6 +146,7 @@
"members": "الفريق فارغ", "members": "الفريق فارغ",
"parameters": "هذا الطلب لا يحتوي على أي معلمات", "parameters": "هذا الطلب لا يحتوي على أي معلمات",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "البروتوكولات فارغة", "protocols": "البروتوكولات فارغة",
"schema": "اتصل بنقطة نهاية GraphQL", "schema": "اتصل بنقطة نهاية GraphQL",
"team_name": "اسم الفريق فارغ", "team_name": "اسم الفريق فارغ",

View File

@@ -146,6 +146,7 @@
"members": "Lequip està buit", "members": "Lequip està buit",
"parameters": "Aquesta sol·licitud no té cap paràmetre", "parameters": "Aquesta sol·licitud no té cap paràmetre",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Els protocols estan buits", "protocols": "Els protocols estan buits",
"schema": "Connecteu-vos a un punt final GraphQL", "schema": "Connecteu-vos a un punt final GraphQL",
"team_name": "El nom de l'equip és buit", "team_name": "El nom de l'equip és buit",

View File

@@ -146,6 +146,7 @@
"members": "团队为空", "members": "团队为空",
"parameters": "该请求没有任何参数", "parameters": "该请求没有任何参数",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "协议为空", "protocols": "协议为空",
"schema": "连接至 GraphQL 端点", "schema": "连接至 GraphQL 端点",
"team_name": "团队名称为空", "team_name": "团队名称为空",

View File

@@ -146,6 +146,7 @@
"members": "Tým je prázdný", "members": "Tým je prázdný",
"parameters": "Tento požadavek nemá žádné parametry", "parameters": "Tento požadavek nemá žádné parametry",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protokoly jsou prázdné", "protocols": "Protokoly jsou prázdné",
"schema": "Připojte se ke koncovému bodu GraphQL", "schema": "Připojte se ke koncovému bodu GraphQL",
"team_name": "Název týmu prázdný", "team_name": "Název týmu prázdný",

View File

@@ -146,6 +146,7 @@
"members": "Holdet er tomt", "members": "Holdet er tomt",
"parameters": "Denne anmodning har ingen parametre", "parameters": "Denne anmodning har ingen parametre",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protokoller er tomme", "protocols": "Protokoller er tomme",
"schema": "Opret forbindelse til et GraphQL -slutpunkt", "schema": "Opret forbindelse til et GraphQL -slutpunkt",
"team_name": "Teamnavn er tomt", "team_name": "Teamnavn er tomt",

View File

@@ -146,6 +146,7 @@
"members": "Team ist leer", "members": "Team ist leer",
"parameters": "Diese Anfrage hat keine Parameter", "parameters": "Diese Anfrage hat keine Parameter",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protokolle sind leer", "protocols": "Protokolle sind leer",
"schema": "Verbinden mit einem GraphQL-Endpunkt", "schema": "Verbinden mit einem GraphQL-Endpunkt",
"team_name": "Teamname leer", "team_name": "Teamname leer",

View File

@@ -146,6 +146,7 @@
"members": "Η ομάδα είναι άδεια", "members": "Η ομάδα είναι άδεια",
"parameters": "Αυτό το αίτημα δεν έχει παραμέτρους", "parameters": "Αυτό το αίτημα δεν έχει παραμέτρους",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Τα πρωτόκολλα είναι κενά", "protocols": "Τα πρωτόκολλα είναι κενά",
"schema": "Συνδεθείτε σε ένα τελικό σημείο GraphQL", "schema": "Συνδεθείτε σε ένα τελικό σημείο GraphQL",
"team_name": "Το όνομα της ομάδας είναι κενό", "team_name": "Το όνομα της ομάδας είναι κενό",

View File

@@ -146,6 +146,7 @@
"members": "Team is empty", "members": "Team is empty",
"parameters": "This request does not have any parameters", "parameters": "This request does not have any parameters",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protocols are empty", "protocols": "Protocols are empty",
"schema": "Connect to a GraphQL endpoint to view schema", "schema": "Connect to a GraphQL endpoint to view schema",
"team_name": "Team name empty", "team_name": "Team name empty",

View File

@@ -146,6 +146,7 @@
"members": "El equipo está vacío", "members": "El equipo está vacío",
"parameters": "Esta petición no tiene ningún parámetro", "parameters": "Esta petición no tiene ningún parámetro",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Los protocolos están vacíos", "protocols": "Los protocolos están vacíos",
"schema": "Conectarse a un endpoint GraphQL", "schema": "Conectarse a un endpoint GraphQL",
"team_name": "Nombre del equipo vacío", "team_name": "Nombre del equipo vacío",

View File

@@ -146,6 +146,7 @@
"members": "Joukkue on tyhjä", "members": "Joukkue on tyhjä",
"parameters": "Tässä pyynnössä ei ole parametreja", "parameters": "Tässä pyynnössä ei ole parametreja",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protokollat ovat tyhjiä", "protocols": "Protokollat ovat tyhjiä",
"schema": "Muodosta yhteys GraphQL -päätepisteeseen", "schema": "Muodosta yhteys GraphQL -päätepisteeseen",
"team_name": "Joukkueen nimi tyhjä", "team_name": "Joukkueen nimi tyhjä",

View File

@@ -146,6 +146,7 @@
"members": "L'équipe est vide", "members": "L'équipe est vide",
"parameters": "Cette requête n'a aucun paramètre", "parameters": "Cette requête n'a aucun paramètre",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Les protocoles sont vides", "protocols": "Les protocoles sont vides",
"schema": "Se connecter à un point de terminaison GraphQL", "schema": "Se connecter à un point de terminaison GraphQL",
"team_name": "Nom de l'équipe vide", "team_name": "Nom de l'équipe vide",

View File

@@ -146,6 +146,7 @@
"members": "הקבוצה ריקה", "members": "הקבוצה ריקה",
"parameters": "לבקשה זו אין פרמטרים", "parameters": "לבקשה זו אין פרמטרים",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "הפרוטוקולים ריקים", "protocols": "הפרוטוקולים ריקים",
"schema": "התחבר לנקודת קצה של GraphQL", "schema": "התחבר לנקודת קצה של GraphQL",
"team_name": "שם הקבוצה ריק", "team_name": "שם הקבוצה ריק",

View File

@@ -146,6 +146,7 @@
"members": "A csapat üres", "members": "A csapat üres",
"parameters": "Ennek a kérésnek nincsenek paraméterei", "parameters": "Ennek a kérésnek nincsenek paraméterei",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "A protokollok üresek", "protocols": "A protokollok üresek",
"schema": "Csatlakozás GraphQL végponthoz", "schema": "Csatlakozás GraphQL végponthoz",
"team_name": "A csapat neve üres", "team_name": "A csapat neve üres",

View File

@@ -146,6 +146,7 @@
"members": "La squadra è vuota", "members": "La squadra è vuota",
"parameters": "Questa richiesta non ha parametri", "parameters": "Questa richiesta non ha parametri",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "I protocolli sono vuoti", "protocols": "I protocolli sono vuoti",
"schema": "Connettiti a un endpoint GraphQL", "schema": "Connettiti a un endpoint GraphQL",
"team_name": "Nome della squadra vuoto", "team_name": "Nome della squadra vuoto",

View File

@@ -146,6 +146,7 @@
"members": "チームは空です", "members": "チームは空です",
"parameters": "このリクエストにはパラメータがありません", "parameters": "このリクエストにはパラメータがありません",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "プロトコルが空です", "protocols": "プロトコルが空です",
"schema": "GraphQLエンドポイントに接続する", "schema": "GraphQLエンドポイントに接続する",
"team_name": "チーム名が空です", "team_name": "チーム名が空です",

View File

@@ -146,6 +146,7 @@
"members": "팀이 비어 있습니다.", "members": "팀이 비어 있습니다.",
"parameters": "이 요청에는 매개변수가 없습니다.", "parameters": "이 요청에는 매개변수가 없습니다.",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "프로토콜이 비어 있습니다.", "protocols": "프로토콜이 비어 있습니다.",
"schema": "GraphQL 스키마에 연결", "schema": "GraphQL 스키마에 연결",
"team_name": "팀 이름이 비어 있습니다.", "team_name": "팀 이름이 비어 있습니다.",

View File

@@ -146,6 +146,7 @@
"members": "Team is leeg", "members": "Team is leeg",
"parameters": "Dit verzoek heeft geen parameters", "parameters": "Dit verzoek heeft geen parameters",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protocollen zijn leeg", "protocols": "Protocollen zijn leeg",
"schema": "Verbinding maken met een GraphQL-eindpunt", "schema": "Verbinding maken met een GraphQL-eindpunt",
"team_name": "Teamnaam leeg", "team_name": "Teamnaam leeg",

View File

@@ -146,6 +146,7 @@
"members": "Teamet er tomt", "members": "Teamet er tomt",
"parameters": "Denne forespørselen har ingen parametere", "parameters": "Denne forespørselen har ingen parametere",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protokoller er tomme", "protocols": "Protokoller er tomme",
"schema": "Koble til et GraphQL-endepunkt", "schema": "Koble til et GraphQL-endepunkt",
"team_name": "Lagnavnet er tomt", "team_name": "Lagnavnet er tomt",

View File

@@ -146,6 +146,7 @@
"members": "Zespół jest pusty", "members": "Zespół jest pusty",
"parameters": "To żądanie nie ma żadnych parametrów", "parameters": "To żądanie nie ma żadnych parametrów",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protokoły są puste", "protocols": "Protokoły są puste",
"schema": "Połącz się z punktem końcowym GraphQL", "schema": "Połącz się z punktem końcowym GraphQL",
"team_name": "Nazwa zespołu jest pusta", "team_name": "Nazwa zespołu jest pusta",

View File

@@ -146,6 +146,7 @@
"members": "Time está vazio", "members": "Time está vazio",
"parameters": "Esta solicitação não possui parâmetros", "parameters": "Esta solicitação não possui parâmetros",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Os protocolos estão vazios", "protocols": "Os protocolos estão vazios",
"schema": "Conecte-se a um endpoint GraphQL", "schema": "Conecte-se a um endpoint GraphQL",
"team_name": "Nome do time vazio", "team_name": "Nome do time vazio",

View File

@@ -146,6 +146,7 @@
"members": "Time está vazio", "members": "Time está vazio",
"parameters": "Esta solicitação não possui parâmetros", "parameters": "Esta solicitação não possui parâmetros",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Os protocolos estão vazios", "protocols": "Os protocolos estão vazios",
"schema": "Conecte-se a um endpoint GraphQL", "schema": "Conecte-se a um endpoint GraphQL",
"team_name": "Nome do time vazio", "team_name": "Nome do time vazio",

View File

@@ -146,6 +146,7 @@
"members": "Echipa este goală", "members": "Echipa este goală",
"parameters": "Această solicitare nu are niciun parametru", "parameters": "Această solicitare nu are niciun parametru",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protocoalele sunt goale", "protocols": "Protocoalele sunt goale",
"schema": "Conectați-vă la un punct final GraphQL", "schema": "Conectați-vă la un punct final GraphQL",
"team_name": "Numele echipei este gol", "team_name": "Numele echipei este gol",

View File

@@ -146,6 +146,7 @@
"members": "Команда пуста", "members": "Команда пуста",
"parameters": "Этот запрос не имеет параметров", "parameters": "Этот запрос не имеет параметров",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Протоколы пустые", "protocols": "Протоколы пустые",
"schema": "Подключиться к конечной точке GraphQL", "schema": "Подключиться к конечной точке GraphQL",
"team_name": "Название команды пусто", "team_name": "Название команды пусто",

View File

@@ -146,6 +146,7 @@
"members": "Тим је празан", "members": "Тим је празан",
"parameters": "Овај захтев нема параметре", "parameters": "Овај захтев нема параметре",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Протоколи су празни", "protocols": "Протоколи су празни",
"schema": "Повежите се са ГрапхКЛ крајњом тачком", "schema": "Повежите се са ГрапхКЛ крајњом тачком",
"team_name": "Назив тима празан", "team_name": "Назив тима празан",

View File

@@ -146,6 +146,7 @@
"members": "Teamet är tomt", "members": "Teamet är tomt",
"parameters": "Denna begäran har inga parametrar", "parameters": "Denna begäran har inga parametrar",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protokoll är tomma", "protocols": "Protokoll är tomma",
"schema": "Anslut till en GraphQL -slutpunkt", "schema": "Anslut till en GraphQL -slutpunkt",
"team_name": "Lagets namn är tomt", "team_name": "Lagets namn är tomt",

View File

@@ -146,6 +146,7 @@
"members": "Takım boş", "members": "Takım boş",
"parameters": "Bu isteğin herhangi bir parametresi yok", "parameters": "Bu isteğin herhangi bir parametresi yok",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Protokoller boş", "protocols": "Protokoller boş",
"schema": "Bir GraphQL uç noktasına bağlanma", "schema": "Bir GraphQL uç noktasına bağlanma",
"team_name": "Takım adı boş", "team_name": "Takım adı boş",

View File

@@ -146,6 +146,7 @@
"members": "團隊為空", "members": "團隊為空",
"parameters": "該請求沒有任何引數", "parameters": "該請求沒有任何引數",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "協議為空", "protocols": "協議為空",
"schema": "連線至 GraphQL 端點", "schema": "連線至 GraphQL 端點",
"team_name": "團隊名稱為空", "team_name": "團隊名稱為空",

View File

@@ -146,6 +146,7 @@
"members": "Команда порожня", "members": "Команда порожня",
"parameters": "Цей запит не має жодних параметрів", "parameters": "Цей запит не має жодних параметрів",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Протоколи порожні", "protocols": "Протоколи порожні",
"schema": "Підключіться до кінцевої точки GraphQL", "schema": "Підключіться до кінцевої точки GraphQL",
"team_name": "Назва команди порожня", "team_name": "Назва команди порожня",

View File

@@ -146,6 +146,7 @@
"members": "Đội trống", "members": "Đội trống",
"parameters": "Yêu cầu này không có bất kỳ thông số nào", "parameters": "Yêu cầu này không có bất kỳ thông số nào",
"pending_invites": "There are no pending invites for this team", "pending_invites": "There are no pending invites for this team",
"profile": "Login in to view your profile",
"protocols": "Giao thức trống", "protocols": "Giao thức trống",
"schema": "Kết nối với một điểm cuối GraphQL", "schema": "Kết nối với một điểm cuối GraphQL",
"team_name": "Tên đội trống", "team_name": "Tên đội trống",

View File

@@ -2,9 +2,29 @@
<div> <div>
<div class="container"> <div class="container">
<div class="p-4"> <div class="p-4">
<div v-if="currentUser === null"> <div
v-if="currentUser === null"
class="flex flex-col items-center justify-center"
>
<img
:src="`/images/states/${$colorMode.value}/login.svg`"
loading="lazy"
class="
flex-col
my-4
object-contain object-center
h-24
w-24
inline-flex
"
:alt="$t('empty.parameters')"
/>
<p class="text-center pb-4 text-secondaryLight">
{{ $t("empty.profile") }}
</p>
<ButtonPrimary <ButtonPrimary
:label="$t('auth.login')" :label="$t('auth.login')"
class="mb-4"
@click.native="showLogin = true" @click.native="showLogin = true"
/> />
</div> </div>