This repository was archived by the owner on Nov 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ const fifthStat = computed(() => statFromIndex(4))
71
71
72
72
<template >
73
73
<figure class =" max-w-full" >
74
- <div class =" hidden print:block " >
74
+ <div class =" stats__print-value " >
75
75
<div class =" text-lg font-bold" >{{ groupTitle }}</div >
76
76
<div >
77
77
<div
@@ -91,6 +91,21 @@ const fifthStat = computed(() => statFromIndex(4))
91
91
</div >
92
92
</div >
93
93
</div >
94
+ <div class =" stats__print-value--small" >
95
+ <span
96
+ v-for =" (skill, index) in titles"
97
+ :key =" skill"
98
+ class =" rounded text-white p-[.3em]"
99
+ :class =" {
100
+ 'hidden': values[index] < 3,
101
+ 'bg-blue-500 text-xs': values[index] === 3,
102
+ 'bg-blue-600 text-sm': values[index] === 4,
103
+ 'bg-blue-700 text-base': values[index] === 5
104
+ }"
105
+ >
106
+ {{ skill }}
107
+ </span >
108
+ </div >
94
109
<div class =" relative print:hidden" >
95
110
<svg viewBox =" -500 -500 2000 2000" xmlns =" http://www.w3.org/2000/svg" >
96
111
<polygon
@@ -416,3 +431,20 @@ const fifthStat = computed(() => statFromIndex(4))
416
431
stroke-linejoin : round ;
417
432
}
418
433
</style >
434
+
435
+ <style >
436
+ .stats__print-value {
437
+ @apply hidden print :block ;
438
+ }
439
+ .stats__print-value--small {
440
+ @apply hidden flex-wrap gap- 2 items-center ;
441
+ }
442
+
443
+ .small-print-stats .stats__print-value {
444
+ @apply print :hidden ;
445
+ }
446
+
447
+ .small-print-stats .stats__print-value--small {
448
+ @apply print :flex ;
449
+ }
450
+ </style >
You can’t perform that action at this time.
0 commit comments