diff --git a/bun.lockb b/bun.lockb index 666e395..5a31969 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 42e0164..9ebc99e 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,10 @@ "dependencies": { "@fontsource/open-sans": "^5.0.20", "@fontsource/permanent-marker": "^5.0.8", - "@fortawesome/fontawesome-svg-core": "^6.5.1", - "@fortawesome/free-brands-svg-icons": "^6.5.1", - "@fortawesome/free-solid-svg-icons": "^6.5.1", - "@fortawesome/react-fontawesome": "^0.2.0", + "@fortawesome/fontawesome-svg-core": "^7.2.0", + "@fortawesome/free-brands-svg-icons": "^7.2.0", + "@fortawesome/free-solid-svg-icons": "^7.2.0", + "@fortawesome/react-fontawesome": "^3.3.0", "@reduxjs/toolkit": "^2.0.1", "@stylistic/eslint-plugin": "^5.10.0", "@tanstack/match-sorter-utils": "^8.11.8", diff --git a/src/app/FeedbackConsumer.tsx b/src/app/FeedbackConsumer.tsx index 7580dc7..f631885 100644 --- a/src/app/FeedbackConsumer.tsx +++ b/src/app/FeedbackConsumer.tsx @@ -9,7 +9,7 @@ import { alert } from '@/styled-system/recipes/alert' import { faTimes } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { AnimatePresence, motion } from 'framer-motion' -import { type FC } from 'react' +import type { FC } from 'react' import { createPortal } from 'react-dom' const FeedbackConsumer: FC = () => { @@ -55,7 +55,7 @@ const FeedbackConsumer: FC = () => { className={alert().closeButton} onClick={() => dispatch(removeAlert(currentAlert.id))} > - + {currentAlert.title} diff --git a/src/app/Hero.tsx b/src/app/Hero.tsx index a152ed2..76e9b24 100644 --- a/src/app/Hero.tsx +++ b/src/app/Hero.tsx @@ -124,7 +124,7 @@ const Hero: FC = () => { } }))} > - + ) diff --git a/src/app/Team.tsx b/src/app/Team.tsx index 6c92e26..4c7fc7a 100644 --- a/src/app/Team.tsx +++ b/src/app/Team.tsx @@ -84,7 +84,7 @@ const Team: FC = () => { className={iconButton()} href={socialNetwork.url} > - + ))} diff --git a/src/app/clanes/page.tsx b/src/app/clanes/page.tsx index 67da2b9..a84d6e2 100644 --- a/src/app/clanes/page.tsx +++ b/src/app/clanes/page.tsx @@ -3,7 +3,7 @@ import { css } from '@/styled-system/css' import { Container } from '@/styled-system/jsx' import { faChevronRight } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' -import { type FC } from 'react' +import type { FC } from 'react' const ClanesPage: FC = () => { return ( @@ -22,17 +22,19 @@ const ClanesPage: FC = () => { La intención de EntGamers es brindar beneficios a los clanes que les permitan operar en un ambiente de comunicación y colaboración.
  • - + {' '} Espacio en el servidor de Discord.
  • - + {' '} Apoyo de la administración con proyectos y eventos.
  • - + + + {' '} Apoyo del equipo de moderación.
  • @@ -43,22 +45,30 @@ const ClanesPage: FC = () => { Todos los clanes deben cumplir con los siguientes requisitos:
    • - + + + {' '} Tener un encargado.
    • - + + + {' '} Fomentar el compañerismo y la comunidad.
    • - + + + {' '} Aportar contenido de forma periódica para la comunidad.
    • - + + + {' '} Realizar al menos una actividad mensual con los integrantes.
    • diff --git a/src/app/dashboard/_components/teamApplications/ApplicationsList.tsx b/src/app/dashboard/_components/teamApplications/ApplicationsList.tsx index 75d61db..a911110 100644 --- a/src/app/dashboard/_components/teamApplications/ApplicationsList.tsx +++ b/src/app/dashboard/_components/teamApplications/ApplicationsList.tsx @@ -189,7 +189,7 @@ const ApplicationsList: FC = () => { size="small" onClick={header.column.getToggleSortingHandler()} > - + )} @@ -257,7 +257,7 @@ const ApplicationsList: FC = () => { onClick={() => { table.previousPage() }} disabled={!table.getCanPreviousPage()} > - + Pagina {' '} @@ -270,7 +270,7 @@ const ApplicationsList: FC = () => { onClick={() => { table.nextPage() }} disabled={!table.getCanNextPage()} > - + diff --git a/src/app/equipo/unirse/ApplyForm.tsx b/src/app/equipo/unirse/ApplyForm.tsx index 78314e0..16dcd40 100644 --- a/src/app/equipo/unirse/ApplyForm.tsx +++ b/src/app/equipo/unirse/ApplyForm.tsx @@ -272,7 +272,9 @@ const ApplyForm: FC = () => { Requisitos
      • - + + + {' '} Imparcialidad
        @@ -282,7 +284,9 @@ const ApplyForm: FC = () => { Beneficios
        • - + + + {' '} Experiencia
          @@ -306,7 +310,9 @@ const ApplyForm: FC = () => { Requisitos
          • - + + + {' '} Profesionalismo
            @@ -316,7 +322,9 @@ const ApplyForm: FC = () => { Beneficios
            • - + + + {' '} Apoyo
              @@ -340,21 +348,27 @@ const ApplyForm: FC = () => { Requisitos
              • - + + + {' '} Profesionalismo
                La comunidad siempre intenta conseguir el mayor nivel de calidad en todos sus proyectos, por lo que buscamos gente dispuesta a otorgar este nivel de profesionalismo para el disfrute de la comunidad.
              • - + + + {' '} Constancia
                La comunidad busca gente que en sus posibilidades sea activa, que pueda estar al tanto de lo que pasa en ella.
              • - + + + {' '} Proactividad
                @@ -364,14 +378,18 @@ const ApplyForm: FC = () => { Beneficios
                • - + + + {' '} Experiencia
                  Uno de los objetivos de la comunidad es brindar experiencia en gestión y desarrollo de proyectos equiparable a un entorno laboral, que sea comprobable y útil.
                • - + + + {' '} Capacitación
                  diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index 66f2bb8..4a49ea0 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -4,7 +4,7 @@ import { Container } from '@/styled-system/jsx' import { faChevronRight, faHeart } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import NextLink from 'next/link' -import { type FC } from 'react' +import type { FC } from 'react' const Footer: FC = () => { return ( @@ -25,11 +25,15 @@ const Footer: FC = () => { Acerca de
                  • - + + + EntGamers
                  • - + + + Clanes
                  diff --git a/src/components/layout/Header/SessionButtons.tsx b/src/components/layout/Header/SessionButtons.tsx index 3e9a840..4cec83b 100644 --- a/src/components/layout/Header/SessionButtons.tsx +++ b/src/components/layout/Header/SessionButtons.tsx @@ -11,7 +11,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { ADMIN_CLAN_ID, MODERATOR_CLAN_ID } from 'entgamers-database/frontend/clanes/administrative' import { logout } from 'entgamers-database/frontend/session' import NextLink from 'next/link' -import { type FC } from 'react' +import type { FC } from 'react' const SessionButtons: FC = () => { const { session, status, clanes } = useAppSelector((state) => state.session) @@ -22,21 +22,19 @@ const SessionButtons: FC = () => { if (status === 'idle' && session === undefined) { return ( - <> - + - - - - - + + + ) } @@ -53,10 +51,10 @@ const SessionButtons: FC = () => { iconButton() } > - + - {clanes !== undefined && clanes?.teams.some((team) => team.$id === ADMIN_CLAN_ID || team.$id === MODERATOR_CLAN_ID) && ( + {clanes?.teams.some((team) => team.$id === ADMIN_CLAN_ID || team.$id === MODERATOR_CLAN_ID) && ( { iconButton() } > - + )} @@ -91,7 +89,7 @@ const SessionButtons: FC = () => { }) }} > - + diff --git a/src/components/layout/Menu.tsx b/src/components/layout/Menu.tsx index dbc8056..965a7b0 100644 --- a/src/components/layout/Menu.tsx +++ b/src/components/layout/Menu.tsx @@ -109,7 +109,7 @@ const Menu: FC = () => { data-active={pathName === menuLink.href} onClick={() => { setIsMenuOpen(false) }} > - +   {menuLink.label} diff --git a/src/components/ui/Alert.tsx b/src/components/ui/Alert.tsx index 0ffc2e0..ef00956 100644 --- a/src/components/ui/Alert.tsx +++ b/src/components/ui/Alert.tsx @@ -1,9 +1,9 @@ import { cx } from '@/styled-system/css' import { alert, type AlertVariantProps } from '@/styled-system/recipes/alert' -import { type MergeOmitting } from '@/types/utilities' +import type { MergeOmitting } from '@/types/utilities' import { faTimes } from '@fortawesome/free-solid-svg-icons/faTimes' import { FontAwesomeIcon, type FontAwesomeIconProps } from '@fortawesome/react-fontawesome' -import { type DetailedHTMLProps, type FC, type HTMLAttributes, type ReactNode } from 'react' +import type { DetailedHTMLProps, FC, HTMLAttributes, ReactNode } from 'react' import IconButton, { type IconButtonProps } from './IconButton' type ComposedAlertProps = MergeOmitting, HTMLDivElement>, AlertVariantProps> @@ -32,7 +32,7 @@ export const AlertCloseButton: FC = ({ children, {...allOtherAlertProps} > {children === undefined - ? + ? : children} ) diff --git a/src/components/ui/form/PasswordInput.tsx b/src/components/ui/form/PasswordInput.tsx index bb76569..08a6f6f 100644 --- a/src/components/ui/form/PasswordInput.tsx +++ b/src/components/ui/form/PasswordInput.tsx @@ -2,7 +2,7 @@ import IconButton from '@/components/ui/IconButton' import Tooltip from '@/components/ui/Tooltip' import { css, cx } from '@/styled-system/css' import { input, type InputVariantProps } from '@/styled-system/recipes/input' -import { type MergeOmitting } from '@/types/utilities' +import type { MergeOmitting } from '@/types/utilities' import { faEye, faEyeSlash } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { useState, type FC, type InputHTMLAttributes } from 'react' @@ -47,7 +47,7 @@ const PasswordInput: FC = ({ className, ...props }) => { size="small" onClick={() => { setShowPassword(!showPassword) }} > - +