diff --git a/assets/styles/02-layout/layout.css b/assets/styles/02-layout/layout.css index 27d437e..cddb45a 100644 --- a/assets/styles/02-layout/layout.css +++ b/assets/styles/02-layout/layout.css @@ -156,6 +156,10 @@ aside header { main { margin-top: 60px; + padding: 0; + } + + article { padding: 0 var(--spacing-3); } diff --git a/assets/styles/04-pages/forum.css b/assets/styles/04-pages/forum.css index 4c167c2..3de2fa6 100644 --- a/assets/styles/04-pages/forum.css +++ b/assets/styles/04-pages/forum.css @@ -76,12 +76,13 @@ .sub-card { -border: 1px solid var(--color-primary); -background: #fff; -padding: 1rem; -display: flex; -flex-direction: column; -justify-content: space-between; + border: 1px solid var(--color-primary); + background: #fff; + padding: 1rem; + display: flex; + flex-direction: column; + justify-content: space-between; + margin: 0 var(--spacing-3); } .sub-card h3 { @@ -100,8 +101,9 @@ flex-shrink: 0; } .articles-list { -list-style: none; -padding: 0; + list-style: none; + padding: 0; + margin: 0 var(--spacing-3); } .article-item { diff --git a/templates/pages/author-about.html.twig b/templates/pages/author-about.html.twig index 44626a9..bde8034 100644 --- a/templates/pages/author-about.html.twig +++ b/templates/pages/author-about.html.twig @@ -1,152 +1,141 @@ {% extends 'layout.html.twig' %} {% block body %} -
{{ address }}
+ {{ author.lud16 }}
+ {% endif %}
+ {{ lnurl }}
+ {{ author.lud06 }}
+ {% endif %}
+ {{ address }}
- {{ author.lud16 }}
- {% endif %}
+ {{ pubkey }}
{{ lnurl }}
- {{ author.lud06 }}
- {% endif %}
+ {{ npub }}
{{ pubkey }}
- {{ npub }}
- {{ rawEvent.id ?? 'N/A' }}
+ {# Raw Event Debug Section #}
+ {{ rawEvent.id ?? 'N/A' }}
- {{ rawEvent.created_at ?? 'N/A' }} ({{ rawEvent.created_at is defined ? rawEvent.created_at|date('Y-m-d H:i:s') : 'N/A' }})
+ {{ rawEvent.created_at ?? 'N/A' }} ({{ rawEvent.created_at is defined ? rawEvent.created_at|date('Y-m-d H:i:s') : 'N/A' }})
- {{ rawEvent.tags is defined ? rawEvent.tags|json_encode(constant('JSON_PRETTY_PRINT')) : '[]' }}
+ {{ rawEvent.tags is defined ? rawEvent.tags|json_encode(constant('JSON_PRETTY_PRINT')) : '[]' }}
- {{ rawEvent.content ?? '{}' }}
+ {{ rawEvent.content ?? '{}' }}
- {{ rawEvent.sig ?? 'N/A' }}
+ {{ rawEvent.sig ?? 'N/A' }}
- {{ rawEvent|json_encode(constant('JSON_PRETTY_PRINT')) }}
- {{ rawEvent|json_encode(constant('JSON_PRETTY_PRINT')) }}
+