Skip to content

Commit

Permalink
[feat/fix]: minor website improvements/fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Panquesito7 committed Apr 18, 2023
1 parent ab2df40 commit 5c990fc
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 37 deletions.
5 changes: 3 additions & 2 deletions src/components/Global/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const navigation = [
{
name: "CONTACT",
href: "/contact",
children: [{ name: "Contact us", href: "web3opensourcecommunity@gmail.com" }],
children: [{ name: "Contact us", href: "mailto:web3opensourcecommunity@gmail.com" }],
},
{
name: "PARTNERS",
Expand All @@ -43,7 +43,7 @@ const Footer = () => {
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
<div>
<div className="flex justify-center text-teal-600 sm:justify-start">
<a href="https://webxdao.github.io/">
<a href="https://webxdao.xyz">
<span className="sr-only">WebX DAO</span>
<img className="w-auto h-14 sm:h-16" src="/images/logo/logo.png" alt="WebX DAO Logo" />
</a>
Expand All @@ -67,6 +67,7 @@ const Footer = () => {
<Link
className="transition text-white/60 hover:text-white/60/75 "
href={child.href}
key = {child.name}
>
<span className="text-white/60 cursor-pointer">{child.name}</span>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Global/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Navbar = () => {
</div>

<a
href="#"
href="https://github.com/WebXDAO"
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"
>
GitHub
Expand Down
10 changes: 6 additions & 4 deletions src/components/Home/HeroSection/CallToActionHero.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ const CallToActionHero = () => {
<button className="w-full relative px-7 py-4 bg-black/80 rounded-lg leading-none flex items-center divide-x divide-gray-600 ">
<span className="flex items-center space-x-5 ">
<VscGithub className="w-6 h-6 text-cyber-webx hover:text-pink-600 hover:-rotate-6" />
<span className="pr-6 text-gray-100 text-sm md:text-base">
Hacktoberfest 2022
</span>
<Link href="https://hacktoberfest.com">
<span className="pr-6 text-gray-100 text-sm md:text-base">
Hacktoberfest 2022
</span>
</Link>
</span>
<Link href="https://github.com/WebXDAO">
<span className="pl-6 text-white/50 group-hover:text-gray-100 transition duration-200 text-sm md:text-base">
See GitHub org &rarr;
See GitHub organization &rarr;
</span>
</Link>
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Home/HeroSection/ContributeButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ContributeButton = () => {
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"
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 1 }}
href="https://github.com/webxdao"
href="https://github.com/WebXDAO"
>
Contribute
</motion.a>
Expand Down
48 changes: 24 additions & 24 deletions src/pages/partners.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Head from "next/head";
import Link from "next/link";
import { prefix } from "../constants";

export default function Partners({ partnerData }) {
Expand All @@ -23,25 +24,27 @@ export default function Partners({ partnerData }) {
<div className="container mx-auto">
<div className="flex flex-wrap gap-6">
<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">
{partnerData.map(({ name, title, imgUrl, text }, index) => (
<div
key={name + index}
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"
>
<div className="grid grid-cols-3 items-center justify-start overflow-hidden">
<div className="relative col-span-1">
<img
alt={name}
className="bg-gray-50 p-5 rounded-md"
src={prefix + imgUrl}
/>
</div>
<div className="flex flex-col col-span-2 gap-y-3 pl-5">
<h4 className="text-xl text-gray-300 font-semibold">{title}</h4>
<p className="text-gray-500">{text}</p>
{partnerData.map(({ name, title, imgUrl, text, url }, index) => (
<Link key={name + index} href={url}>
<div
key={name + index}
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"
>
<div className="grid grid-cols-3 items-center justify-start overflow-hidden">
<div className="relative col-span-1">
<img
alt={name}
className="bg-gray-50 p-5 rounded-md"
src={prefix + imgUrl}
/>
</div>
<div className="flex flex-col col-span-2 gap-y-3 pl-5">
<h4 className="text-xl text-gray-300 font-semibold">{title}</h4>
<p className="text-gray-500">{text}</p>
</div>
</div>
</div>
</div>
</Link>
))}
</div>
</div>
Expand All @@ -59,24 +62,21 @@ export function getStaticProps() {
imgUrl: "/images/logo/partners/DevProtocol.png",
title: "Dev Protocol",
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.",
url: "https://devprotocol.xyz"
},
{
name: "Lumos Labs",
imgUrl: "/images/logo/partners/LumosLabs.jpg",
title: "Lumos Labs",
text: "Lumos Labs is building a metaverse for builders and Web3 ecosystem enablers to share opportunities to build and scale-up.",
url: "https://www.lumoslabs.co"
},
{
name: "The Algorithms",
imgUrl: "/images/logo/partners/TheAlgorithms.png",
title: "The Algorithms",
text: "Open Source Community for learning Data Structures & Algorithms and their implementation in any Programming Language",
},
{
name: "logo3",
imgUrl: "/logo 3 3.png",
title: "FREE SLOT",
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doeiusmod tempor incididunt ut labore et dolore magna aliqua.",
text: "Open Source Community for learning Data Structures & Algorithms and their implementation in any Programming Language.",
url: "https://the-algorithms.com"
},
];
return {
Expand Down
10 changes: 5 additions & 5 deletions src/pages/team.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ const mod = [
linkedinUrl: '#',
},
{
name: 'Krish Gupta',
name: 'Krish Gupta (a.k.a Emotidev)',
role: 'Mods / Maintainer',
imageUrl:
'https://github.com/krshkun.png',
githubUrl: 'https://github.com/krshkun',
twitterUrl: 'https://twitter.com/krshkun',
linkedinUrl: 'https://linkedin.com/in/krshkun',
'https://github.com/emotidev.png',
githubUrl: 'https://github.com/emotidev',
twitterUrl: 'https://twitter.com/emotidev',
linkedinUrl: 'https://linkedin.com/in/emotidev',
},
{
name: 'Abhinav MV',
Expand Down

0 comments on commit 5c990fc

Please sign in to comment.