Skip to content

Commit

Permalink
iconos de radiz cambiados a material
Browse files Browse the repository at this point in the history
  • Loading branch information
clara7227 committed Oct 30, 2024
1 parent 077cc5b commit 11deac6
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 28 deletions.
16 changes: 6 additions & 10 deletions app/about/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ import { useEffect, useState } from "react";
import Link from "next/link";
import { projects } from "@/constants/projects.js";
import { useTranslation } from "react-i18next";
import {
FaceIcon,
FigmaLogoIcon,
HeartIcon,
Pencil2Icon,
ScissorsIcon,
} from "@radix-ui/react-icons";
import ElectricCarIcon from '@mui/icons-material/ElectricCar';
import ImportantDevicesIcon from '@mui/icons-material/ImportantDevices';
import PolylineIcon from '@mui/icons-material/Polyline';
import Heading from "@/components/ui/Heading";
import { Button, ButtonVariants } from "@/components/ui/button";
import {
Expand Down Expand Up @@ -59,23 +55,23 @@ export default function About() {
<div className=" flex items-center sm:items-strech sm:justify-stretch flex-col sm:grid sm:grid-cols-2 md:grid-cols-3 gap-4 md:gap-6 mb-20">
<CustomCard className="h-full w-full flex flex-col justify-start gap-4 xs:w-3/4 sm:w-full shadow-md shadow-primary/15 rounded text-center padding_card_highlight">
<div className="mx-auto h-12 w-12 rounded-full flex bg-primary-300 justify-center items-center">
<FigmaLogoIcon className="m-auto h-7 w-7 text-primary" />
<ElectricCarIcon className="m-auto h-7 w-7 text-primary" />
</div>
<CardTitle level="h4">{t("about.Goals.Goal1.GoalTitle")}</CardTitle>
<CardDescription>{t("about.Goals.Goal1.GoalBody")}</CardDescription>
</CustomCard>

<CustomCard className="h-full w-full flex flex-col justify-start gap-4 xs:w-3/4 sm:w-full shadow-md shadow-primary/15 rounded text-center padding_card_highlight">
<div className="mx-auto h-12 w-12 rounded-full flex bg-primary-300 justify-center items-center">
<ScissorsIcon className="m-auto h-7 w-7 text-primary"/>
<ImportantDevicesIcon className="m-auto h-7 w-7 text-primary"/>
</div>
<CardTitle level="h4">{t("about.Goals.Goal2.GoalTitle")}</CardTitle>
<CardDescription>{t("about.Goals.Goal2.GoalBody")}</CardDescription>
</CustomCard>

<CustomCard className="h-full w-full flex flex-col justify-start gap-4 xs:w-3/4 sm:w-full shadow-md shadow-primary/15 rounded text-center padding_card_highlight">
<div className="mx-auto h-12 w-12 rounded-full flex bg-primary-300 justify-center items-center">
<HeartIcon className="m-auto h-7 w-7 text-primary" />
<PolylineIcon className="m-auto h-7 w-7 text-primary" />
</div>
<CardTitle level="h4">{t("about.Goals.Goal3.GoalTitle")}</CardTitle>
<CardDescription>{t("about.Goals.Goal3.GoalBody")}</CardDescription>
Expand Down
4 changes: 0 additions & 4 deletions app/contact/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ import { useTranslation } from "react-i18next";

import Heading from "@/components/ui/Heading";
import Text from "@/components/ui/Text";

import { EnvelopeClosedIcon } from "@radix-ui/react-icons";
import { MobileIcon } from "@radix-ui/react-icons";
import { SewingPinIcon } from "@radix-ui/react-icons";
import LocationOnOutlinedIcon from '@mui/icons-material/LocationOnOutlined';
import LocalPhoneOutlinedIcon from '@mui/icons-material/LocalPhoneOutlined';
import MailOutlinedIcon from '@mui/icons-material/MailOutlined';
Expand Down
1 change: 0 additions & 1 deletion app/courses/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useEffect, useState } from "react";
import Link from "next/link";
import { mycourses } from "@/constants/courses.js";
import { useTranslation } from 'react-i18next';
import { FaceIcon } from "@radix-ui/react-icons";
import { Card, CardVariants } from "@/components/core/Cards";


Expand Down
1 change: 0 additions & 1 deletion app/documentation/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { Card, CardVariants } from "@/components/core/Cards";
import { Label } from "@radix-ui/react-label";
import { Badge, badgeVariants } from "@/components/ui/badge";
import TabsCategoryFilter from "@/components/TabsCategoryFilter";
import { FaceIcon } from "@radix-ui/react-icons";

// Array de datos (cards)
import { projects } from "@/constants/projects";
Expand Down
4 changes: 2 additions & 2 deletions app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Button, ButtonVariants } from "@/components/ui/button";
import Heading from "@/components/ui/Heading";
import { Divider, DividerVariants } from "@/components/ui/divider";
import Text from "@/components/ui/Text";
import { ArrowRightIcon, EnvelopeOpenIcon } from "@radix-ui/react-icons";
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
import Image from "@/components/ui/image";
import MailOutlinedIcon from '@mui/icons-material/MailOutlined';
import RocketLaunchIcon from '@mui/icons-material/RocketLaunch';
Expand Down Expand Up @@ -72,7 +72,7 @@ export default function Page() {
radius: "rounded_sm",
})}
>
{t("front.action-button")} <ArrowRightIcon className=" h-4 w-4" />
{t("front.action-button")} <ArrowForwardIcon className=" h-4 w-4" />
</Button>
</BannerContent>
<Image className={"hidden md:flex"}
Expand Down
2 changes: 0 additions & 2 deletions app/team/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import { Button } from "@/components/ui/button";
import Heading from "@/components/ui/Heading";
import Text from "@/components/ui/Text";
import { Card, CardVariants } from "@/components/core/Cards";
import { CardStackIcon } from "@radix-ui/react-icons";

import dynamic from "next/dynamic";

const Team = (props) => {
Expand Down
2 changes: 1 addition & 1 deletion app/tools/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import image from "next/image";
import { useState, useEffect } from "react";
import { mytools } from "@/constants/tools";
import { useTranslation } from "react-i18next";
import { FaceIcon } from "@radix-ui/react-icons";
import FaceIcon from '@mui/icons-material/Face';

export default function Tools(props) {
const { t, i18n } = useTranslation();
Expand Down
4 changes: 2 additions & 2 deletions components/LangSwitcher.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { useTranslation } from "react-i18next";
import { GlobeIcon } from "@radix-ui/react-icons";
import LanguageIcon from '@mui/icons-material/Language';
import clsx from "clsx";

const lngs = {
Expand All @@ -19,7 +19,7 @@ export default function LangSwitcher() {
const { i18n } = useTranslation();
return (
<div className="flex flex-nowrap justify-center md:justify-end items-center gap-2 py-2 px-4 md:px-0 md:py-0">
<GlobeIcon className="icon" />
<LanguageIcon className="icon text-18 mt-0.5" />
{Object.keys(lngs).map((lng) => (
<a
key={lng}
Expand Down
4 changes: 2 additions & 2 deletions components/core/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from "react";
import clsx from "clsx";
import { useTranslation } from "react-i18next";
import { activeRoutes } from "@/constants/routes";
import { EnvelopeClosedIcon } from "@radix-ui/react-icons";
import EmailOutlinedIcon from '@mui/icons-material/EmailOutlined';
import Image from "../ui/image";
import Text from "../ui/Text";
import Link from 'next/link';
Expand Down Expand Up @@ -34,7 +34,7 @@ export default function Footer(props) {
/>
<div className=" flex justify-center flex-col gap-0 xs:gap-2 md:flex-col md:gap-0">
<div className="flex flex-row">
<EnvelopeClosedIcon className="mr-2 mt-1" />
<EmailOutlinedIcon className="mr-2 mt-1" />
<Text className=" text-[14px] flex gap-1">
<b>{t("footer.email")} </b>
</Text>
Expand Down
7 changes: 4 additions & 3 deletions components/core/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import LangSwitcher from "@/components/LangSwitcher";
import { activeRoutes } from "@/constants/routes";

// icons
import { HamburgerMenuIcon, Cross1Icon } from "@radix-ui/react-icons";
import MenuOutlinedIcon from '@mui/icons-material/MenuOutlined';
import CloseOutlinedIcon from '@mui/icons-material/CloseOutlined';

export default function Header(props) {
const [state, setState] = useState({ open: false });
Expand Down Expand Up @@ -82,12 +83,12 @@ export default function Header(props) {
{/* menu icons */}
<div className="block md:hidden">
{!state.open ? (
<HamburgerMenuIcon
<MenuOutlinedIcon
className="w-6 h-6"
onClick={() => setState({ open: !state.open })}
/>
) : (
<Cross1Icon
<CloseOutlinedIcon
className="w-6 h-6"
onClick={() => setState({ open: !state.open })}
/>
Expand Down

0 comments on commit 11deac6

Please sign in to comment.