Skip to content

Commit

Permalink
refactor: update contributors page, partners and copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Apr 2, 2024
1 parent 3447c72 commit 08c5327
Show file tree
Hide file tree
Showing 9 changed files with 129 additions and 74 deletions.
Binary file added public/assets/logos/coffee-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/logos/logo-loja-conectada.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 45 additions & 4 deletions src/app/team/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,56 @@ export default function Team() {
</svg>
<span className="relative mr-2 bg-base-6 px-2 text-base-12">Core</span>
</span>
<span className="text-base-6">Team Contributors</span>
<span className="text-base-6">Team</span>
</h2>
<p className="mt-4 text-base text-base-2 md:text-lg">Current active core members.</p>
</div>
<div className="grid gap-10 sm:grid-cols-2 lg:grid-cols-4">
<div className="grid gap-2 sm:grid-cols-2 lg:grid-cols-6">
{team.map((member: MemberType) => (
<Member key={member.name} member={member} />
))}
</div>
{/* CLI */}
{/* <div className="my-20 max-w-xl sm:text-center md:mx-auto md:mb-12 lg:max-w-3xl">
<div>
<h2 className="bg-teal-accent-400 mb-4 inline-block rounded-full px-3 py-px font-semibold uppercase tracking-wider ">
Alumni Team
</h2>
</div>
<h2 className="mb-6 max-w-lg font-sans text-3xl font-bold leading-none tracking-tight text-gray-900 sm:text-4xl md:mx-auto">
<span className="relative inline-block text-base-3">
<svg
viewBox="0 0 52 24"
fill="currentColor"
className="text-blue-gray-100 absolute left-0 top-0 z-0 -ml-20 -mt-8 hidden w-32 sm:block lg:-ml-28 lg:-mt-10 lg:w-32"
>
<defs>
<pattern
id="1d4040f3-9f3e-4ac7-b117-7d4009658ced"
x="0"
y="0"
width=".135"
height=".30"
>
<circle cx="1" cy="1" r=".7" />
</pattern>
</defs>
<rect fill="url(#1d4040f3-9f3e-4ac7-b117-7d4009658ced)" width="52" height="24" />
</svg>
<span className="relative mr-2 bg-base-6 px-2 text-base-12">Past</span>
</span>
<span className="text-base-6">Contributors</span>
</h2>
<p className="mt-4 text-base text-base-2 md:text-lg">
We also want to thank all past members for their invaluable contributions!
</p>
</div>
<div className="grid gap-2 sm:grid-cols-2 lg:grid-cols-6">
{alumni.map((member: MemberType) => (
<Member key={member.name} member={member} />
))}
</div> */}
{/* Past Members */}
<div className="my-20 max-w-xl sm:text-center md:mx-auto md:mb-12 lg:max-w-3xl">
<div>
<h2 className="bg-teal-accent-400 mb-4 inline-block rounded-full px-3 py-px font-semibold uppercase tracking-wider ">
Expand Down Expand Up @@ -74,10 +115,10 @@ export default function Team() {
<span className="text-base-6">Contributors</span>
</h2>
<p className="mt-4 text-base text-base-2 md:text-lg">
This space is dedicated to acknowledging and thanking our past contributors.
We also want to thank all past members for their invaluable contributions!
</p>
</div>
<div className="grid gap-10 sm:grid-cols-2 lg:grid-cols-4">
<div className="grid gap-2 sm:grid-cols-2 lg:grid-cols-6">
{alumni.map((member: MemberType) => (
<Member key={member.name} member={member} />
))}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Footer = () => {
<p>Released under the MIT License</p>
<p>Official ExpressoTS Site</p>
<p>
Copyright © 2021-2023{' '}
Copyright © 2021-2024{' '}
<a
href="https://www.linkedin.com/in/richardzampieri/"
target="_blank"
Expand Down
8 changes: 4 additions & 4 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ export const Header = () => {
<IconBook className="mr-2 h-5 w-5" aria-hidden="true" />
Documentation
</MenuLi>
<MenuLi href="/team">
<IconUsersGroup className="mr-2 h-5 w-5" aria-hidden="true" />
Contributors
</MenuLi>
<MenuLi href="/showcase">
<IconBriefcase className="mr-2 h-5 w-5" aria-hidden="true" />
Showcases
</MenuLi>
<MenuLi href="/team">
<IconUsersGroup className="mr-2 h-5 w-5" aria-hidden="true" />
Team
</MenuLi>
<MenuLi href="https://github.com/expressots/expressots">
<IconBrandGithub className="mr-2 h-5 w-5" aria-hidden="true" />
Github
Expand Down
12 changes: 6 additions & 6 deletions src/components/Header/nav-mobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,29 +55,29 @@ export function NavMobile() {
<Menu.Item>
{({ active }) => (
<Link
href="https://doc.expresso-ts.com/docs/hello"
href="/team"
className={`${
active ? 'bg-base-6 text-neutral-1' : 'text-neutral-8'
} group flex w-full items-center rounded-md px-3 py-3 text-base font-medium`}
>
<div className="flex items-center justify-start gap-1">
<IconBriefcase className="mr-2 h-5 w-5" aria-hidden="true" />
Showcase
<IconUsersGroup className="mr-2 h-5 w-5" aria-hidden="true" />
Contributors
</div>
</Link>
)}
</Menu.Item>
<Menu.Item>
{({ active }) => (
<Link
href="/team"
href="https://doc.expresso-ts.com/docs/hello"
className={`${
active ? 'bg-base-6 text-neutral-1' : 'text-neutral-8'
} group flex w-full items-center rounded-md px-3 py-3 text-base font-medium`}
>
<div className="flex items-center justify-start gap-1">
<IconUsersGroup className="mr-2 h-5 w-5" aria-hidden="true" />
Team
<IconBriefcase className="mr-2 h-5 w-5" aria-hidden="true" />
Showcase
</div>
</Link>
)}
Expand Down
16 changes: 10 additions & 6 deletions src/components/Member/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,26 @@ interface MemberProps {

export const Member: React.FC<MemberProps> = ({ member }) => {
const [hasError, setHasError] = useState(false)

return (
<div key={member.name}>
<div className="relative transform overflow-hidden rounded shadow-lg transition duration-300 hover:shadow-2xl lg:hover:-translate-y-2">
<div
className="relative transform overflow-hidden rounded shadow-lg transition duration-300 hover:shadow-2xl lg:hover:-translate-y-2"
style={{ width: '80%' }}
>
<Image
width="100"
height="256"
className={`h-56 w-full md:h-64 xl:h-80 ${hasError ? 'object-fill' : 'object-cover'}`}
width={100}
height={256}
className={`relative h-56 w-full md:h-64 xl:h-40 ${
hasError ? 'object-fill' : 'object-cover'
}`}
src={hasError ? './assets/logos/logo-primary.svg' : member.photo}
alt={`avatar-${member.name}`}
onError={() => setHasError(true)}
/>
<div className="absolute inset-0 flex flex-col justify-center bg-black bg-opacity-75 px-5 py-5 text-center opacity-0 transition-opacity duration-300 hover:opacity-100">
<p className="mb-1 text-lg font-bold text-gray-100">{member.name}</p>
<p className="mb-4 text-xs text-gray-100">{member.position}</p>
<p className="mb-4 text-xs tracking-wide text-gray-400">{member.resume}</p>
{/* <p className="mb-4 text-xs tracking-wide text-gray-400">{member.resume}</p> */}
<div className="flex items-center justify-center space-x-3">
{member.socials.map((social: any, ind: number) => (
<a
Expand Down
10 changes: 10 additions & 0 deletions src/components/Partner/partners.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
import { TPartner } from './types'

export const PARTNERS: TPartner[] = [
{
image: '/assets/logos/logo-loja-conectada.png',
name: 'Loja Conectada',
site: 'https://www.lojaconectada.com.br/',
},
{
image: '/assets/logos/coffee-logo.png',
name: 'BuscaCafé',
site: 'https://www.buscacafe.com.br/',
},
{
image: '/assets/logos/pokebattle.png',
name: 'PokeBattle',
Expand Down
106 changes: 53 additions & 53 deletions src/data/members.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,33 @@ const team: Member[] = [
],
},
{
// Daniel
name: 'Daniel Boll',
// Juliano
name: 'Juliano Soares',
position: 'Core developer',
resume:
"Sorcerer Boll, code mystique, In Rust, C++, Typescript's streak. Open source magic he'll deploy, Coding realms, he'll skillfully toy.",
photo: 'https://avatars.githubusercontent.com/u/43689101?v=4',
resume: '💻 Researcher and student of artificial intelligence and machine learning',
photo: 'https://avatars.githubusercontent.com/u/37117169?v=4',
socials: [
{
name: 'github',
url: 'https://github.com/Daniel-Boll',
url: 'https://github.com/juliano-soares',
},
{
name: 'linkedin',
url: 'https://www.linkedin.com/in/daniel-boll',
url: 'https://www.linkedin.com/in/juliano-leonardo-soares',
},
],
},
{
// Vitor
name: 'Vitor Caminha',
position: 'Core developer',
resume:
'Passionate about Artificial Intelligence and Python. Falling in love with JavaScript and its wonderful technologies.',
photo: 'https://avatars.githubusercontent.com/u/50715987?v=4',
// Pedro
name: 'Pedro Vargas',
position: 'Product Manager',
resume: 'I am a creator, and I am passionate about translating ideas into actionable insights.',
photo:
'https://media.licdn.com/dms/image/C5603AQGM4BZY9DLwzw/profile-displayphoto-shrink_200_200/0/1517520966833?e=1717632000&v=beta&t=DrB25zU1i-6fziW03QqqC_E_RKDbeLx1jSBMK_2mfNU',
socials: [
{
name: 'github',
url: 'https://github.com/VitorCaminha',
},
{
name: 'linkedin',
url: 'https://www.linkedin.com/in/vitorcaminha',
url: 'https://www.linkedin.com/in/pedroavargas',
},
],
},
Expand All @@ -81,74 +76,62 @@ const team: Member[] = [
},
],
},
]

const alumni: Member[] = [
{
// Felipe
name: 'Felipe Fontana',
// Daniel
name: 'Daniel Boll',
position: 'Core developer',
resume: "Lover of processes, always looking to improve people's lives through technology.",
photo: 'https://avatars.githubusercontent.com/u/6570783?v=4',
resume:
"Sorcerer Boll, code mystique, In Rust, C++, Typescript's streak. Open source magic he'll deploy, Coding realms, he'll skillfully toy.",
photo: 'https://avatars.githubusercontent.com/u/43689101?v=4',
socials: [
{
name: 'github',
url: 'https://github.com/f0ntana',
url: 'https://github.com/Daniel-Boll',
},
{
name: 'linkedin',
url: 'https://www.linkedin.com/in/felipe-fontana/',
url: 'https://www.linkedin.com/in/daniel-boll',
},
],
},
{
// Juliano
name: 'Juliano Soares',
// Felipe
name: 'Felipe Fontana',
position: 'Core developer',
resume: '💻 Researcher and student of artificial intelligence and machine learning',
photo: 'https://avatars.githubusercontent.com/u/37117169?v=4',
resume: "Lover of processes, always looking to improve people's lives through technology.",
photo: 'https://avatars.githubusercontent.com/u/6570783?v=4',
socials: [
{
name: 'github',
url: 'https://github.com/juliano-soares',
url: 'https://github.com/f0ntana',
},
{
name: 'linkedin',
url: 'https://www.linkedin.com/in/juliano-leonardo-soares',
url: 'https://www.linkedin.com/in/felipe-fontana/',
},
],
},
{
// Aluisio
name: 'Aluisio Amorim',
// Vitor
name: 'Vitor Caminha',
position: 'Core developer',
resume: 'Full-stack, for real. Opening magic boxes and turning them into science.',
photo: 'https://avatars.githubusercontent.com/u/42624869?v=4',
resume:
'Passionate about Artificial Intelligence and Python. Falling in love with JavaScript and its wonderful technologies.',
photo: 'https://avatars.githubusercontent.com/u/50715987?v=4',
socials: [
{
name: 'github',
url: 'https://github.com/Amorim33',
},
{
name: 'linkedin',
url: 'https://www.linkedin.com/in/aluisio-amorim-b19a701ba/',
url: 'https://github.com/VitorCaminha',
},
],
},
{
// Pedro
name: 'Pedro Vargas',
position: 'Product Manager',
resume: 'I am a creator, and I am passionate about translating ideas into actionable insights.',
photo:
'https://media.licdn.com/dms/image/C5603AQGM4BZY9DLwzw/profile-displayphoto-shrink_800_800/0/1517520964466?e=1701907200&v=beta&t=Uih_pSiuYtJHXg4D8HRYOJ1DaSML3dmNvKvhXJRi8Lo',
socials: [
{
name: 'linkedin',
url: 'https://www.linkedin.com/in/pedroavargas',
url: 'https://www.linkedin.com/in/vitorcaminha',
},
],
},
]

const alumni: Member[] = [
{
// Rodrigo da Hora
name: 'Rodrigo da Hora',
Expand Down Expand Up @@ -203,6 +186,23 @@ const alumni: Member[] = [
},
],
},
{
// Aluisio
name: 'Aluisio Amorim',
position: 'Core developer',
resume: 'Full-stack, for real. Opening magic boxes and turning them into science.',
photo: 'https://avatars.githubusercontent.com/u/42624869?v=4',
socials: [
{
name: 'github',
url: 'https://github.com/Amorim33',
},
{
name: 'linkedin',
url: 'https://www.linkedin.com/in/aluisio-amorim-b19a701ba/',
},
],
},
]

export { team, socialIcons, alumni }

0 comments on commit 08c5327

Please sign in to comment.