File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
apps/web/app/components/namecard Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,13 @@ const { backgroundColor } = useUserRole()
16
16
<template >
17
17
<div class =" namecard-root" >
18
18
<NamecardAvatar :user =" user" :is-placeholder =" isPlaceholder" />
19
- <div class =" role" :style =" { '--background-color-role': backgroundColor(user.role ?? 'staff') }" >
19
+ <div
20
+ class =" namecard-role"
21
+ :style =" { '--background-color-role': backgroundColor(user.role ?? 'staff') }"
22
+ >
20
23
{{ user.role }}
21
24
</div >
22
- <div class =" sponsor" >
25
+ <div class =" namecard- sponsor" >
23
26
<img src =" /namecard/support.svg" alt =" Supported by Stockmark" />
24
27
</div >
25
28
</div >
@@ -40,7 +43,7 @@ const { backgroundColor } = useUserRole()
40
43
}
41
44
}
42
45
43
- .role {
46
+ .namecard- role {
44
47
--background-color-role : color-mix(in srgb , var (--color-vue-blue ), #000 20% );
45
48
font-size : 1.3125rem ;
46
49
height : 2.0625rem ;
@@ -52,7 +55,7 @@ const { backgroundColor } = useUserRole()
52
55
background-color : var (--background-color-role );
53
56
}
54
57
55
- .sponsor {
58
+ .namecard- sponsor {
56
59
display : grid ;
57
60
place-items : center ;
58
61
height : 3.75rem ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const COLOR_AVATAR_NAME = {
23
23
<img :alt =" user.display_name" :src =" user.avatar_url" class =" avatar-logo" decoding =" async" />
24
24
</div >
25
25
<div class =" avatar-name-area" >
26
- <h2
26
+ <div
27
27
class =" avatar-name"
28
28
:style =" {
29
29
'--color-avatar-name': isPlaceholder
@@ -32,9 +32,9 @@ const COLOR_AVATAR_NAME = {
32
32
}"
33
33
>
34
34
{{ user.display_name }}
35
- </h2 >
35
+ </div >
36
36
</div >
37
- <div class =" avatar-footer" >Vue Fes Japan 2024</div >
37
+ <small class =" avatar-footer" >Vue Fes Japan 2024</small >
38
38
</div >
39
39
</template >
40
40
You can’t perform that action at this time.
0 commit comments