Skip to content

Commit

Permalink
Merge pull request WebXDAO#475 from Panquesito7/rename_teams
Browse files Browse the repository at this point in the history
fix: `teams` -> `team`
  • Loading branch information
thehashmap authored Jul 9, 2023
2 parents 471d2e6 + d85e283 commit 7710801
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 54 deletions.
54 changes: 54 additions & 0 deletions src/app/team/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import Star from "../../components/star";
import { fontGilroy } from "@/lib/fonts";
import { cn } from "@/lib/utils";
import Head from "next/head";
import TeamCard from "@/components/TeamCard";

export default async function Team() {
return (
<>
<Head>
<title>Team | WebXDAO</title>
</Head>
<section className="w-full overflow-hidden py-8">
<div className="container mx-auto flex max-w-5xl flex-row flex-wrap justify-around lg:flex-nowrap ">
<h1
className={cn(
"w-max-content my-2 w-full text-center text-7xl font-semibold leading-tight text-slate-900 dark:text-white lg:text-left",
fontGilroy.className
)}
>
Meet the team
</h1>
<div className="mt-9 hidden gap-20 lg:flex">
<div className="my-auto flex">
<Star height={40} width={40} />
</div>
<Star height={90} width={90} />
</div>
<svg xmlns="http://www.w3.org/2000/svg" width="900" height="2" className="-mx-52 mb-11 mt-auto hidden lg:flex">
<line x1="0" y1="0" x2="1000" y2="0" strokeWidth="2" className="stroke-black dark:stroke-white"/>
</svg>
</div>
<div className="ml-4 mr-1 mt-6 flex justify-center text-lg font-light leading-tight text-black dark:text-white sm:text-center md:text-xl lg:text-left ">
As online collaborators with a strong commitment to Open Source contributions.<br></br>
We have come together to establish WebX DAO.
</div>
</section>

<div className="container mx-auto grid-cols-2 justify-center gap-10 sm:block md:grid lg:flex ">
<TeamCard Name="Vincent Villafuerte" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Shubham Kukreti " position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Ritvik Shukla" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Maxime Kubik" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
</div>
<h1 className="mt-10 text-center font-bold">WebX Guild Maintainers and Moderators</h1>
<h1 className="mt-5 text-center">The essential role of our community projects &apos; maintainers and moderators is to ensure the <br/>proper functioning of our codebase and foster a welcoming and engaged community.</h1>
<div className="container mx-auto my-10 grid-cols-2 justify-center gap-10 sm:block md:grid lg:flex">
<TeamCard Name="David Leal" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Krish Gupta" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Abhinav MV" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
</div>
</>
);
}
3 changes: 3 additions & 0 deletions src/app/teams/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Teams

This page is used only for redirecting from `/teams` to `/team`, as the page was renamed (see <https://github.com/WebXDAO/WebXDAO.github.io/issues/471>).
56 changes: 3 additions & 53 deletions src/app/teams/page.tsx
Original file line number Diff line number Diff line change
@@ -1,54 +1,4 @@
import Star from "../../components/star";
import { fontGilroy } from "@/lib/fonts";
import { cn } from "@/lib/utils";
import Head from "next/head";
import TeamCard from "@/components/TeamCard";

export default async function Teams() {
return (
<>
<Head>
<title>Teams | WebXDAO</title>
</Head>
<section className="w-full overflow-hidden py-8">
<div className="container mx-auto flex max-w-5xl flex-row flex-wrap justify-around lg:flex-nowrap ">
<h1
className={cn(
"w-max-content my-2 w-full text-center text-7xl font-semibold leading-tight text-slate-900 dark:text-white lg:text-left",
fontGilroy.className
)}
>
Meet the team
</h1>
<div className="mt-9 hidden gap-20 lg:flex">
<div className="my-auto flex">
<Star height={40} width={40} />
</div>
<Star height={90} width={90} />
</div>
<svg xmlns="http://www.w3.org/2000/svg" width="900" height="2" className="-mx-52 mb-11 mt-auto hidden lg:flex">
<line x1="0" y1="0" x2="1000" y2="0" strokeWidth="2" className="stroke-black dark:stroke-white"/>
</svg>
</div>
<div className="ml-4 mr-1 mt-6 flex justify-center text-lg font-light leading-tight text-black dark:text-white sm:text-center md:text-xl lg:text-left ">
As online collaborators with a strong commitment to Open Source contributions.<br></br>
We have come together to establish WebX DAO.
</div>
</section>

<div className="container mx-auto grid-cols-2 justify-center gap-10 sm:block md:grid lg:flex ">
<TeamCard Name="Vincent Villafuerte" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Shubham Kukreti " position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Ritvik Shukla" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Maxime Kubik" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
</div>
<h1 className="mt-10 text-center font-bold">WebX Guild Maintainers and Moderators</h1>
<h1 className="mt-5 text-center">The essential role of our community projects &apos; maintainers and moderators is to ensure the <br/>proper functioning of our codebase and foster a welcoming and engaged community.</h1>
<div className="container mx-auto my-10 grid-cols-2 justify-center gap-10 sm:block md:grid lg:flex">
<TeamCard Name="David Leal" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Krish Gupta" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
<TeamCard Name="Abhinav MV" position="WebX Guild Core" github_url="" linkedin_url="" twitter_url=""/>
</div>
</>
);
import { redirect } from 'next/navigation';
export default async function Home({}) {
redirect('/team');
}
2 changes: 1 addition & 1 deletion src/config/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const siteConfig = {
},
{
title: "WebX Team",
href: "/teams",
href: "/team",
},
{
title: "Contributors",
Expand Down

0 comments on commit 7710801

Please sign in to comment.