-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature index #6
Conversation
components/Nav.js
Outdated
<a> | ||
<Text color={Color.Neutral800} weight={TextWeight.Bold}> | ||
votabien | ||
<Text color={Color.Primary} weight={TextWeight.Bold}> | ||
.pe | ||
</Text> | ||
</Text> | ||
</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<a> | |
<Text color={Color.Neutral800} weight={TextWeight.Bold}> | |
votabien | |
<Text color={Color.Primary} weight={TextWeight.Bold}> | |
.pe | |
</Text> | |
</Text> | |
</a> | |
<Text as="a" color={Color.Neutral800} weight={TextWeight.Bold}> | |
votabien | |
<Text color={Color.Primary} weight={TextWeight.Bold}> | |
.pe | |
</Text> | |
</Text> |
<img | ||
src={politicalParty.logo} | ||
className="w-12 h-12 bg-neutral-200 rounded-md" | ||
alt={`Logo ${politicalParty.nombre}`} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same about using the Avatar component here
components/PoliticalParties.js
Outdated
/> | ||
<div className="flex flex-col ml-4"> | ||
<Link href="/"> | ||
<a className="text-primary-base">{titleize(politicalParty.nombre)}</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<a className="text-primary-base">{titleize(politicalParty.nombre)}</a> | |
<Text as=”a” color={Color.Primary}>{titleize(politicalParty.nombre)}</Text> |
export default function PoliticalParties({ politicalParties }) { | ||
return ( | ||
<div className="mt-16"> | ||
<h2 className="text-3xl font-extrabold">Partidos Políticos</h2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use Text
here?
components/PoliticalParties.js
Outdated
<Link href="/"> | ||
<a className="text-primary-base">{titleize(politicalParty.nombre)}</a> | ||
</Link> | ||
<span className="text-neutral-400">23 candidatos</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use Text
here?
Reclaim index page
Move current index to
/congresistas/:identifier