refactor: finalize account-based billing and env cleanup

This commit is contained in:
Dwindi Ramadhana
2026-02-14 18:08:19 +07:00
parent a905256353
commit 205a8b08e1
15 changed files with 132 additions and 1510 deletions

View File

@@ -1,7 +1,7 @@
@extends('site.layout')
@section('title', 'Support - Dewemoji')
@section('meta_description', 'Get help with Dewemoji installation, Pro activation, API usage, billing, and common troubleshooting.')
@section('meta_description', 'Get help with Dewemoji account setup, API usage, billing, and common troubleshooting.')
@push('jsonld')
<script type="application/ld+json">
@@ -9,9 +9,9 @@
"@@context": "https://schema.org",
"@@type": "FAQPage",
"mainEntity": [
{"@@type":"Question","name":"How do I activate Pro?","acceptedAnswer":{"@@type":"Answer","text":"Open Dewemoji settings, paste your license key in Pro tab, and activate."}},
{"@@type":"Question","name":"How many devices can I use?","acceptedAnswer":{"@@type":"Answer","text":"One license can activate up to 3 Chrome profiles."}},
{"@@type":"Question","name":"How do I use my key in API?","acceptedAnswer":{"@@type":"Answer","text":"Send Authorization: Bearer YOUR_LICENSE_KEY header in requests."}}
{"@@type":"Question","name":"How do I upgrade to Personal?","acceptedAnswer":{"@@type":"Answer","text":"Open Pricing, choose Personal Monthly or Annual, then complete checkout with PayPal or QRIS."}},
{"@@type":"Question","name":"Can free accounts use API keys?","acceptedAnswer":{"@@type":"Answer","text":"No. API key management is available on Personal only."}},
{"@@type":"Question","name":"How do I use API in Personal plan?","acceptedAnswer":{"@@type":"Answer","text":"Create an API key in Dashboard and send Authorization: Bearer YOUR_API_KEY in requests."}}
]
}
</script>
@@ -62,25 +62,24 @@
<div class="flex-1 overflow-y-auto p-6 md:p-10">
<div class="max-w-5xl mx-auto grid gap-4 md:grid-cols-2">
<section class="glass-card rounded-2xl p-5">
<h2 class="font-semibold mb-2">Install & activate</h2>
<h2 class="font-semibold mb-2">Install & get started</h2>
<ol class="list-decimal pl-5 text-sm text-gray-300 space-y-1">
<li>Install Dewemoji extension.</li>
<li>Open settings and go to Pro tab.</li>
<li>Paste your license key and activate.</li>
<li>Sign in with your Dewemoji account.</li>
<li>Upgrade in Pricing if you need Personal features.</li>
</ol>
</section>
<section class="glass-card rounded-2xl p-5">
<h2 class="font-semibold mb-2">API quick start</h2>
<pre class="text-xs overflow-x-auto bg-black/30 rounded-lg p-3"><code>curl -H "Authorization: Bearer YOUR_LICENSE_KEY" \
<pre class="text-xs overflow-x-auto bg-black/30 rounded-lg p-3"><code>curl -H "Authorization: Bearer YOUR_API_KEY" \
"{{ url('/v1/emojis') }}?q=love&limit=20"</code></pre>
</section>
<section class="glass-card rounded-2xl p-5 md:col-span-2">
<h2 class="font-semibold mb-2">Common issues</h2>
<ul class="list-disc pl-5 text-sm text-gray-300 space-y-1">
<li><strong>License limit reached:</strong> deactivate old profile first.</li>
<li><strong>API 401 invalid key:</strong> ensure key is active and valid.</li>
<li><strong>API 401 invalid key:</strong> ensure key is active and belongs to a Personal account.</li>
<li><strong>Insert not working:</strong> focus target input and retry.</li>
</ul>
<p class="mt-4 text-sm text-gray-400">Need direct help? Email <a class="text-brand-oceanSoft hover:text-white" href="mailto:hello@dewemoji.com">hello@dewemoji.com</a>.</p>