Mais alterações de merge e padronização
This commit is contained in:
@@ -1,24 +1,12 @@
|
|||||||
<<<<<<< HEAD
|
import environment from "../environments/environment";
|
||||||
import environment from "../constants/environment";
|
|
||||||
|
|
||||||
const getBaseUrl = (): string => {
|
const getBaseUrl = (): string => {
|
||||||
// const { hostname } = window.location;
|
// const { hostname } = window.location;
|
||||||
|
|
||||||
=======
|
|
||||||
import environment from "../environments/environment";
|
|
||||||
|
|
||||||
function getBaseUrl() {
|
|
||||||
const { hostname } = window.location;
|
|
||||||
>>>>>>> 561e8597e0534b18b8dfbf5b454030b6d9a0cdbc
|
|
||||||
const { url } = environment;
|
const { url } = environment;
|
||||||
|
|
||||||
let apiUrl = null;
|
let apiUrl = null;
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
// if (hostname === 'projeto-integrado-f-web.herokuapp.com') {
|
|
||||||
=======
|
|
||||||
// if (hostname === '') {
|
// if (hostname === '') {
|
||||||
>>>>>>> 561e8597e0534b18b8dfbf5b454030b6d9a0cdbc
|
|
||||||
// apiUrl = url.prod;
|
// apiUrl = url.prod;
|
||||||
// } else {
|
// } else {
|
||||||
apiUrl = url.local;
|
apiUrl = url.local;
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import {
|
|||||||
|
|
||||||
import * as sessionRoutes from '../services/session';
|
import * as sessionRoutes from '../services/session';
|
||||||
import LocalStorage from '../LocalStorage';
|
import LocalStorage from '../LocalStorage';
|
||||||
|
import { Action } from "../components/Action";
|
||||||
|
|
||||||
const Page: React.FC = () => {
|
const Page: React.FC = () => {
|
||||||
const [showToast, setShowToast] = useState(false);
|
const [showToast, setShowToast] = useState(false);
|
||||||
@@ -165,14 +166,14 @@ const Page: React.FC = () => {
|
|||||||
<IonRow>
|
<IonRow>
|
||||||
<IonCol>
|
<IonCol>
|
||||||
<p style={{ fontSize: "small" }}>
|
<p style={{ fontSize: "small" }}>
|
||||||
Clicando no botão de "LOGIN", você concorda com a nossa{" "}
|
Clicando no botão de "Login", você concorda com a nossa{" "}
|
||||||
<a href="#">política de termos e serviços</a>
|
<a href="#">política de termos e serviços</a>
|
||||||
</p>
|
</p>
|
||||||
<IonButton expand="block" onClick={handleLogin}>
|
<IonButton expand="block" onClick={handleLogin}>
|
||||||
Login
|
Login
|
||||||
</IonButton>
|
</IonButton>
|
||||||
<p style={{ fontSize: "medium" }}>
|
<p style={{ fontSize: "medium" }}>
|
||||||
Ainda não possui uma conta? <a href="#">Cadastre-se aqui!</a>
|
<Action message="Ainda não possui uma conta?" text="Cadastre-se aqui!" link="/cadastro" />
|
||||||
</p>
|
</p>
|
||||||
</IonCol>
|
</IonCol>
|
||||||
</IonRow>
|
</IonRow>
|
||||||
|
|||||||
Reference in New Issue
Block a user