diff --git a/app/about/page.js b/app/about/page.js index 01f137c..5ccfccb 100644 --- a/app/about/page.js +++ b/app/about/page.js @@ -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 { @@ -59,7 +55,7 @@ export default function About() {
- +
{t("about.Goals.Goal1.GoalTitle")} {t("about.Goals.Goal1.GoalBody")} @@ -67,7 +63,7 @@ export default function About() {
- +
{t("about.Goals.Goal2.GoalTitle")} {t("about.Goals.Goal2.GoalBody")} @@ -75,7 +71,7 @@ export default function About() {
- +
{t("about.Goals.Goal3.GoalTitle")} {t("about.Goals.Goal3.GoalBody")} diff --git a/app/contact/page.js b/app/contact/page.js index f03209c..bd1fee1 100644 --- a/app/contact/page.js +++ b/app/contact/page.js @@ -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'; diff --git a/app/courses/page.js b/app/courses/page.js index 2899d0d..697dd10 100644 --- a/app/courses/page.js +++ b/app/courses/page.js @@ -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"; diff --git a/app/documentation/page.js b/app/documentation/page.js index b688a77..7f46236 100644 --- a/app/documentation/page.js +++ b/app/documentation/page.js @@ -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"; diff --git a/app/page.js b/app/page.js index 37d05fd..e89cf53 100644 --- a/app/page.js +++ b/app/page.js @@ -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'; @@ -72,7 +72,7 @@ export default function Page() { radius: "rounded_sm", })} > - {t("front.action-button")} + {t("front.action-button")} { diff --git a/app/tools/page.js b/app/tools/page.js index b5d3801..09beda6 100644 --- a/app/tools/page.js +++ b/app/tools/page.js @@ -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(); diff --git a/components/LangSwitcher.jsx b/components/LangSwitcher.jsx index 32b679c..41fc51b 100644 --- a/components/LangSwitcher.jsx +++ b/components/LangSwitcher.jsx @@ -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 = { @@ -19,7 +19,7 @@ export default function LangSwitcher() { const { i18n } = useTranslation(); return (
- + {Object.keys(lngs).map((lng) => (
- + {t("footer.email")} diff --git a/components/core/Header.jsx b/components/core/Header.jsx index 10f50c1..bc1b233 100644 --- a/components/core/Header.jsx +++ b/components/core/Header.jsx @@ -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 }); @@ -82,12 +83,12 @@ export default function Header(props) { {/* menu icons */}
{!state.open ? ( - setState({ open: !state.open })} /> ) : ( - setState({ open: !state.open })} />