Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
clara7227 committed Oct 16, 2024
1 parent 84393cb commit 70e59ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/team/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const Team = (props) => {
const [team, setTeam] = useState(myteam);
const { t, i18n } = useTranslation();
const currentLang = i18n.language;
//console.log(basePath + "tamo aqui")

// useEffect(() => {
// window.scrollTo(0, 0);
Expand Down
6 changes: 5 additions & 1 deletion components/core/Cards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ import {
} from "@radix-ui/react-icons";
import Link from "next/link";

// const config = require('../../next.config');
// console.log(config.basePath)
// console.log(config)

const CardVariants = cva(
"border border-primary min-w-20 p-4 inline-flex flex-col gap-4 items-center whitespace-nowrap rounded-md font-body text-sm text-text drop-shadow-md hover:scale-[101%] transition-all overflow-hidden",
{
Expand Down Expand Up @@ -222,7 +226,7 @@ const Card = React.forwardRef(
{(img || svg) && (
<Image
className={"h-[220px] rounded-md"}
src={basePath+ img || "placeholder.jpg"} // La imagen por defecto será una cadena vacía si no hay src
src={ img || "placeholder.jpg"} // La imagen por defecto será una cadena vacía si no hay src
alt={title || "Image"} // Usa el título como alt si existe
fit="cover" // Ajustamos el contenido al contenedor
hasBadge={position? true : false} // Por defecto, no tiene badge
Expand Down

0 comments on commit 70e59ac

Please sign in to comment.