From b2fd09f87ba934e51961ff96869145de17aaf438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lobo?= <30907944+joaodiaslobo@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:38:22 +0000 Subject: [PATCH] chore: rename app for clarity (#732) --- README.md | 7 ++----- components/Layout/Layout.tsx | 2 +- components/Social/index.jsx | 2 +- layout/ForgotPassword/ForgotPassword.tsx | 2 +- .../ForgotPassword/components/ForgotPasswordForm/index.tsx | 2 +- layout/Login/Login.tsx | 6 +++--- layout/Login/components/LoginForm/index.tsx | 2 +- layout/ResetPassword/ResetPassword.tsx | 2 +- layout/SignUp/SignUp.tsx | 4 ++-- layout/Sponsor/Dashboard/Dashboard.tsx | 6 +++--- layout/{moonstone => lazuli}/authentication/Text/index.jsx | 0 .../{moonstone => lazuli}/authentication/Title/index.jsx | 0 .../sponsor/dashboard/ParticipantSelector/index.jsx | 0 .../sponsor/dashboard/SponsorBadgeButton/index.jsx | 0 .../sponsor/dashboard/SponsorPrizeButton/index.jsx | 0 .../sponsor/spotlight/SpotlightButton/index.jsx | 0 package-lock.json | 4 ++-- package.json | 2 +- pages/register/[uuid].js | 4 ++-- public/humans.txt | 2 +- 20 files changed, 22 insertions(+), 25 deletions(-) rename layout/{moonstone => lazuli}/authentication/Text/index.jsx (100%) rename layout/{moonstone => lazuli}/authentication/Title/index.jsx (100%) rename layout/{moonstone => lazuli}/sponsor/dashboard/ParticipantSelector/index.jsx (100%) rename layout/{moonstone => lazuli}/sponsor/dashboard/SponsorBadgeButton/index.jsx (100%) rename layout/{moonstone => lazuli}/sponsor/dashboard/SponsorPrizeButton/index.jsx (100%) rename layout/{moonstone => lazuli}/sponsor/spotlight/SpotlightButton/index.jsx (100%) diff --git a/README.md b/README.md index dcddd8d8..d6953da7 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ [contributing]: CONTRIBUTING.md [code_of_conduct]: CODE_OF_CONDUCT.md [license]: LICENSE.txt -[ci-style-status]: https://github.com/cesium/seium.org/actions/workflows/style.yml/badge.svg -[ci-style-workflow]: https://github.com/cesium/seium.org/actions/workflows/style.yml -[netlify-deploys]: https://app.netlify.com/sites/seium/deploys -[netlify-status]: https://api.netlify.com/api/v1/badges/ed584f7f-e3cd-47a3-b00e-c07faa722ce1/deploy-status +[ci-style-status]: https://github.com/cesium/lazuli/actions/workflows/style.yml/badge.svg +[ci-style-workflow]: https://github.com/cesium/lazuli/actions/workflows/style.yml [figma-design-2022]: https://www.figma.com/file/sPqEvYKlOqL8L7CC2AzxkN/SEI [figma-badge-2022]: https://img.shields.io/badge/-figma22-s?style=flat&logo=figma&color=black [figma-design-2021]: https://www.figma.com/file/1phER5eukGFC5p9tFGnfk7/SEI @@ -12,7 +10,6 @@ # ![SEI Banner](.github/brand/sei-banner24.png) -[![Netlify Status][netlify-status]][netlify-deploys] [![CI Style][ci-style-status]][ci-style-workflow] [![Design 2022][figma-badge-2022]][figma-design-2022] [![Design 2021][figma-badge-2021]][figma-design-2021] diff --git a/components/Layout/Layout.tsx b/components/Layout/Layout.tsx index 2003b3c9..95c8b9af 100644 --- a/components/Layout/Layout.tsx +++ b/components/Layout/Layout.tsx @@ -14,7 +14,7 @@ import ActiveLink from "./components/ActiveLink"; import Banner from "./components/Banner"; import spotlights from "pages/staff/spotlights"; -// FIXME: Normalize user type between moonstone and safira +// FIXME: Normalize user type between lazuli and safira const basePahts = { [ROLES.ATTENDEE]: "attendee", [ROLES.SPONSOR]: "sponsor", diff --git a/components/Social/index.jsx b/components/Social/index.jsx index 7fcfb8db..46435482 100644 --- a/components/Social/index.jsx +++ b/components/Social/index.jsx @@ -30,7 +30,7 @@ export default function Social() { diff --git a/layout/ForgotPassword/ForgotPassword.tsx b/layout/ForgotPassword/ForgotPassword.tsx index a7d235dd..5f3fdc7e 100644 --- a/layout/ForgotPassword/ForgotPassword.tsx +++ b/layout/ForgotPassword/ForgotPassword.tsx @@ -3,7 +3,7 @@ import { motion as Motion } from "framer-motion"; import Card from "@components/Card"; import Return from "@components/Return"; -import Title from "@layout/moonstone/authentication/Title"; +import Title from "@layout/lazuli/authentication/Title"; import { ForgotPasswordForm } from "./components"; diff --git a/layout/ForgotPassword/components/ForgotPasswordForm/index.tsx b/layout/ForgotPassword/components/ForgotPasswordForm/index.tsx index 1a8dbce6..a8d52cce 100644 --- a/layout/ForgotPassword/components/ForgotPasswordForm/index.tsx +++ b/layout/ForgotPassword/components/ForgotPasswordForm/index.tsx @@ -5,7 +5,7 @@ import ImageButton from "@components/ImageButton"; import Form from "@components/Form"; import Input from "@components/Input"; -import Text from "@layout/moonstone/authentication/Text"; +import Text from "@layout/lazuli/authentication/Text"; export default function ForgotPasswordForm() { const [success, updateSuccess] = useState(null); diff --git a/layout/Login/Login.tsx b/layout/Login/Login.tsx index eb40430b..2340636f 100644 --- a/layout/Login/Login.tsx +++ b/layout/Login/Login.tsx @@ -10,8 +10,8 @@ import { Router, useRouter } from "next/router"; import Return from "@components/Return"; -import Title from "@layout/moonstone/authentication/Title"; -import Text from "@layout/moonstone/authentication/Text"; +import Title from "@layout/lazuli/authentication/Title"; +import Text from "@layout/lazuli/authentication/Text"; import { LoginForm } from "./components"; function Login() { @@ -33,7 +33,7 @@ function Login() { className="absolute -left-[380px] bottom-0 hidden w-[750px] xl:block" src="/images/void.svg" /> -
+
<LoginForm /> <Text diff --git a/layout/Login/components/LoginForm/index.tsx b/layout/Login/components/LoginForm/index.tsx index 44b65d88..43b02748 100644 --- a/layout/Login/components/LoginForm/index.tsx +++ b/layout/Login/components/LoginForm/index.tsx @@ -3,7 +3,7 @@ import { useRef } from "react"; import { useAuth } from "@context/Auth"; import Button from "@components/Button"; -import Text from "@layout/moonstone/authentication/Text"; +import Text from "@layout/lazuli/authentication/Text"; import Form from "@components/Form"; import Input from "@components/Input"; diff --git a/layout/ResetPassword/ResetPassword.tsx b/layout/ResetPassword/ResetPassword.tsx index 856c89ae..46778de6 100644 --- a/layout/ResetPassword/ResetPassword.tsx +++ b/layout/ResetPassword/ResetPassword.tsx @@ -3,7 +3,7 @@ import { motion as Motion } from "framer-motion"; import Card from "@components/Card"; import Return from "@components/Return"; -import Title from "@layout/moonstone/authentication/Title"; +import Title from "@layout/lazuli/authentication/Title"; import { ResetPasswordForm } from "./components"; export async function getServerSideProps({ query }) { diff --git a/layout/SignUp/SignUp.tsx b/layout/SignUp/SignUp.tsx index 07a25f49..ff8b138c 100644 --- a/layout/SignUp/SignUp.tsx +++ b/layout/SignUp/SignUp.tsx @@ -5,8 +5,8 @@ import { motion as Motion } from "framer-motion"; import Card from "@components/Card"; import Return from "@components/Return"; import { SignUpForm } from "./components"; -import Title from "@layout/moonstone/authentication/Title"; -import Text from "@layout/moonstone/authentication/Text"; +import Title from "@layout/lazuli/authentication/Title"; +import Text from "@layout/lazuli/authentication/Text"; import { getCourses } from "@lib/api"; diff --git a/layout/Sponsor/Dashboard/Dashboard.tsx b/layout/Sponsor/Dashboard/Dashboard.tsx index 915130d7..6da38915 100644 --- a/layout/Sponsor/Dashboard/Dashboard.tsx +++ b/layout/Sponsor/Dashboard/Dashboard.tsx @@ -4,9 +4,9 @@ import { withAuth } from "@context/Auth"; import Heading from "@components/Heading"; import Layout from "@components/Layout"; -import SponsorPrizeButton from "@layout/moonstone/sponsor/dashboard/SponsorPrizeButton"; -import SponsorBadgeButton from "@layout/moonstone/sponsor/dashboard/SponsorBadgeButton"; -import ParticipantSelector from "@layout/moonstone/sponsor/dashboard/ParticipantSelector"; +import SponsorPrizeButton from "@layout/lazuli/sponsor/dashboard/SponsorPrizeButton"; +import SponsorBadgeButton from "@layout/lazuli/sponsor/dashboard/SponsorBadgeButton"; +import ParticipantSelector from "@layout/lazuli/sponsor/dashboard/ParticipantSelector"; const SponsorDashboard: React.FC = () => { const participants: string[] = ["Nome 1", "Nome 2", "Nome 3", "Nome 4"]; diff --git a/layout/moonstone/authentication/Text/index.jsx b/layout/lazuli/authentication/Text/index.jsx similarity index 100% rename from layout/moonstone/authentication/Text/index.jsx rename to layout/lazuli/authentication/Text/index.jsx diff --git a/layout/moonstone/authentication/Title/index.jsx b/layout/lazuli/authentication/Title/index.jsx similarity index 100% rename from layout/moonstone/authentication/Title/index.jsx rename to layout/lazuli/authentication/Title/index.jsx diff --git a/layout/moonstone/sponsor/dashboard/ParticipantSelector/index.jsx b/layout/lazuli/sponsor/dashboard/ParticipantSelector/index.jsx similarity index 100% rename from layout/moonstone/sponsor/dashboard/ParticipantSelector/index.jsx rename to layout/lazuli/sponsor/dashboard/ParticipantSelector/index.jsx diff --git a/layout/moonstone/sponsor/dashboard/SponsorBadgeButton/index.jsx b/layout/lazuli/sponsor/dashboard/SponsorBadgeButton/index.jsx similarity index 100% rename from layout/moonstone/sponsor/dashboard/SponsorBadgeButton/index.jsx rename to layout/lazuli/sponsor/dashboard/SponsorBadgeButton/index.jsx diff --git a/layout/moonstone/sponsor/dashboard/SponsorPrizeButton/index.jsx b/layout/lazuli/sponsor/dashboard/SponsorPrizeButton/index.jsx similarity index 100% rename from layout/moonstone/sponsor/dashboard/SponsorPrizeButton/index.jsx rename to layout/lazuli/sponsor/dashboard/SponsorPrizeButton/index.jsx diff --git a/layout/moonstone/sponsor/spotlight/SpotlightButton/index.jsx b/layout/lazuli/sponsor/spotlight/SpotlightButton/index.jsx similarity index 100% rename from layout/moonstone/sponsor/spotlight/SpotlightButton/index.jsx rename to layout/lazuli/sponsor/spotlight/SpotlightButton/index.jsx diff --git a/package-lock.json b/package-lock.json index 8a1b4465..f80b8bb3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "moonstone", + "name": "lazuli", "version": "2.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "moonstone", + "name": "lazuli", "version": "2.1.0", "dependencies": { "@fortawesome/fontawesome-svg-core": "6.4.2", diff --git a/package.json b/package.json index 4f7655c0..6eb6e0c7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "moonstone", + "name": "lazuli", "version": "2.1.0", "private": true, "scripts": { diff --git a/pages/register/[uuid].js b/pages/register/[uuid].js index 1b5e5fc8..88b91206 100644 --- a/pages/register/[uuid].js +++ b/pages/register/[uuid].js @@ -14,8 +14,8 @@ import Input from "@components/Input"; import Select from "@components/Select"; import PasswordInput from "@components/PasswordInput"; -import Title from "@layout/moonstone/authentication/Title"; -import Text from "@layout/moonstone/authentication/Text"; +import Title from "@layout/lazuli/authentication/Title"; +import Text from "@layout/lazuli/authentication/Text"; function Register() { const { sign_up, errors, isLoading } = useAuth(); diff --git a/public/humans.txt b/public/humans.txt index 2fedc83d..2ed712f4 100644 --- a/public/humans.txt +++ b/public/humans.txt @@ -39,5 +39,5 @@ d.````` +ys````.h-` -h: .h-```````..:y` /h. `:y..../yy-........`.h This website was made with <3 by CeSIUM. You can find the source code at - https://github.com/cesium/seium.org + https://github.com/cesium/lazuli