Skip to content

Commit

Permalink
test team images
Browse files Browse the repository at this point in the history
  • Loading branch information
clara7227 committed Oct 15, 2024
1 parent 9a11b29 commit e259c1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 339 deletions.
337 changes: 1 addition & 336 deletions app/design-system/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,342 +34,7 @@ export default function DesignSystem(props) {

return (
<main className={"page_" + currentLang + " standard_margin"}>
<Heading level="h2">Sistema de diseño</Heading>

<Heading level="h3">Botones</Heading>
{/* Variant */}
<Heading level="h5">Variante</Heading>
<div className="flex flex-wrap gap-4 pb-8">
<Button
href="#"
variant="default"
size="default"
radius="rounded_sm"
>
Botón Default
</Button>
<Button
href="#"
variant= "secondary"
size="default"
radius= "rounded_sm"
>
Botón Secondary
</Button>
<Button
href="#"
variant= "outline"
size= "default"
radius= "rounded_sm"

>
Botón Outline
</Button>
<Button
href="#"
variant= "ghost"
size= "default"
radius= "rounded_sm"

>
Botón Ghost
</Button>
<Button
href="#"
variant= "link"
size= "default"
radius= "rounded_sm"
>
Botón Link
</Button>
</div>

{/* Size */}
<Heading level="h5">Tamaño</Heading>
<div className="flex flex-wrap gap-4 pb-8">
<Button
href="#"
variant= "default"
size= "lg"
radius= "rounded_sm"
>
Botón lg <FaceIcon />
</Button>
<Button
href="#"
variant= "default"
size= "default"
radius= "rounded_sm"

>
Botón Default <FaceIcon />
</Button>
<Button
href="#"
variant= "default"
size= "sm"
radius= "rounded_sm"
>
Botón sm <FaceIcon />
</Button>
</div>

{/* RADIUS */}
<Heading level="h5">Radius</Heading>
<div className="flex flex-wrap gap-4 pb-8">
<Button
href="#"
variant= "default"
size= "default"
radius= "rounded_sm"

>
Radius sm
</Button>
<Button
href="#"
variant= "default"
size= "default"
radius= "rounded_md"
>
Radius md
</Button>
<Button
href="#"
variant= "default"
size= "default"
radius= "rounded_lg"
>
Radius lg
</Button>
<Button
href="#"
variant= "default"
size= "default"
radius= "rounded_full"
>
Radius full
</Button>
</div>
<Heading level="h3">Badges</Heading>
<Heading level="h5">Variant</Heading>
<div className="flex flex-wrap gap-4 pb-8">
<Badge
href="#"
variant= "default"
>
badge default
</Badge>
<Badge
href="#"
variant= "secondary"
>
badge secondary
</Badge>
<Badge
href="#"
variant= "outline"
>
badge outline
</Badge>
</div>

{/* badge sizes */}
<Heading level="h5">Size</Heading>
<div className="flex flex-wrap gap-4 pb-8">
<Badge
href="#"
size= "lg"
>
badge lg
</Badge>
<Badge
href="#"
size= "default"

>
badge default
</Badge>
<Badge
href="#"
size= "sm"

>
badge sm
</Badge>
</div>

{/* cards */}
<Heading level="h3">Cards</Heading>
<section className="cards grid md:grid-cols-2 gap-4">
{projects.map(
({
id,
date,
route,
title,
subtitle,
tags,
category,
name,
position,
center,
author,
doi,
mail,
}) => {
return (
<Card
key={id}
className={CardVariants({})}
date={date}
title={title}
subtitle={center}
tags={tags}
category={category}
buttonText={"texto del botón"}
></Card>
);
}
)}
</section>

<Heading level="h3" className={"mt-8"}>
Cards predefinidas
</Heading>
<section className="cards grid md:grid-cols-2 gap-4 mt-4">
<Card
cardType={"project"}

date={"fecha"}
title={
"Project. Utilización de escape rooms y videojuegos educativos en la Educación Universitaria"
}
subtitle={"E.T.S DE ING. DE SISTEMAS INFORMÁTICOS"}
tags={
"Aprendizaje Activo, Aprendizaje Autónomo, Investigación educativa, Aula Invertida, Gamificación"
}
description={
"Las tecnologías de React y React Native son una manera novedosa y muy potente de desarrollar aplicaciones de cliente, tanto aplicaciones web como aplicaciones nativas Android e iOS. Son una de las tecnologías más demandadas en el mercado laboral hoy en día, y este curso te permitirá dominarlas y hacer tus propias aplicaciones de forma autónoma."
}
route={
"https:innovacioneducativa.upm.es/mooc/informacion-mooc?idmooc=356"
}
category={"categoría"}
buttonText={""}
></Card>

<Card
cardType={"course"}

date={"2023"}
title={"Course. Desarrollo de aplicaciones con React y React Native"}
subtitle={"2nd Edition"}
description={
"Las tecnologías de React y React Native son una manera novedosa y muy potente de desarrollar aplicaciones de cliente, tanto aplicaciones web como aplicaciones nativas Android e iOS. Son una de las tecnologías más demandadas en el mercado laboral hoy en día, y este curso te permitirá dominarlas y hacer tus propias aplicaciones de forma autónoma."
}
tags={"React, Desarrollo web, Front-End"}
category={"MOOC"}
buttonText={"curso"}
></Card>

<Card
cardType={"publication"}

date={"2024"}
title={
"Pub. Empowering Database Learning through Remote Educational Escape Rooms"
}
author={
"Enrique Barra, Sonsoles López-Pernas, Aldo Gordillo, Alejandro Pozo Huertas, Jose Muñoz, and Javier Conde"
}
tags={"tag, tag, tag, tag"}
category={"article-journal"}
doi={"https:doi.org/10.1016/j.entcom.2023.100588"}
buttonText={"leer publicación"}
></Card>

<Card
cardType={"tool"}
img={"/assets/img/courses/fondo-cursos.png"}
title={"Tool. Card de herramienta"}
description={"descripción de la herramienta"}
route={"https:github.com/agordillo/RESCORM"}
github={"https:github.com/agordillo/RESCORM"}
></Card>

<Card
cardType={"team"}
date={"2024"}
name={"Team. Nombre Apellidos"}
position={"Eadasdasde"}
tags={"Database, Learning, Remote, Education"} //Tags separados por comas
category={"article-journal"} //Categoría, será traducida a "artículo de revista"
img="placeholder.jpg" URL de la imagen
svg={`<svg width="100" height="100"><circle cx="50" cy="50" r="40" fill="blue" /></svg>`} //Código SVG
/>
</section>
<section>
<Heading level="h3" className={"mt-12"}>
Tabs{" "}
</Heading>

{/* Pasa las categorías y las tarjetas al componente Tabs */}
<TabsCategoryFilter
categories={categories}
cards={projects}
onFilter={setFilteredCards}
/>

<div className="project_cards my-4 sm:my-6 lg:my-10 sm:grid sm:grid-cols-2 sm:gap-4">
{filteredCards.map(
(
{ date, route, title, center, description, tags, category },
index
) => (
<Card
key={index}
cardType={"project"}
date={date}
category={category}
title={title}
subtitle={center}
description={description}
tags={tags}
route={route}
></Card>
)
)}
</div>
</section>

<Heading level="h3">Recent publications</Heading>
<RecentPublications />

<Heading level="h3" className={"border-t-2 border-t-primary pt-2 mt-4"}>
Jerarquías de textos
</Heading>

<Heading level="h2">Títulos de 1er nivel</Heading>
<Text type="p"></Text>

<Heading level="h2">Títulos de 2o nivel</Heading>
<Text type="p"></Text>

<Heading level="h3">Títulos de 3er nivel</Heading>
<Text type="p"></Text>

<Heading level="h4">Títulos de 4o nivel</Heading>
<Text type="p"></Text>

<Heading level="h5">Títulos de 5o nivel</Heading>
<Text type="p"></Text>

<Heading level="h6">Títulos de 6º nivel</Heading>
<Text type="p"></Text>

<Text type="p">jerarquías de textos</Text>
<Text type="small">jerarquías de textos</Text>

</main>
);
}
4 changes: 2 additions & 2 deletions components/core/Cards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ const Card = React.forwardRef(
<CustomCard className={cn(CardVariants({ direction, className }))}>
{img && (
<Image
src={/* process.env.PUBLIC_URL */ +img || "placeholder.jpg"}
alt={/* process.env.PUBLIC_URL */ +img || "placeholder.jpg"}
src={basePath+img || "placeholder.jpg"}
alt={basePath+img || "placeholder.jpg"}
className={"h-24"}
fit="contain"
/>
Expand Down
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const nextConfig = {
*
* @see https://nextjs.org/docs/app/api-reference/next-config-js/basePath
*/
basePath: isProd ? '/ging' : '',
basePath: isProd ? '/boiler' : '',

/**
* Set asset prefix. This is the URL prefix for assets.
Expand Down

0 comments on commit e259c1d

Please sign in to comment.