Skip to content

Commit 05a4545

Browse files
authored
Merge pull request #263 from WebXDAO/minor_website_improvements
[feat/fix]: minor website improvements/fixes
2 parents fddfe73 + 5c990fc commit 05a4545

File tree

6 files changed

+40
-37
lines changed

6 files changed

+40
-37
lines changed

src/components/Global/Footer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const navigation = [
2424
{
2525
name: "CONTACT",
2626
href: "/contact",
27-
children: [{ name: "Contact us", href: "[email protected]" }],
27+
children: [{ name: "Contact us", href: "mailto:[email protected]" }],
2828
},
2929
{
3030
name: "PARTNERS",
@@ -43,7 +43,7 @@ const Footer = () => {
4343
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
4444
<div>
4545
<div className="flex justify-center text-teal-600 sm:justify-start">
46-
<a href="https://webxdao.github.io/">
46+
<a href="https://webxdao.xyz">
4747
<span className="sr-only">WebX DAO</span>
4848
<img className="w-auto h-14 sm:h-16" src="/images/logo/logo.png" alt="WebX DAO Logo" />
4949
</a>
@@ -67,6 +67,7 @@ const Footer = () => {
6767
<Link
6868
className="transition text-white/60 hover:text-white/60/75 "
6969
href={child.href}
70+
key = {child.name}
7071
>
7172
<span className="text-white/60 cursor-pointer">{child.name}</span>
7273
</Link>

src/components/Global/Navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const Navbar = () => {
5656
</div>
5757

5858
<a
59-
href="#"
59+
href="https://github.com/WebXDAO"
6060
className="inline-flex items-center px-4 py-2 text-base font-medium text-gray-600 bg-gray-100 border border-transparent rounded-md hover:text-white/80 hover:bg-gray-700"
6161
>
6262
GitHub

src/components/Home/HeroSection/CallToActionHero.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ const CallToActionHero = () => {
1010
<button className="w-full relative px-7 py-4 bg-black/80 rounded-lg leading-none flex items-center divide-x divide-gray-600 ">
1111
<span className="flex items-center space-x-5 ">
1212
<VscGithub className="w-6 h-6 text-cyber-webx hover:text-pink-600 hover:-rotate-6" />
13-
<span className="pr-6 text-gray-100 text-sm md:text-base">
14-
Hacktoberfest 2022
15-
</span>
13+
<Link href="https://hacktoberfest.com">
14+
<span className="pr-6 text-gray-100 text-sm md:text-base">
15+
Hacktoberfest 2022
16+
</span>
17+
</Link>
1618
</span>
1719
<Link href="https://github.com/WebXDAO">
1820
<span className="pl-6 text-white/50 group-hover:text-gray-100 transition duration-200 text-sm md:text-base">
19-
See GitHub org &rarr;
21+
See GitHub organization &rarr;
2022
</span>
2123
</Link>
2224
</button>

src/components/Home/HeroSection/ContributeButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ContributeButton = () => {
88
className="inline-flex items-center justify-center px-8 py-3 text-base font-medium transition-all duration-100 bg-gray-100 border border-transparent rounded-md shadow-md border-dark hover:border-white/80 text-slate-700 hover:bg-gray-700 hover:text-slate-100 focus:outline-none focus:ring-2 focus:ring-cyber-webx focus:ring-offset-2"
99
whileHover={{ scale: 1.05 }}
1010
whileTap={{ scale: 1 }}
11-
href="https://github.com/webxdao"
11+
href="https://github.com/WebXDAO"
1212
>
1313
Contribute
1414
</motion.a>

src/pages/partners.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Head from "next/head";
2+
import Link from "next/link";
23
import { prefix } from "../constants";
34

45
export default function Partners({ partnerData }) {
@@ -23,25 +24,27 @@ export default function Partners({ partnerData }) {
2324
<div className="container mx-auto">
2425
<div className="flex flex-wrap gap-6">
2526
<div className="text-black grid grid-col-1 p-3 gap-y-3 md:grid md:grid-cols-2 md:gap-6 md:p-3">
26-
{partnerData.map(({ name, title, imgUrl, text }, index) => (
27-
<div
28-
key={name + index}
29-
className="cursor-pointer bg-white flex-1 shadow-2xl transform transition hover:shadow-lg hover:scale-105 hover:z-10 duration-300 ease-in-out p-4 bg-opacity-5 rounded-2xl justify-conten backdrop-filter backdrop-blur-md"
30-
>
31-
<div className="grid grid-cols-3 items-center justify-start overflow-hidden">
32-
<div className="relative col-span-1">
33-
<img
34-
alt={name}
35-
className="bg-gray-50 p-5 rounded-md"
36-
src={prefix + imgUrl}
37-
/>
38-
</div>
39-
<div className="flex flex-col col-span-2 gap-y-3 pl-5">
40-
<h4 className="text-xl text-gray-300 font-semibold">{title}</h4>
41-
<p className="text-gray-500">{text}</p>
27+
{partnerData.map(({ name, title, imgUrl, text, url }, index) => (
28+
<Link key={name + index} href={url}>
29+
<div
30+
key={name + index}
31+
className="cursor-pointer bg-white flex-1 shadow-2xl transform transition hover:shadow-lg hover:scale-105 hover:z-10 duration-300 ease-in-out p-4 bg-opacity-5 rounded-2xl justify-conten backdrop-filter backdrop-blur-md"
32+
>
33+
<div className="grid grid-cols-3 items-center justify-start overflow-hidden">
34+
<div className="relative col-span-1">
35+
<img
36+
alt={name}
37+
className="bg-gray-50 p-5 rounded-md"
38+
src={prefix + imgUrl}
39+
/>
40+
</div>
41+
<div className="flex flex-col col-span-2 gap-y-3 pl-5">
42+
<h4 className="text-xl text-gray-300 font-semibold">{title}</h4>
43+
<p className="text-gray-500">{text}</p>
44+
</div>
4245
</div>
4346
</div>
44-
</div>
47+
</Link>
4548
))}
4649
</div>
4750
</div>
@@ -59,24 +62,21 @@ export function getStaticProps() {
5962
imgUrl: "/images/logo/partners/DevProtocol.png",
6063
title: "Dev Protocol",
6164
text: "Dev Protocol was designed as a unique protocol to fairly evaluate OSS, which has been economically undervalued for decades. It is built on the Ethereum blockchain and brings economic value to all open source activities.",
65+
url: "https://devprotocol.xyz"
6266
},
6367
{
6468
name: "Lumos Labs",
6569
imgUrl: "/images/logo/partners/LumosLabs.jpg",
6670
title: "Lumos Labs",
6771
text: "Lumos Labs is building a metaverse for builders and Web3 ecosystem enablers to share opportunities to build and scale-up.",
72+
url: "https://www.lumoslabs.co"
6873
},
6974
{
7075
name: "The Algorithms",
7176
imgUrl: "/images/logo/partners/TheAlgorithms.png",
7277
title: "The Algorithms",
73-
text: "Open Source Community for learning Data Structures & Algorithms and their implementation in any Programming Language",
74-
},
75-
{
76-
name: "logo3",
77-
imgUrl: "/logo 3 3.png",
78-
title: "FREE SLOT",
79-
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doeiusmod tempor incididunt ut labore et dolore magna aliqua.",
78+
text: "Open Source Community for learning Data Structures & Algorithms and their implementation in any Programming Language.",
79+
url: "https://the-algorithms.com"
8080
},
8181
];
8282
return {

src/pages/team.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ const mod = [
5151
linkedinUrl: '#',
5252
},
5353
{
54-
name: 'Krish Gupta',
54+
name: 'Krish Gupta (a.k.a Emotidev)',
5555
role: 'Mods / Maintainer',
5656
imageUrl:
57-
'https://github.com/krshkun.png',
58-
githubUrl: 'https://github.com/krshkun',
59-
twitterUrl: 'https://twitter.com/krshkun',
60-
linkedinUrl: 'https://linkedin.com/in/krshkun',
57+
'https://github.com/emotidev.png',
58+
githubUrl: 'https://github.com/emotidev',
59+
twitterUrl: 'https://twitter.com/emotidev',
60+
linkedinUrl: 'https://linkedin.com/in/emotidev',
6161
},
6262
{
6363
name: 'Abhinav MV',

0 commit comments

Comments
 (0)