lthn.io/resources/views/components/toc-link.blade.php
Claude 77cc45dd83
feat: lthn.io CorePHP app — TLD website + blockchain services
Modules:
- Chain: daemon RPC client (DaemonRpc singleton, cached queries)
- Explorer: block browser, tx viewer, alias directory, search, stats API
- Names: .lthn TLD registrar portal (availability check, lookup, directory)
- Trade: scaffold (DEX frontend + API)
- Pool: scaffold (mining pool dashboard)

Replaces 5 Node.js containers (5.9GB) with one FrankenPHP app.
Built on CorePHP framework pattern from host.uk.com.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-03 16:13:55 +01:00

16 lines
475 B
PHP

@props([
'href' => '#',
'active' => false,
'indent' => false,
])
<a href="{{ $href }}"
{{ $attributes->merge([
'class' => 'toc-link block py-1 pl-3 border-l-2 transition-colors ' .
($indent ? 'ml-3 text-sm ' : '') .
($active
? 'border-purple-400 text-purple-400'
: 'border-slate-700 text-slate-400 hover:text-white hover:border-purple-500')
]) }}>
{{ $slot }}
</a>