Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add message #324

Merged
merged 3 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.15.1
v20.16.0
8 changes: 7 additions & 1 deletion app/routes/courses_.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {type LoaderFunctionArgs, unstable_defineLoader as defineLoader} from '@remix-run/node';
import {type MetaArgs_SingleFetch, useLoaderData} from '@remix-run/react';
import {Link, type MetaArgs_SingleFetch, useLoaderData} from '@remix-run/react';
import {GenericEntityCard} from '~/components/entities-cards.js';
import {NavigateBar} from '~/components/navigation-bar.js';
import {CourseService} from '~/services/course.service.server';
Expand Down Expand Up @@ -56,6 +56,12 @@ export default function Courses() {
<NavigateBar userData={userData}/>

<main>
{userData.id && (
<div className='max-w-screen-lg w-[95%] sm:w-[90%] mx-auto bg-purplea-4 p-5 rounded-2xl my-10'>
<p className='mb-4'>Querido(a) aluno(a), recentemente iniciamos a transição para a nova versão da plataforma da Yoga em Movimento, que você está acessando neste momento. Nem todas aulas e cursos estão publicadas na plataforma nova ainda, mas você pode encontrá-las na plataforma antiga, acessando através do link abaixo</p>
<p className='text-center'><Link to='https://escola.yogaemmovimento.com' target='_blank'>https://escola.yogaemmovimento.com</Link></p>
</div>
)}
<h1 className='text-center my-16 max-w-[95%] sm:max-w-[90%] mx-auto'>
Acesse aqui os cursos oferecidos pela Yoga em Movimento
</h1>
Expand Down
Loading