Skip to content

Commit 047d843

Browse files
authored
Merge branch 'main' into main
2 parents abfe004 + ab000a9 commit 047d843

File tree

10 files changed

+81
-15
lines changed

10 files changed

+81
-15
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
npm-debug.log
3+
build

Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Using latest Node.js base image
2+
FROM node:18
3+
4+
# Set the working directory in the container
5+
WORKDIR /usr/src/app
6+
7+
# Copy package.json and package-lock.json
8+
COPY package*.json ./
9+
10+
# Install app dependencies
11+
RUN npm install
12+
# If you are building your code for production
13+
# RUN npm ci --omit=dev
14+
15+
# Bundle app source
16+
COPY . .
17+
18+
# Expose the PORT
19+
EXPOSE 3000
20+
21+
# Start the server by building the app
22+
CMD [ "npm", "start" ]

public/discord.svg

Lines changed: 1 addition & 0 deletions
Loading

public/github.svg

Lines changed: 1 addition & 0 deletions
Loading

public/linkedin.svg

Lines changed: 1 addition & 0 deletions
Loading

public/twitter.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import IconButton from "./iconbutton";
2+
3+
4+
import Image from 'next/image';
5+
import Link from 'next/link';
6+
7+
const HeaderSocialMedia = (props) => {
8+
return (
9+
<>
10+
<div>
11+
<IconButton src="discord.svg" alt="discord" width={props.width} height={props.height} url="https://discord.com/invite/g7FmxB9uZp" className="hover:scale-110 duration-300"/>
12+
</div>
13+
<div>
14+
<IconButton src="github.svg" alt="discord"width={props.width} height={props.height} url="https://github.com/devs-in-tech/DevsInTech" className="hover:scale-110 duration-300"/>
15+
</div>
16+
<div>
17+
<IconButton src="twitter.svg" alt="discord" width={props.width} height={props.height} url="https://twitter.com/devs_in_tech" className="hover:scale-110 duration-300"/>
18+
</div>
19+
<div>
20+
<IconButton src="linkedin.svg" alt="linkedin" width={props.width} height={props.height} url="https://www.linkedin.com/company/devsintech-community/" className="hover:scale-110 duration-300"/>
21+
</div>
22+
</>
23+
);
24+
};
25+
export default HeaderSocialMedia;

src/components/Navbar.jsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Link from "next/link";
33
import { useState } from "react";
44
import Logo from "../../public/logo2.png";
55
import Button from "./button";
6+
import HeaderSocialMedia from "./HeaderSocialMedia";
67

78
const Navbar = () => {
89
let Links = [
@@ -45,16 +46,13 @@ const Navbar = () => {
4546
</Link>
4647
</li>
4748
))}
48-
<span className="md:hidden block">
49-
<Button
50-
name="Join Us"
51-
url="https://discord.com/invite/g7FmxB9uZp"
52-
/>
53-
</span>
49+
<div className="md:hidden flex gap-4">
50+
<HeaderSocialMedia width={35} height={30}/>
51+
</div>
5452
</ul>
55-
<span className="md:ml-auto md:block hidden">
56-
<Button name="Join Us" url="https://discord.com/invite/g7FmxB9uZp " />
57-
</span>
53+
<div className="lg:flex lg:gap-5 hidden md:flex md:gap-3">
54+
<HeaderSocialMedia width={47} height={47}/>
55+
</div>
5856
</div>
5957
<div
6058
onClick={() => setOpen(!open)}

src/components/content/faq.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,31 @@ export const faqs = [
77
{
88
question: "Is it a Paid Community?",
99
answer:
10-
"Lorem ipsum dolor, sit amet consectetur adipisicing elit. Laborum eaque, quos soluta ad, amet quidem similique iure",
10+
"No, DevsInTech is a free community. To join, simply join our Discord server and start engaging with fellow developers.",
1111
},
1212
{
1313
question: "Does Events Occur often?",
1414
answer:
15-
"Lorem ipsum dolor, sit amet consectetur adipisicing elit. Laborum eaque, quos soluta ad, amet quidem similique iure",
15+
"Yes, we have frequent events at DevsInTech. We hold weekly coffee chats, monthly blogging competitions, and are planning to launch expert sessions soon. Keep an eye on our Discord announcements for the latest updates.",
1616
},
1717
{
1818
question: "Who are the founders of DevsInTech Community?",
1919
answer:
20-
"Lorem ipsum dolor, sit amet consectetur adipisicing elit. Laborum eaque, quos soluta ad, amet quidem similique iure",
20+
"DevsInTech was founded by Susmita Dey, a CS undergrad student and web developer at Digitea. She is also a technical writer and MLHacks mentor and judge.",
2121
},
2222
{
2323
question: "How to Actively Contribute into DevsInTech?",
2424
answer:
25-
"Lorem ipsum dolor, sit amet consectetur adipisicing elit. Laborum eaque, quos soluta ad, amet quidem similique iure",
25+
"To actively contribute to DevsInTech, join our Discord community and start engaging with fellow members. Apply for volunteer roles such as designer, developer, or content creator and manager. We are always looking for enthusiastic individuals to join our team.",
2626
},
2727
{
2828
question: "Will I receive any perks or advantage in Joining DevsInTech?",
2929
answer:
30-
"Lorem ipsum dolor, sit amet consectetur adipisicing elit. Laborum eaque, quos soluta ad, amet quidem similique iure",
30+
"Yes, by participating in our monthly blogging competitions with the tag #devsintech on Hashnode, you have a chance to win exclusive perks and swag.",
3131
},
3232
{
3333
question: "How to be a part of DevsInTech Community?",
3434
answer:
35-
"Lorem ipsum dolor, sit amet consectetur adipisicing elit. Laborum eaque, quos soluta ad, amet quidem similique iure",
35+
"To be a part of DevsInTech Community, join our Discord server by following the link on our website and start engaging with our members.",
3636
},
3737
];

src/components/iconbutton/index.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import Image from 'next/image';
2+
import Link from 'next/link';
3+
4+
const IconButton = (props) => {
5+
return (
6+
<Link href={props.url} legacyBehavior>
7+
<a target="_blank" rel="noopener noreferrer">
8+
<Image src={props.src} width={props.width} height={props.height} alt={props.alt} className={props.className}/>
9+
</a>
10+
</Link>
11+
);
12+
};
13+
14+
export default IconButton;

0 commit comments

Comments
 (0)