reorganized account page component templates more

This commit is contained in:
2026-01-29 21:39:51 -07:00
parent 2b7e200e43
commit b1593e8202
15 changed files with 2 additions and 2 deletions
@@ -145,5 +145,5 @@
</summary>
{{/* TODO: how to remove the platform from the path twice? */}}
{{ component ( printf "/accounts/%d/platforms/%s/link-sections/links/%s" $acctID $platform $platform ) }}
{{ component ( printf "/accounts/%d/platform-links/%s" $acctID $platform ) }}
</details>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1,12 +0,0 @@
{{- $acctID := .Identity.Account }}
{{- $etsyUser := .Etsy.GetUserPointerByAccountID $acctID.AccountID }}
{{- if $etsyUser }}
<h3>Etsy User: {{ $etsyUser.UserID }}; Shop ID: {{ $etsyUser.ShopID }}</h3>
{{- else }}
<h3 class="m-[0.5em] px-[2em] italic">
<a href="{{ printf "/api/webhooks/etsy/%d/new-account-link" $acctID.AccountID }}" hx-boost="false">
Link Your Store!
</a>
</h3>
{{- end }}
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -1 +0,0 @@
<div class="m-[0.5em] px-[2em] italic">Coming Soon!</div>
@@ -98,7 +98,7 @@
class="p-[1em] text-center"
>
{{- $pathSegment := lowerSnakeCase (printf "%s" $platform) }}
{{- component (printf "/accounts/%d/platforms/%s/link-sections" $acctID $pathSegment) }}
{{- component (printf "/accounts/%d/platforms/%s/link-section" $acctID $pathSegment) }}
</div>
</details>
</li>