File tree 5 files changed +700
-13
lines changed
5 files changed +700
-13
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ function App() {
71
71
} ;
72
72
73
73
function easteregg ( ) {
74
- alert ( "Remove the window " ) ;
74
+ alert ( "ㅎㅇ " ) ;
75
75
}
76
76
77
77
return (
78
78
< Provider store = { store } >
79
- < div
79
+ { /* <div
80
80
style={{
81
81
margin: "0",
82
82
fontSize: "20px",
@@ -114,7 +114,7 @@ function App() {
114
114
Can you press it?
115
115
</button>
116
116
)}
117
- </ div >
117
+ </div> */ }
118
118
< div className = "scale-wrapper" style = { { transform : `scale(${ scale } )` } } >
119
119
< Draggable onDrag = { ( e , data ) => trackPos ( data ) } >
120
120
< div className = "form no-drag" >
@@ -125,6 +125,16 @@ function App() {
125
125
>
126
126
Speed Coder - Insiders
127
127
</ h1 >
128
+ < img
129
+ style = { {
130
+ position : "absolute" ,
131
+ right : "10px" ,
132
+ top : "770px" ,
133
+ left : "1148px" ,
134
+ width : "6%" ,
135
+ } }
136
+ src = "https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fspeedcoder.seol.pro& count_bg = % 2379 C83D & title_bg = % 23555555 & icon = & icon_color = % 23E7 E7E7 & edge_flat = false "
137
+ />
128
138
129
139
< ul className = "circlewrapper" onClick = { easteregg } >
130
140
< li className = "circle" >
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ export default function Sidebar(props) {
11
11
"server.js" ,
12
12
"RectangleArea.java" ,
13
13
"say_hello.py" ,
14
+ "Example.java" ,
15
+ "Fibonacci.java" ,
14
16
] ;
15
17
useEffect ( ( ) => {
16
18
if ( props . section === "1" ) {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export default function SidebarButton(props) {
6
6
7
7
useEffect ( ( ) => {
8
8
checker ( ) ;
9
- } , [ ] ) ;
9
+ } , [ props . daynight ] ) ;
10
10
11
11
function checker ( ) {
12
12
if ( props . daynight === 1 ) {
@@ -16,13 +16,14 @@ export default function SidebarButton(props) {
16
16
) {
17
17
document . documentElement . setAttribute ( "data-theme" , "dark" ) ;
18
18
setdaynightico ( "light_mode" ) ;
19
+ props . setdaynight ( 2 ) ;
19
20
}
20
21
} else {
21
22
if ( props . daynight % 2 === 1 ) {
22
- document . documentElement . setAttribute ( "data-theme" , "dark " ) ;
23
+ document . documentElement . setAttribute ( "data-theme" , "light " ) ;
23
24
setdaynightico ( "light_mode" ) ;
24
25
} else {
25
- document . documentElement . setAttribute ( "data-theme" , "light " ) ;
26
+ document . documentElement . setAttribute ( "data-theme" , "dark " ) ;
26
27
setdaynightico ( "dark_mode" ) ;
27
28
}
28
29
}
@@ -58,7 +59,6 @@ export default function SidebarButton(props) {
58
59
id = "onlymargin"
59
60
onClick = { ( ) => {
60
61
props . setdaynight ( props . daynight + 1 ) ;
61
- checker ( ) ;
62
62
} }
63
63
>
64
64
{ daynightico }
Original file line number Diff line number Diff line change @@ -50,8 +50,4 @@ can manipulate speed, please report
50
50
"color: balck; font-size: 10px;" ,
51
51
"color: #fff530; background-color: #212121; font-size: 11px;"
52
52
) ;
53
- console . log (
54
- `%cCareful. This might not do what you think.` ,
55
- "color: yellow; background-color: red; font-size: 14px; font-weight: bold;"
56
- ) ;
57
53
}
You can’t perform that action at this time.
0 commit comments