Skip to content

Commit 3b7ae42

Browse files
committed
added recent projects
1 parent 059070b commit 3b7ae42

File tree

5 files changed

+32
-3
lines changed

5 files changed

+32
-3
lines changed

package-lock.json

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

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"@fortawesome/free-brands-svg-icons": "^6.1.1",
88
"@fortawesome/free-solid-svg-icons": "^6.1.1",
99
"@fortawesome/react-fontawesome": "^0.2.0",
10+
"@vercel/analytics": "^1.0.0",
1011
"axios": "^0.27.2",
1112
"react": "^18.2.0",
1213
"react-dom": "^18.2.0",

src/context/ProjectsContext.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function ProjectsContextProvider({ children }) {
2424

2525
const fetchProjects = () => {
2626
try {
27-
axios.get('https://api.github.com/orgs/TeamAlphaTg/repos').then(res => {
27+
axios.get('https://api.github.com/orgs/open-xyz/repos').then(res => {
2828
setProjects(filterProjects(res));
2929
setLoading(false);
3030
});

src/pages/Home.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import MainBody from '../components/Home/MainBody';
22
import Technologies from '../components/Home/Technologies';
3-
// import Projects from '../components/Home/Projects';
3+
import Projects from '../components/Home/Projects';
44
import AboutUs from '../components/Home/AboutUs';
55
// import Admins from '../components/Home/Admins';
66

@@ -9,7 +9,7 @@ function Home() {
99
<>
1010
<MainBody />
1111
<Technologies />
12-
{/* <Projects /> */}
12+
<Projects />
1313
<AboutUs />
1414
{/* <Admins /> */}
1515
</>

src/pages/_app.tsx

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import type { AppProps } from 'next/app';
2+
import { Analytics } from '@vercel/analytics/react';
3+
4+
function MyApp({ Component, pageProps }: AppProps) {
5+
return (
6+
<>
7+
<Component {...pageProps} />
8+
<Analytics />
9+
</>
10+
);
11+
}
12+
13+
export default MyApp;

0 commit comments

Comments
 (0)