Skip to content

Commit

Permalink
login, create school, request get
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnypaulino committed Jul 15, 2024
1 parent dc6aa9e commit 39e3748
Show file tree
Hide file tree
Showing 132 changed files with 561 additions and 5,627 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ on:
branches:
- main


env:
REACT_APP_API_PATH: https://synapsepro.azurewebsites.net/
REACT_APP_API_PATH_USERNAME: editor
REACT_APP_API_PATH_PASSWORD: iptisynpaseeditor2022

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:
- main

env:
REACT_APP_API_PATH: https://br-ipti-beneficiarios.azurewebsites.net
REACT_APP_API_PATH: https://synapsepro.azurewebsites.net/
REACT_APP_API_PATH_USERNAME: editor
REACT_APP_API_PATH_PASSWORD: iptisynpaseeditor2022

jobs:
build_and_deploy_job:
Expand Down
Binary file modified public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<link rel="stylesheet" href="https://unpkg.com/primeflex@latest/primeflex.css">
<title>MeuBen</title>
<title>Synasep</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
Binary file removed src/Assets/images/background-signup.png
Binary file not shown.
Binary file removed src/Assets/images/calendar.png
Binary file not shown.
Binary file removed src/Assets/images/faded-logo.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/Assets/images/tagná-img.png
Binary file not shown.
26 changes: 3 additions & 23 deletions src/Components/Card/CardClassroom/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,25 @@ import { useNavigate } from "react-router-dom";
import { ClassroomContext } from "../../../Context/Classroom/context";
import { ClassroomTypes } from "../../../Context/Classroom/type";
import { Column, Padding, Row } from "../../../Styles/styles";
import Icon from "../../Icon";
import IconClassroom from "./../../../Assets/images/cardturmas.svg";
import { Container } from "./style";
import Icon from "../../Icon";

import pessoas from "../../../Assets/images/pessoasgray.svg";
import meeting from "../../../Assets/images/school_teacher.svg";
import styles from "../../../Styles";
import { AplicationContext } from "../../../Context/Aplication/context";
import { PropsAplicationContext } from "../../../Types/types";
import { ROLE } from "../../../Controller/controllerGlobal";
import { menuItem } from "../../../Services/localstorage";
import styles from "../../../Styles";

const CardClassroom = ({
title,
meetingCount,
registrationCount,
id,
}: {
title: string;
meetingCount?: number;
registrationCount?: number;
id: number;
}) => {
const history = useNavigate();
const [visible, setVisible] = useState(false);

const propsAplication = useContext(
AplicationContext
) as PropsAplicationContext;


const props = useContext(ClassroomContext) as ClassroomTypes;

Expand Down Expand Up @@ -74,16 +64,6 @@ const CardClassroom = ({
)}
</Row>
<Padding padding="8px" />
<Row style={{ gap: 16 }}>
<Row style={{ gap: 8, alignItems: "center" }}>
<img src={pessoas} alt="" style={{ width: 24 }} />
<p>Alunos: {registrationCount}</p>
</Row>
<Row style={{ gap: 8, alignItems: "center" }}>
<img src={meeting} alt="" style={{ width: 19 }} />
<p>Encontros: {meetingCount}</p>
</Row>
</Row>
</Container>
<ConfirmDialog
visible={visible}
Expand Down
119 changes: 0 additions & 119 deletions src/Components/Card/CardMeeting/index.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions src/Components/Card/CardMeeting/style.tsx

This file was deleted.

71 changes: 0 additions & 71 deletions src/Components/Card/CardSchedule/index.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions src/Components/Card/CardSchedule/style.tsx

This file was deleted.

Loading

0 comments on commit 39e3748

Please sign in to comment.