From 883bd4d1e5e9288175578273ae2aa7525c708786 Mon Sep 17 00:00:00 2001 From: fsociety Date: Mon, 30 Sep 2024 20:28:55 +0200 Subject: [PATCH] feat: update UI in profile.blade.php Made several changes to the UI in the profile.blade.php file, including removing unnecessary comments, updating class attributes, and modifying the structure of certain divs and sections for improved readability and maintainability. --- .../views/pages/association/profile.blade.php | 64 +++++++++---------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/resources/views/pages/association/profile.blade.php b/resources/views/pages/association/profile.blade.php index 494f05b..b285087 100644 --- a/resources/views/pages/association/profile.blade.php +++ b/resources/views/pages/association/profile.blade.php @@ -251,7 +251,7 @@ $loadEvents = function () {
+ class="flex flex-nowrap overflow-x-scroll no-scrollbar md:block md:overflow-auto px-3 py-6 border-b md:border-b-0 md:border-r border-gray-200 dark:border-gray-700/60 min-w-60 md:space-y-3">
@@ -263,7 +263,7 @@ $loadEvents = function () { href="#0"> Status + class="text-sm font-medium text-orange-500 dark:text-orange-400">Status {{--
  • @@ -322,20 +322,20 @@ $loadEvents = function () {

    + class="w-48 sm:w-full truncate text-sm text-gray-500 dark:text-gray-400" + x-text="$store.nostr.user.name">
  • @if($currentPubkey && $currentPleb->association_status->value < 2)
    + class="inline-flex min-w-80 px-4 py-2 rounded-lg text-sm bg-white dark:bg-gray-800 shadow-sm border border-gray-200 dark:border-gray-700/60 text-gray-600 dark:text-gray-100">
    + d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 11.4L3.6 8 5 6.6l2 2 4-4L12.4 6 7 11.4z">
    Profil in der Datenbank vorhanden. Bewerbung kann erfolgen.
    @@ -345,8 +345,7 @@ $loadEvents = function () {
    - -
    + {{--
    @if($currentPubkey && !$currentPleb->application_for && $currentPleb->association_status->value < 2)

    passives Mitglied werden @@ -366,9 +365,8 @@ $loadEvents = function () {

    @endif - + --}} -
    @if($currentPubkey && !$currentPleb->application_for && $currentPleb->association_status->value < 2)

    @@ -376,10 +374,10 @@ $loadEvents = function () {

    + corner="Woher kennen wir dich? Was möchtest du einbringen?" + description="Wir bitten dich mindestens von 3 aktiven Mitgliedern auf Nostr gefolgt zu werden." + label="Warum möchtest du aktives Mitglied werden?" + wire:model="form.reason"/>
    @@ -395,13 +393,13 @@ $loadEvents = function () {
    @if($currentPubkey && $currentPleb->application_for)
    + class="inline-flex flex-col w-full max-w-lg px-4 py-2 rounded-lg text-sm bg-white dark:bg-gray-800 shadow-sm border border-gray-200 dark:border-gray-700/60 text-gray-600 dark:text-gray-400">
    + d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 12c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm1-3H7V4h2v5z">
    @@ -418,13 +416,13 @@ $loadEvents = function () {
    @if($currentPleb && $currentPleb->association_status->value > 1)
    + class="inline-flex flex-col w-full max-w-lg px-4 py-2 rounded-lg text-sm bg-white dark:bg-gray-800 shadow-sm border border-gray-200 dark:border-gray-700/60 text-gray-600 dark:text-gray-400">
    + d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 12c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm1-3H7V4h2v5z">
    @@ -441,20 +439,20 @@ $loadEvents = function () {
    @if($currentPleb && $currentPleb->association_status->value > 1)
    + class="inline-flex flex-col w-full px-4 py-2 rounded-lg text-sm bg-white dark:bg-gray-800 shadow-sm border border-gray-200 dark:border-gray-700/60 text-gray-600 dark:text-gray-400">
    + d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 12c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm1-3H7V4h2v5z">
    + class="font-medium text-gray-800 dark:text-gray-100 mb-1 space-y-2">

    Nostr Event für die Zahlung des Mitgliedsbeitrags: {{ $currentPleb->paymentEvents->first()->event_id }} + class="break-all">{{ $currentPleb->paymentEvents->first()->event_id }}

    @if(isset($events[0])) @@ -463,8 +461,8 @@ $loadEvents = function () { @if(!$invoice && !$currentYearIsPaid)
    @else @if($currentYearIsPaid)