Skip to content

Commit

Permalink
Merge pull request WebXDAO#444 from s2sharpit/srcDir
Browse files Browse the repository at this point in the history
using src directory For Improving Code Organization
  • Loading branch information
vinzvinci authored Jun 26, 2023
2 parents 034157b + 3c927bf commit a0582e2
Show file tree
Hide file tree
Showing 47 changed files with 18 additions and 15 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions app/teams/page.tsx → src/app/teams/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function Teams() {
<Head>
<title>Teams | WebXDAO</title>
</Head>
<section className="py-8 w-full overflow-hidden">
<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(
Expand All @@ -30,21 +30,21 @@ export default async function Teams() {
<line x1="0" y1="0" x2="1000" y2="0" strokeWidth="2" className="stroke-black dark:stroke-white"/>
</svg>
</div>
<div className="mt-6 flex justify-center text-lg font-light leading-tight text-black dark:text-white md:text-xl ml-4 mr-1 lg:text-left sm:text-center ">
<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 justify-center gap-10 lg:flex md:grid grid-cols-2 sm:block ">
<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="text-center mt-10 font-bold">WebX Guild Maintainers and Moderators</h1>
<h1 className="text-center mt-5">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 justify-center gap-10 mt-10 mb-10 lg:flex md:grid grid-cols-2 sm:block">
<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=""/>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions components/TeamCard.tsx → src/components/TeamCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const TeamCard = ({
}) => {
return (
<div>
<div className="border-2 border-black my-5 mx-auto" style={{backgroundColor: "white" , width: "150px", height:"150px" ,borderRadius: "50%"}}></div>
<h1 className="text-center my-1">{Name}</h1>
<div className="mx-auto my-5 border-2 border-black" style={{backgroundColor: "white" , width: "150px", height:"150px" ,borderRadius: "50%"}}></div>
<h1 className="my-1 text-center">{Name}</h1>
<h2 className="my-1 text-center">{position}</h2>
<div className="flex gap-4 px-5 my-6 place-content-center">
<div className="my-6 flex place-content-center gap-4 px-5">
<Link href={github_url} target="_blank">
<Icons.gitHub
className="cursor-pointer transition duration-500 hover:scale-150 hover:fill-blue-800"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/fonts.ts → src/lib/fonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ export const fontRoboto = FontRoboto({
export const fontGilroy = localFont({
src: [
{
path: '../public/fonts/gilroy/Gilroy-Medium.ttf',
path: '../../public/fonts/gilroy/Gilroy-Medium.ttf',
weight: '500',
style: 'normal'
},
{
path: '../public/fonts/gilroy/Gilroy-SemiBold.ttf',
path: '../../public/fonts/gilroy/Gilroy-SemiBold.ttf',
weight: '600',
style: 'normal'
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 6 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ const { fontFamily } = require("tailwindcss/defaultTheme")
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: ["app/**/*.{ts,tsx}", "components/**/*.{ts,tsx}"],
content: [
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
container: {
center: true,
Expand All @@ -14,7 +17,7 @@ module.exports = {
},
extend: {
zIndex: {
'999': 999,
999: 999,
},
colors: {
border: "hsl(var(--border))",
Expand Down Expand Up @@ -76,4 +79,4 @@ module.exports = {
},
},
plugins: [require("tailwindcss-animate")],
}
};
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"jsx": "preserve",
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
"@/*": ["./src/*"]
},
"plugins": [
{
Expand Down

0 comments on commit a0582e2

Please sign in to comment.