Skip to content
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

Merged
merged 7 commits into from
Apr 22, 2024
Merged

Feat alerts #308

merged 7 commits into from
Apr 22, 2024

Conversation

VictoriaIleanaRodriguezMora
Copy link
Collaborator

No description provided.

…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">

Copy link
Contributor

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

Copy link
Collaborator Author

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
@victorianastasi
Copy link
Contributor

Ficha de colapsable

Modificacion de texto de Colapsable con lista
image

@lautarorodriguez96 lautarorodriguez96 merged commit aafbeef into master Apr 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants