Add homepage and make bridges look nice
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user