-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feat alerts #308
Feat alerts #308
Conversation
…en la página Paleta de Colores.
…mit anterior. Ahora sólo se pone la alerta en Paleta de Colores y en Tipografia.
@@ -10,6 +10,13 @@ interface TableOfContentsProps { | |||
export const TableOfContents = (props: TableOfContentsProps) => { | |||
return ( | |||
<div className="contents"> | |||
|
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.
vicky, lo esta agregando a todos, se me ocurre que se podria hacer en un archivo aparte y en layout.tsx hacer un if con el path para que lo muestre, algo asi:
{path == '/guías_de_estilos/paleta_de_colores/' && <RevisionAlert content="..." />}
En la alerta de colores y tipografia , los textos varian
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.
Muchas gracias Vi, corregido en principio. 👍
…mit anterior. Ahora sólo se pone la alerta en Paleta de Colores y en Tipografia.
…l código para que la alerra aparezca arriba del contenido.
…error de que la alerta aparezca en todos los componentes. Y se crea componente TableOfContentAlert para mostrar la advertencia según el path.
Se quita configurcion del settings.json que no debía estar y se corrige la nomenclatura de snake_case a camelCase
No description provided.