@@ -2,44 +2,74 @@ import React from 'react';
2
2
import styles from './sponsor.module.css' ;
3
3
4
4
const allSponsors = [
5
- {
6
- webUrl : 'https://pausiber.xyz/' ,
7
- imgUrl : '/images/pausiber-logo-cekirdek.png' ,
8
- imgAlt : 'pausiber_cekirdek_logo' ,
9
- } ,
10
- {
11
- webUrl : 'https://siberkulupler.com/' ,
12
- imgUrl : '/images/skb_logo.png' ,
13
- imgAlt : 'skb_logo' ,
14
- } ,
5
+ {
6
+ webUrl : 'https://pausiber.xyz/' ,
7
+ imgUrl : '/images/pausiber-logo-cekirdek.png' ,
8
+ imgAlt : 'pausiber_cekirdek_logo' ,
9
+ } ,
10
+ {
11
+ webUrl : 'https://siberkulupler.com/' ,
12
+ imgUrl : '/images/skb_logo.png' ,
13
+ imgAlt : 'skb_logo' ,
14
+ } ,
15
+ {
16
+ webUrl : 'https://ratel.com.tr/tr/' ,
17
+ imgUrl : '/images/ratel_logo.webp' ,
18
+ imgAlt : 'ratel_logo' ,
19
+ } ,
20
+ {
21
+ webUrl : 'https://www.tubitak.gov.tr/' ,
22
+ imgUrl : '/images/tubitak_logo.png' ,
23
+ imgAlt : 'tubitak_logo' ,
24
+ } ,
25
+ {
26
+ webUrl : 'https://secureway.com.tr/' ,
27
+ imgUrl : '/images/secureWay.jpeg' ,
28
+ imgAlt : 'secure_way_logo' ,
29
+ } ,
30
+ {
31
+ webUrl : 'https://www.netinternet.com.tr/' ,
32
+ imgUrl : '/images/netinternet.svg' ,
33
+ imgAlt : 'netinternet_logo' ,
34
+ } ,
35
+ {
36
+ webUrl : 'https://bento.me/turkiye-rust-community' ,
37
+ imgUrl : '/images/turkiye_rust_community.jpg' ,
38
+ imgAlt : 'turkiye_rust_community_logo' ,
39
+ } ,
40
+ {
41
+ webUrl : 'https://magfiads.com/' ,
42
+ imgUrl : '/images/magfiADS.png' ,
43
+ imgAlt : 'mafiADS_logo' ,
44
+ } ,
15
45
] ;
16
46
17
47
const Sponsor = ( ) => {
18
- return (
19
- < div id = 'sponsor' className = { styles . container } >
20
- < div className = { styles . title } >
21
- < span > SPONSORLAR</ span >
22
- </ div >
23
- < div
24
- className = { styles . sponsors }
25
- style = { {
26
- justifyContent : allSponsors . length <= 3 ? 'flex-start' : 'center' ,
27
- } }
28
- >
29
- { allSponsors . map ( ( sponsor ) => (
30
- < div className = { styles . img } >
31
- < img
32
- onClick = { function redirectToLinkedIn ( ) {
33
- window . open ( sponsor . webUrl , '_blank' ) ;
34
- } }
35
- src = { sponsor . imgUrl }
36
- alt = { sponsor . imgAlt }
37
- />
38
- </ div >
39
- ) ) }
40
- </ div >
41
- </ div >
42
- ) ;
48
+ return (
49
+ < div id = 'sponsor' className = { styles . container } >
50
+ < div className = { styles . title } >
51
+ < span > SPONSORLAR</ span >
52
+ </ div >
53
+ < div
54
+ className = { styles . sponsors }
55
+ style = { {
56
+ justifyContent : allSponsors . length <= 3 ? 'flex-start' : 'center' ,
57
+ } }
58
+ >
59
+ { allSponsors . map ( ( sponsor ) => (
60
+ < div className = { styles . img } >
61
+ < img
62
+ onClick = { function redirectToLinkedIn ( ) {
63
+ window . open ( sponsor . webUrl , '_blank' ) ;
64
+ } }
65
+ src = { sponsor . imgUrl }
66
+ alt = { sponsor . imgAlt }
67
+ />
68
+ </ div >
69
+ ) ) }
70
+ </ div >
71
+ </ div >
72
+ ) ;
43
73
} ;
44
74
45
75
export default Sponsor ;
0 commit comments