File tree Expand file tree Collapse file tree 7 files changed +43
-36
lines changed Expand file tree Collapse file tree 7 files changed +43
-36
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,7 @@ import Image from 'next/image';
3
3
import aws from '@/shared/assets/icons/aws-gray.svg' ;
4
4
5
5
export const AwsLogo = ( ) => {
6
- return < Image src = { aws } alt = "AWS icon" /> ;
6
+ return (
7
+ < Image src = { aws } alt = "AWS icon" />
8
+ ) ;
7
9
} ;
Original file line number Diff line number Diff line change @@ -3,5 +3,7 @@ import Image from 'next/image';
3
3
import github from '@/shared/assets/svg/github.svg' ;
4
4
5
5
export const GithubLogo = ( ) => {
6
- return < Image src = { github } alt = " github icon" /> ;
6
+ return (
7
+ < Image src = { github } alt = "github icon" />
8
+ ) ;
7
9
} ;
Original file line number Diff line number Diff line change @@ -3,5 +3,12 @@ import Image from 'next/image';
3
3
import jetbrains from '@/shared/assets/svg/jetbrains.svg' ;
4
4
5
5
export const JetBrainsLogo = ( ) => {
6
- return < Image src = { jetbrains } alt = "jetbrains icon" /> ;
6
+ return (
7
+ < Image
8
+ src = { jetbrains }
9
+ style = { { filter : 'grayscale(100%) contrast(15%)' } }
10
+ width = { 200 }
11
+ alt = "jetbrains icon"
12
+ />
13
+ ) ;
7
14
} ;
Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ export const LinkCustom = ({
55
55
} : LinkCustomProps ) => {
56
56
const resolveIcon = ( ) : ReactNode => {
57
57
switch ( true ) {
58
- case external && variant === 'textLink' :
59
- return < TextLinkIcon /> ;
60
58
case icon !== undefined :
61
59
return icon ;
60
+ case external && variant === 'textLink' :
61
+ return < TextLinkIcon /> ;
62
62
case variant === 'secondary' :
63
63
return < ArrowIcon /> ;
64
64
case variant === 'rounded' :
Original file line number Diff line number Diff line change 19
19
justify-content : space-between ;
20
20
21
21
width : 100% ;
22
- max-width : 500 px ;
22
+ max-width : 600 px ;
23
23
padding : 16px ;
24
24
25
25
.partner-logo-container {
Original file line number Diff line number Diff line change 1
1
import { AwsLogo , GithubLogo , JetBrainsLogo } from '@/shared/icons' ;
2
+ import { LinkCustom } from '@/shared/ui/link-custom' ;
2
3
import { WidgetTitle } from '@/shared/ui/widget-title' ;
3
4
4
5
import './partnered.scss' ;
@@ -9,13 +10,31 @@ export const Partnered = () => (
9
10
< WidgetTitle size = "small" > Partnered with</ WidgetTitle >
10
11
< div className = "partners" >
11
12
< div className = "partner-logo-container" >
12
- < JetBrainsLogo />
13
+ < LinkCustom
14
+ href = "https://www.jetbrains.com"
15
+ external
16
+ icon = { null }
17
+ >
18
+ < JetBrainsLogo />
19
+ </ LinkCustom >
13
20
</ div >
14
21
< div className = "partner-logo-container" >
15
- < AwsLogo />
22
+ < LinkCustom
23
+ href = "https://aws.amazon.com/"
24
+ external
25
+ icon = { null }
26
+ >
27
+ < AwsLogo />
28
+ </ LinkCustom >
16
29
</ div >
17
30
< div className = "partner-logo-container" >
18
- < GithubLogo />
31
+ < LinkCustom
32
+ href = "https://github.com/"
33
+ external
34
+ icon = { null }
35
+ >
36
+ < GithubLogo />
37
+ </ LinkCustom >
19
38
</ div >
20
39
</ div >
21
40
</ div >
You can’t perform that action at this time.
0 commit comments