File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ const socket = io("http://localhost:8000");
6
6
7
7
import Header from "./components/Header" ;
8
8
import Toolbar from "./components/Toolbar" ;
9
+ import Socials from "./components/Socials" ;
9
10
10
11
function App ( ) {
11
12
const canvasRef = useRef ( null ) ;
@@ -123,7 +124,7 @@ function App() {
123
124
>
124
125
< Header > </ Header >
125
126
< Toolbar > </ Toolbar >
126
-
127
+ < Socials > </ Socials >
127
128
< button id = "clear" onClick = { clearOnClick } >
128
129
Clear
129
130
</ button >
Original file line number Diff line number Diff line change
1
+ import Xlogo from "../assets/xlogo.png"
2
+ const link = "https://twitter.com/ajeetonx" ;
3
+
4
+ function Socials ( ) {
5
+ function clickHandler ( ) {
6
+ window . open ( link , "_blank" ) ;
7
+ }
8
+ return (
9
+ < div className = "flex items-center justify-center mt-3" >
10
+ < h1 className = "text-white mr-2 cursor-pointer font-sans" onClick = { clickHandler } >
11
+ Built By{ " " }
12
+ < span className = "font-mono text-emerald-300 hover:lowercase" >
13
+ AJEET
14
+ </ span >
15
+ </ h1 >
16
+ < img
17
+ src = { Xlogo }
18
+ className = "h-6 w-6 rounded cursor-pointer"
19
+ onClick = { clickHandler }
20
+ > </ img >
21
+ </ div >
22
+ ) ;
23
+ }
24
+
25
+ export default Socials ;
You can’t perform that action at this time.
0 commit comments