@@ -27,7 +27,8 @@ export enum Skill {
27
27
}
28
28
29
29
export const getSkillTranslationId = ( skill : Skill ) : TranslationKey =>
30
- `page-developers-tutorials:page-tutorial-${ Skill [ skill . toUpperCase ( ) as keyof typeof Skill ]
30
+ `page-developers-tutorials:page-tutorial-${
31
+ Skill [ skill . toUpperCase ( ) as keyof typeof Skill ]
31
32
} `
32
33
33
34
const TutorialMetadata = ( {
@@ -82,16 +83,16 @@ const TutorialMetadata = ({
82
83
</ div >
83
84
</ Flex >
84
85
{ address && (
85
- < Flex className = "text-text300 mb-6 mt-[-1rem] flex-wrap text-sm" >
86
+ < Flex className = "text-text300 - mt-4 mb-6 flex-wrap text-sm" >
86
87
< CopyToClipboard text = { address } >
87
88
{ ( isCopied ) => (
88
- < div className = "bg-ednBackground hover:bg-primary100 cursor-pointer overflow-hidden text-ellipsis px-1 font-mono text-sm text-primary" >
89
- < div className = "uppercase" >
90
- < Translation id = "comp-tutorial-metadata-tip-author" /> { " " }
91
- </ div >
92
- { address } { isCopied && < Translation id = "copied" /> }
89
+ < div className = "cursor-pointer overflow-hidden text-ellipsis bg-background-highlight px-1 font-mono text-sm text-primary hover:bg-primary-hover hover:text-body-inverse " >
90
+ < span className = "uppercase" >
91
+ < Translation id = "page-developers-tutorials: comp-tutorial-metadata-tip-author" />
92
+ </ span > { " " }
93
+ { address } { isCopied && < Translation id = "copied" /> } { " " }
93
94
{ isCopied && (
94
- < Emoji className = "mr-2 text-sm" text = ":white_check_mark:" />
95
+ < Emoji className = "text-sm" text = ":white_check_mark:" />
95
96
) }
96
97
</ div >
97
98
) }
@@ -102,4 +103,4 @@ const TutorialMetadata = ({
102
103
)
103
104
}
104
105
105
- export default TutorialMetadata
106
+ export default TutorialMetadata
0 commit comments