Skip to content

Commit 6f0ce25

Browse files
committed
intial migration
0 parents  commit 6f0ce25

File tree

216 files changed

+29227
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+29227
-0
lines changed

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
.yarn/install-state.gz
8+
9+
# testing
10+
/coverage
11+
12+
# next.js
13+
/.next/
14+
/out/
15+
16+
# production
17+
/build
18+
19+
# misc
20+
.DS_Store
21+
*.pem
22+
23+
# debug
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
# local env files
29+
.env*.local
30+
31+
# vercel
32+
.vercel
33+
34+
# typescript
35+
*.tsbuildinfo
36+
next-env.d.ts

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Getting started
2+
3+
Process to setup the project in your localhost.
4+
5+
**Step - 1:**
6+
- clone the project to your localhost or Computer
7+
- Use below command to clone to your localhost.
8+
9+
```
10+
git clone <repo name>
11+
```
12+
13+
**Step - 2**
14+
15+
- Now run below commands to install and run
16+
17+
```
18+
cd <directorty(folder) name>
19+
```
20+
21+
```
22+
npm i
23+
```
24+
25+
```
26+
npm run dev
27+
```
28+
29+
you can see the localhost:3000

components/AdSense.jsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { useEffect } from 'react';
2+
3+
const AdSense = ({ client, slot }) => {
4+
useEffect(() => {
5+
try {
6+
(window.adsbygoogle = window.adsbygoogle || []).push({});
7+
} catch (e) {
8+
console.error("AdSense error: ", e);
9+
}
10+
}, []);
11+
12+
return (
13+
<ins
14+
className="adsbygoogle"
15+
style={{ display: 'block' }}
16+
data-ad-client={client}
17+
data-ad-slot={slot}
18+
data-ad-format="auto"
19+
></ins>
20+
);
21+
};
22+
23+
export default AdSense;

components/Footer.jsx

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
import React from "react";
2+
3+
const Footer = () => {
4+
return (
5+
<>
6+
<div className="bg-[#3F3F3F] w-full flex justify-around h-[251px]">
7+
<div className="w-[288px] m-auto h-[125px]">
8+
<div className="w-full h-[67px] my-5 bg-[#FFFFFF]"></div>
9+
<div className="grid grid-cols-5">
10+
<div className="w-[49px] h-[41px] bg-[#FFFFFF]"></div>
11+
<div className="w-[49px] h-[41px] bg-[#FFFFFF]"></div>
12+
<div className="w-[49px] h-[41px] bg-[#FFFFFF]"></div>
13+
<div className="w-[49px] h-[41px] bg-[#FFFFFF]"></div>
14+
</div>
15+
</div>
16+
<div className="w-[115px] text-white m-auto h-[120px]">
17+
<h4 className="font-bold my-2 text-base">QUICK LINKS</h4>
18+
<ul className="w-[94px] h-[92px]">
19+
<li className="text-sm">Tech Blogs</li>
20+
<li className="text-sm">Design Blogs</li>
21+
<li className="text-sm">Tutorial Blogs</li>
22+
</ul>
23+
</div>
24+
<div className="w-[115px] text-white m-auto h-[120px]">
25+
<h4 className="font-bold my-2 text-base">Community</h4>
26+
<ul className="w-[94px] h-[92px]">
27+
<li className="text-sm">Hive Team</li>
28+
<li className="text-sm">Carrer</li>
29+
</ul>
30+
</div>
31+
<div className="w-[115px] text-white m-auto h-[120px]">
32+
<h4 className="font-bold my-2 text-base">SUPPORT</h4>
33+
<ul className="w-[94px] h-[92px]">
34+
<li className="text-sm">Contact Us</li>
35+
<li className="text-sm">Help Center</li>
36+
<li className="text-sm">FAQs</li>
37+
</ul>
38+
</div>
39+
</div>
40+
<div className="w-full flex text-center justify-center items-center h-[68px] bg-[#CCCCCC]">
41+
<p className="font-bold">
42+
© 2022 — Lets Build Community. All Rights Reserved.
43+
</p>
44+
</div>
45+
</>
46+
);
47+
};
48+
49+
export default Footer;

components/Header.jsx

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import Image from "next/image";
2+
import Link from "next/link";
3+
import React from "react";
4+
5+
const Header = () => {
6+
return (
7+
<div className="h-[72px] w-full flex items-center justify-between bg-[#D9D9D9]">
8+
<div className="flex justify-between w-full px-10">
9+
<div className="w-[201px] ml-5">
10+
<Image
11+
src="/assets/Home/Logo_Home.png"
12+
alt=""
13+
width={181}
14+
height={38}
15+
/>
16+
</div>
17+
<div className="w-[597px] p-2 flex justify-between px-6">
18+
<Link href="/" className="text-[#000000] w-auto">
19+
Home
20+
</Link>
21+
<Link href="/blog" className="text-[#000000] w-auto">
22+
Explore
23+
</Link>
24+
<Link href="/" className="text-[#000000] w-auto">
25+
About
26+
</Link>
27+
<Link href="/" className="text-[#000000] w-auto">
28+
Events
29+
</Link>
30+
<Link href="/" className="text-[#000000] w-auto">
31+
Sign in
32+
</Link>
33+
<Link href="/">
34+
<button className="bg-black text-white w-auto px-5 py-1 font-bold rounded-3xl">
35+
Get Started
36+
</button>
37+
</Link>
38+
</div>
39+
</div>
40+
</div>
41+
);
42+
};
43+
44+
export default Header;

0 commit comments

Comments
 (0)