Add homepage and make bridges look nice

This commit is contained in:
2026-02-06 23:09:51 +00:00
parent d406db9d18
commit d53748f8ae
16 changed files with 818 additions and 355 deletions

View File

@@ -6,7 +6,14 @@
to: string;
};
export let reversed: boolean = false;
export let activeElec: any;
$: effectiveFeature = {
from: reversed ? feature.to : feature.from,
to: reversed ? feature.from : feature.to
};
</script>
<svg viewBox="0 0 64 64" width="64" height="64" style="overflow: visible;">
@@ -24,10 +31,10 @@
<g font-family="sans-serif" font-weight="800" font-size="11">
<text x="70" y="24" fill="#4338ca" style="text-transform: uppercase;">
{feature.from}
{effectiveFeature.from}
</text>
<text x="70" y="46" fill="#4338ca" style="text-transform: uppercase;">
{feature.to}
{effectiveFeature.to}
</text>
</g>
</svg>