diff --git a/.vitepress/theme/TechRadar.vue b/.vitepress/theme/TechRadar.vue index 9b7637d..8a05210 100644 --- a/.vitepress/theme/TechRadar.vue +++ b/.vitepress/theme/TechRadar.vue @@ -28,11 +28,18 @@ const placed = computed(() => { const rr = (inner + (outer - inner) * level) * R; const ang = startAngle[blip.quadrant] + 8 + (74 * (k + 0.5)) / list.length; const rad = (ang * Math.PI) / 180; - return { blip, i, ri, x: C + rr * Math.cos(rad), y: C + rr * Math.sin(rad) }; + return { + blip, + i, + ri, + x: C + rr * Math.cos(rad), + y: C + rr * Math.sin(rad), + }; }); }); -const visible = (b: Blip) => filter.value === null || b.quadrant === filter.value; +const visible = (b: Blip) => + filter.value === null || b.quadrant === filter.value; const ringClass = (id: string) => `ring-${id}`; const grouped = computed(() => quadrants.map((q, qi) => ({ @@ -40,7 +47,9 @@ const grouped = computed(() => qi, rings: rings.map((r) => ({ r, - items: placed.value.filter((p) => p.blip.quadrant === qi && p.blip.ring === r.id), + items: placed.value.filter( + (p) => p.blip.quadrant === qi && p.blip.ring === r.id, + ), })), })), ); @@ -49,7 +58,9 @@ const grouped = computed(() => -

Passe o mouse (ou use Tab) sobre um ponto para ver detalhes.

+

+ Passe o mouse (ou use Tab) sobre um ponto para ver detalhes. +

-
+

{{ g.q }}