Skip to content

Commit 17422b6

Browse files
committed
initial release -- v1
1 parent 3f339c1 commit 17422b6

39 files changed

Lines changed: 3858 additions & 76 deletions

package-lock.json

Lines changed: 1940 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@
66
"@testing-library/jest-dom": "^5.16.4",
77
"@testing-library/react": "^13.3.0",
88
"@testing-library/user-event": "^13.5.0",
9+
"chart.js": "^3.8.0",
10+
"gh-polyglot": "^2.3.3",
911
"react": "^18.2.0",
12+
"react-chartjs-2": "^4.3.1",
1013
"react-dom": "^18.2.0",
11-
"react-router": "^6.3.0",
14+
"react-icons": "^4.4.0",
1215
"react-router-dom": "^6.3.0",
1316
"react-scripts": "5.0.1",
17+
"smooth-scrollbar": "^8.7.4",
18+
"styled-components": "^5.3.5",
1419
"web-vitals": "^2.1.4"
1520
},
1621
"scripts": {

public/index.html

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,13 @@
1010
content="Web site created using create-react-app"
1111
/>
1212
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13-
<!--
14-
manifest.json provides metadata used when your web app is installed on a
15-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16-
-->
1713
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18-
<!--
19-
Notice the use of %PUBLIC_URL% in the tags above.
20-
It will be replaced with the URL of the `public` folder during the build.
21-
Only files inside the `public` folder can be referenced from the HTML.
22-
23-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24-
work correctly both with client-side routing and a non-root public URL.
25-
Learn how to configure a non-root public URL by running `npm run build`.
26-
-->
27-
<title>React App</title>
14+
<link rel="preconnect" href="https://fonts.googleapis.com">
15+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
16+
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@300;400&display=swap" rel="stylesheet">
17+
<title>Github PRO | Search</title>
2818
</head>
2919
<body>
30-
<noscript>You need to enable JavaScript to run this app.</noscript>
3120
<div id="root"></div>
32-
<!--
33-
This HTML file is a template.
34-
If you open it directly in the browser, you will see an empty page.
35-
36-
You can add webfonts, meta tags, or analytics to this file.
37-
The build step will place the bundled scripts into the <body> tag.
38-
39-
To begin the development, run `npm start` or `yarn start`.
40-
To create a production bundle, use `npm run build` or `yarn build`.
41-
-->
4221
</body>
4322
</html>

src/App.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/Hooks/userContext.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { useState, createContext } from "react";
2+
3+
const UserContext = createContext();
4+
5+
export function UserProvider({ children }) {
6+
const [username, setUsername] = useState("");
7+
8+
const value = {
9+
username,
10+
setUsername,
11+
};
12+
13+
return <UserContext.Provider value={value}>{children}</UserContext.Provider>;
14+
}
15+
16+
export default UserContext;

src/assets/SVG/Circle.js

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
const IconCircle = () => (
2+
<svg
3+
width="904"
4+
height="912"
5+
viewBox="0 0 904 912"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg"
8+
>
9+
<path
10+
d="M897 451C897 697.319 697.319 897 451 897C204.681 897 5 697.319 5 451C5 204.681 204.681 5 451 5C697.319 5 897 204.681 897 451Z"
11+
stroke="#8338EC"
12+
strokeWidth="6"
13+
/>
14+
<path
15+
fillRule="evenodd"
16+
clipRule="evenodd"
17+
d="M0 912H904V713H0V912Z"
18+
fill="#121316"
19+
/>
20+
<path
21+
fillRule="evenodd"
22+
clipRule="evenodd"
23+
d="M0 712H904V697H0V712Z"
24+
fill="#121316"
25+
/>
26+
<path
27+
fillRule="evenodd"
28+
clipRule="evenodd"
29+
d="M0 695H904V680H0V695Z"
30+
fill="#121316"
31+
/>
32+
<path
33+
fillRule="evenodd"
34+
clipRule="evenodd"
35+
d="M0 633H904V618H0V633Z"
36+
fill="#121316"
37+
/>
38+
<path
39+
fillRule="evenodd"
40+
clipRule="evenodd"
41+
d="M0 676H904V661H0V676Z"
42+
fill="#121316"
43+
/>
44+
<path
45+
fillRule="evenodd"
46+
clipRule="evenodd"
47+
d="M0 610H904V595H0V610Z"
48+
fill="#121316"
49+
/>
50+
<path
51+
fillRule="evenodd"
52+
clipRule="evenodd"
53+
d="M0 656H904V641H0V656Z"
54+
fill="#121316"
55+
/>
56+
<path
57+
fillRule="evenodd"
58+
clipRule="evenodd"
59+
d="M0 584H904V569H0V584Z"
60+
fill="#121316"
61+
/>
62+
<path
63+
fillRule="evenodd"
64+
clipRule="evenodd"
65+
d="M0 558H904V543H0V558Z"
66+
fill="#121316"
67+
/>
68+
<path
69+
fillRule="evenodd"
70+
clipRule="evenodd"
71+
d="M0 529H904V514H0V529Z"
72+
fill="#121316"
73+
/>
74+
<path
75+
fillRule="evenodd"
76+
clipRule="evenodd"
77+
d="M0 499H904V484H0V499Z"
78+
fill="#121316"
79+
/>
80+
<path
81+
fillRule="evenodd"
82+
clipRule="evenodd"
83+
d="M0 467H904V452H0V467Z"
84+
fill="#121316"
85+
/>
86+
</svg>
87+
);
88+
89+
export default IconCircle;

src/assets/SVG/Close.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const IconClose = () => (
2+
<svg
3+
width="38"
4+
height="38"
5+
viewBox="0 0 38 38"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg"
8+
>
9+
<path
10+
d="M2.375 35.625L35.625 2.375M35.625 35.625L2.375 2.375"
11+
stroke="white"
12+
strokeWidth="2"
13+
strokeLinecap="round"
14+
strokeLinejoin="round"
15+
/>
16+
</svg>
17+
);
18+
19+
export default IconClose;

src/assets/SVG/DashIcon1.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
const DashIcon1 = () => (
2+
<svg
3+
width="130"
4+
height="130"
5+
viewBox="0 0 130 130"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg"
8+
>
9+
<g clip-path="url(#clip0_100_294)">
10+
<path
11+
d="M64.9784 129.693L64.7243 130.172L64.9794 130.308L65.234 130.171L64.9784 129.693ZM64.9797 0.304529L65.2352 -0.173008L64.9806 -0.309326L64.7255 -0.17386L64.9797 0.304529ZM65.2325 129.216C42.1666 116.965 26.4761 92.8019 26.4761 64.9995H25.3928C25.3928 93.2208 41.3208 117.742 64.7243 130.172L65.2325 129.216ZM26.4761 64.9995C26.4761 37.1965 42.1671 13.0332 65.2337 0.782918L64.7255 -0.17386C41.3214 12.2558 25.3928 36.7776 25.3928 64.9995H26.4761ZM64.724 0.782075C87.7143 13.0899 103.336 37.2326 103.336 64.9988H104.419C104.419 36.8149 88.5616 12.3147 65.2352 -0.173008L64.724 0.782075ZM103.336 64.9988C103.336 92.7656 87.7137 116.909 64.7228 129.216L65.234 130.171C88.561 117.684 104.419 93.1832 104.419 64.9988H103.336Z"
12+
fill="white"
13+
/>
14+
<path
15+
d="M52.7533 64.763C52.7533 71.6436 58.3311 77.2213 65.2116 77.2213C72.0922 77.2213 77.67 71.6436 77.67 64.763C77.67 57.8825 72.0922 52.3047 65.2116 52.3047C58.3311 52.3047 52.7533 57.8825 52.7533 64.763Z"
16+
stroke="white"
17+
/>
18+
<path d="M65.2116 0.304688V130.304" stroke="white" />
19+
<path
20+
d="M65 129.458C100.599 129.458 129.458 100.599 129.458 65.0001C129.458 29.4007 100.599 0.541748 65 0.541748C29.4006 0.541748 0.541664 29.4007 0.541664 65.0001C0.541664 100.599 29.4006 129.458 65 129.458Z"
21+
stroke="white"
22+
/>
23+
</g>
24+
<defs>
25+
<clipPath id="clip0_100_294">
26+
<rect width="130" height="130" fill="white" />
27+
</clipPath>
28+
</defs>
29+
</svg>
30+
);
31+
32+
export default DashIcon1;

src/assets/SVG/DashIcon2.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
const DashIcon2 = () => (
2+
<svg
3+
width="130"
4+
height="130"
5+
viewBox="0 0 130 130"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg"
8+
>
9+
<path
10+
d="M65 129.458C100.599 129.458 129.458 100.599 129.458 65.0001C129.458 29.4007 100.599 0.541748 65 0.541748C29.4006 0.541748 0.541656 29.4007 0.541656 65.0001C0.541656 100.599 29.4006 129.458 65 129.458Z"
11+
stroke="white"
12+
/>
13+
<path
14+
d="M117.839 102.266C84.7277 105.559 28.8378 60.0833 1.6774 76.2755"
15+
stroke="white"
16+
/>
17+
<path
18+
d="M18.4516 109.372C43.4416 93.6765 84.2396 26.9221 109.871 19.1548"
19+
stroke="white"
20+
/>
21+
<path
22+
d="M127.041 46.9678C95.8446 96.5722 30.0648 21.4017 0.661041 61.2258"
23+
stroke="white"
24+
/>
25+
</svg>
26+
);
27+
28+
export default DashIcon2;

src/assets/SVG/DashIcon3.js

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
const DashIcon3 = () => (
2+
<svg
3+
width="130"
4+
height="130"
5+
viewBox="0 0 130 130"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg"
8+
>
9+
<g clip-path="url(#clip0_100_300)">
10+
<path
11+
d="M106.54 15.9356L65.7532 56.7228L24.1274 15.0969"
12+
stroke="white"
13+
/>
14+
<path d="M95.736 8.38715L65.7533 38.3699L35.112 7.7286" stroke="white" />
15+
<path d="M48.3924 2.65608L65.7533 20.017L82.613 3.15731" stroke="white" />
16+
<path
17+
d="M106.736 114.039L65.9485 73.2516L24.3226 114.877"
18+
stroke="white"
19+
/>
20+
<path
21+
d="M95.9312 121.587L65.9485 91.6045L35.3072 122.246"
22+
stroke="white"
23+
/>
24+
<path
25+
d="M48.5876 127.318L65.9485 109.957L82.8082 126.817"
26+
stroke="white"
27+
/>
28+
<path
29+
d="M65 129.458C100.599 129.458 129.458 100.599 129.458 65.0001C129.458 29.4007 100.599 0.541748 65 0.541748C29.4007 0.541748 0.541687 29.4007 0.541687 65.0001C0.541687 100.599 29.4007 129.458 65 129.458Z"
30+
stroke="white"
31+
/>
32+
</g>
33+
<defs>
34+
<clipPath id="clip0_100_300">
35+
<rect width="130" height="130" fill="white" />
36+
</clipPath>
37+
</defs>
38+
</svg>
39+
);
40+
41+
export default DashIcon3;

0 commit comments

Comments
 (0)