Skip to content

Commit 86c3ec7

Browse files
committed
update workflow
1 parent 081d338 commit 86c3ec7

File tree

7 files changed

+197
-157
lines changed

7 files changed

+197
-157
lines changed

package-lock.json

+26-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@
2121
"start": "react-scripts start",
2222
"build": "react-scripts build",
2323
"test": "react-scripts test",
24-
"eject": "react-scripts eject"
24+
"eject": "react-scripts eject",
25+
"postinstall": "npx update-browserslist-db@latest --update-db"
2526
},
2627
"eslintConfig": {
2728
"extends": [
2829
"react-app",
2930
"react-app/jest"
30-
]
31+
],
32+
"rules": {
33+
"no-unused-vars": "warn"
34+
}
3135
},
3236
"browserslist": {
3337
"production": [
@@ -42,6 +46,7 @@
4246
]
4347
},
4448
"devDependencies": {
49+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
4550
"gh-pages": "^6.1.1"
4651
}
4752
}

src/App.js

+16-17
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,29 @@ import Awards from './components/awards/Awards';
33
import Hero from './components/hero/Hero';
44
import Navbar from './components/navbar/Navbar';
55
import Infos from './components/infos/Infos';
6-
import Jury from './components/jury/Jury';
76
import Sponsor from './components/sponsor/Sponsor';
87
import Tiny from './components/tiny/Tiny';
98
import Footer from './components/footer/Footer';
109
import Map from './components/map/Map';
1110
import Calendar from './components/calendar/Calendar';
1211

1312
function App() {
14-
return (
15-
<div className='App'>
16-
<div className='appContainer'>
17-
<Navbar />
18-
<Hero />
19-
<Infos />
20-
<Awards />
21-
{/* <Jury /> */}
22-
<Sponsor />
23-
<Calendar />
24-
<Tiny />
25-
<Map />
26-
<Footer />
27-
</div>
28-
</div>
29-
);
13+
return (
14+
<div className='App'>
15+
<div className='appContainer'>
16+
<Navbar />
17+
<Hero />
18+
<Infos />
19+
<Awards />
20+
{/* <Jury /> */}
21+
<Sponsor />
22+
<Calendar />
23+
<Tiny />
24+
<Map />
25+
<Footer />
26+
</div>
27+
</div>
28+
);
3029
}
3130

3231
export default App;

src/components/calendar/Calendar.jsx

+77-77
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,71 @@
1-
import React, { useState } from 'react';
1+
import React from 'react';
22
import styles from './calendar.module.css';
33

44
const calendar = [
5-
{
6-
time: '09 : 00',
7-
day: '21 Aralık 2024',
8-
title: 'Açılış(Etkinlik Başlangıcı)',
9-
},
10-
{
11-
time: '13 : 00',
12-
day: '21 Aralık 2024',
13-
title: 'Öğle Arası',
14-
},
15-
{
16-
time: '18 : 00',
17-
day: '21 Aralık 2024',
18-
title: 'Akşam Yemeği Molası',
19-
},
20-
{
21-
time: '19 : 00',
22-
day: '21 Aralık 2024',
23-
title: 'Sabaha Kadar Etkinliğe Devam ',
24-
},
25-
{
26-
time: '08 : 00',
27-
day: '22 Aralık 2024',
28-
title: '2. Gün: Kahvaltı Molası',
29-
},
30-
{
31-
time: '12 : 00',
32-
day: '22 Aralık 2024',
33-
title: '2. Gün: Öğle Arası',
34-
},
35-
{
36-
time: '15 : 00',
37-
day: '22 Aralık 2024',
38-
title: '2. Gün: Etkinlik Bitişi',
39-
},
40-
{
41-
time: '17 : 00',
42-
day: '22 Aralık 2024',
43-
title: '2. Gün: Ödül Töreni',
44-
},
45-
{
46-
time: '18 : 00',
47-
day: '22 Aralık 2024',
48-
title: '2. Gün: Kapanış',
49-
},
5+
{
6+
time: '09 : 00',
7+
day: '21 Aralık 2024',
8+
title: 'Açılış(Etkinlik Başlangıcı)',
9+
},
10+
{
11+
time: '13 : 00',
12+
day: '21 Aralık 2024',
13+
title: 'Öğle Arası',
14+
},
15+
{
16+
time: '18 : 00',
17+
day: '21 Aralık 2024',
18+
title: 'Akşam Yemeği Molası',
19+
},
20+
{
21+
time: '19 : 00',
22+
day: '21 Aralık 2024',
23+
title: 'Sabaha Kadar Etkinliğe Devam ',
24+
},
25+
{
26+
time: '08 : 00',
27+
day: '22 Aralık 2024',
28+
title: '2. Gün: Kahvaltı Molası',
29+
},
30+
{
31+
time: '12 : 00',
32+
day: '22 Aralık 2024',
33+
title: '2. Gün: Öğle Arası',
34+
},
35+
{
36+
time: '15 : 00',
37+
day: '22 Aralık 2024',
38+
title: '2. Gün: Etkinlik Bitişi',
39+
},
40+
{
41+
time: '17 : 00',
42+
day: '22 Aralık 2024',
43+
title: '2. Gün: Ödül Töreni',
44+
},
45+
{
46+
time: '18 : 00',
47+
day: '22 Aralık 2024',
48+
title: '2. Gün: Kapanış',
49+
},
5050
];
5151

5252
const Calendar = () => {
53-
// const [selectedDay, setSelectedDay] = useState('11 Mayıs 2024');
53+
// const [selectedDay, setSelectedDay] = useState('11 Mayıs 2024');
5454

55-
// const handleSelectDay = (e) => {
56-
// setSelectedDay(e.target.value);
57-
// };
55+
// const handleSelectDay = (e) => {
56+
// setSelectedDay(e.target.value);
57+
// };
5858

59-
// console.log('selectedDay', selectedDay);
59+
// console.log('selectedDay', selectedDay);
6060

61-
return (
62-
<div id='calendar' className={styles.container}>
63-
<div className={styles.sectionContainer}>
64-
<div className={styles.sectionTitle}>
65-
<span>Hackathon</span>
66-
<span>Takvimi</span>
67-
</div>
68-
{/* <div className={styles.sectionButtons}>
61+
return (
62+
<div id='calendar' className={styles.container}>
63+
<div className={styles.sectionContainer}>
64+
<div className={styles.sectionTitle}>
65+
<span>Hackathon</span>
66+
<span>Takvimi</span>
67+
</div>
68+
{/* <div className={styles.sectionButtons}>
6969
<button
7070
className={styles.button}
7171
style={{
@@ -93,25 +93,25 @@ const Calendar = () => {
9393
12 Mayıs 2024
9494
</button>
9595
</div> */}
96-
</div>
97-
<div className={styles.header}>
98-
<span> 21 Aralık 2024 - 22 Aralık 2024 </span>
99-
</div>
100-
<div className={styles.content}>
101-
{calendar.map((item, index) => {
102-
return (
103-
<div className={styles.item} key={index}>
104-
<div className={styles.time}>{item.time}</div>
105-
<div className={styles.detail}>
106-
<span className={styles.title}>{item.title}</span>
107-
<span className={styles.location}>Teknokent - Hackerspace</span>
108-
</div>
10996
</div>
110-
);
111-
})}
112-
</div>
113-
</div>
114-
);
97+
<div className={styles.header}>
98+
<span> 21 Aralık 2024 - 22 Aralık 2024 </span>
99+
</div>
100+
<div className={styles.content}>
101+
{calendar.map((item, index) => {
102+
return (
103+
<div className={styles.item} key={index}>
104+
<div className={styles.time}>{item.time}</div>
105+
<div className={styles.detail}>
106+
<span className={styles.title}>{item.title}</span>
107+
<span className={styles.location}>Teknokent - Hackerspace</span>
108+
</div>
109+
</div>
110+
);
111+
})}
112+
</div>
113+
</div>
114+
);
115115
};
116116

117117
export default Calendar;

src/components/footer/Footer.jsx

+25-27
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,36 @@
11
import React from 'react';
22
import styles from './footer.module.css';
3-
import { TfiWorld } from 'react-icons/tfi';
4-
import { FaFacebookSquare } from 'react-icons/fa';
53
import { FaInstagramSquare } from 'react-icons/fa';
64
import { FaSquareXTwitter } from 'react-icons/fa6';
75
import { FaLinkedin } from 'react-icons/fa6';
86
import { FaLink } from 'react-icons/fa';
97
const Footer = () => {
10-
return (
11-
<footer className={styles.footer}>
12-
<div className={styles['footer-credits']}>
13-
<ul className={styles['left-side']}>
14-
<li>© 2024 PAUSIBER | Tüm Hakları Saklıdır</li>
15-
</ul>
8+
return (
9+
<footer className={styles.footer}>
10+
<div className={styles['footer-credits']}>
11+
<ul className={styles['left-side']}>
12+
<li>© 2024 PAUSIBER | Tüm Hakları Saklıdır</li>
13+
</ul>
1614

17-
<ul className={styles['right-side']}>
18-
<li className={styles.icons}>
19-
<a href='https://pausiber.xyz/'>
20-
<FaLink className={styles.icon} />
21-
</a>
22-
<a href='https://twitter.com/SiberPau'>
23-
<FaSquareXTwitter className={styles.icon} />
24-
</a>
25-
<a href='https://www.instagram.com/pausiber/'>
26-
<FaInstagramSquare className={styles.icon} />
27-
</a>
28-
<a href='https://www.linkedin.com/company/pausiber/?viewAsMember=true'>
29-
<FaLinkedin className={styles.icon} />
30-
</a>
31-
</li>
32-
</ul>
33-
</div>
34-
</footer>
35-
);
15+
<ul className={styles['right-side']}>
16+
<li className={styles.icons}>
17+
<a href='https://pausiber.xyz/'>
18+
<FaLink className={styles.icon} />
19+
</a>
20+
<a href='https://twitter.com/SiberPau'>
21+
<FaSquareXTwitter className={styles.icon} />
22+
</a>
23+
<a href='https://www.instagram.com/pausiber/'>
24+
<FaInstagramSquare className={styles.icon} />
25+
</a>
26+
<a href='https://www.linkedin.com/company/pausiber/?viewAsMember=true'>
27+
<FaLinkedin className={styles.icon} />
28+
</a>
29+
</li>
30+
</ul>
31+
</div>
32+
</footer>
33+
);
3634
};
3735

3836
export default Footer;

0 commit comments

Comments
 (0)