Skip to content

Commit

Permalink
small time fixes
Browse files Browse the repository at this point in the history
That's that.
  • Loading branch information
RA-Salles committed Aug 9, 2024
1 parent c77f450 commit 7039aa0
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 36 deletions.
1 change: 0 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ function App() {
<Route path='/republica' element={<Republica />} />
</Routes>
</Router>

</div>
);
}
Expand Down
64 changes: 40 additions & 24 deletions src/components/pages/cadastro.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
import React from 'react';
import './styles/cadastro.css'
//import './styles/cadastro.css'

class PlaceholderLogo extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<div className="ladoEsquerdo">
<div className="box">
<a href="login">
<svg
fill="#000000"
version="1.1"
id="Capa_1"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
width="30px"
height="30px"
viewBox="0 0 299.021 299.021"
xmlSpace="preserve"
>
<g>
<g>
<path
d="M292.866,254.432c-2.288,0-4.443-1.285-5.5-3.399c-0.354-0.684-28.541-52.949-146.169-54.727v51.977
c0,2.342-1.333,4.48-3.432,5.513c-2.096,1.033-4.594,0.793-6.461-0.63L2.417,154.392C0.898,153.227,0,151.425,0,149.516
c0-1.919,0.898-3.72,2.417-4.888l128.893-98.77c1.87-1.426,4.365-1.667,6.461-0.639c2.099,1.026,3.432,3.173,3.432,5.509v54.776
c3.111-0.198,7.164-0.37,11.947-0.37c43.861,0,145.871,13.952,145.871,143.136c0,2.858-1.964,5.344-4.75,5.993 C293.802,254.384,293.34,254.432,292.866,254.432z"
/>
</g>
</g>
</svg>
</a>
</div>
</div>
)
}
}

class cadastro extends React.Component{
constructor(props) {
Expand All @@ -19,29 +57,7 @@ class cadastro extends React.Component{
href="https://fonts.googleapis.com/css2?family=Dancing+Script:[email protected]&display=swap"
rel="stylesheet"
/>
<div className="ladoEsquerdo">
<div className="box">
<a href="login.html">
<svg
fill="#000000"
version="1.1"
id="Capa_1"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
width="30px"
height="30px"
viewBox="0 0 299.021 299.021"
xmlSpace="preserve"
>
<g>
<g>
<path d="M292.866,254.432c-2.288,0-4.443-1.285-5.5-3.399c-0.354-0.684-28.541-52.949-146.169-54.727v51.977 c0,2.342-1.333,4.48-3.432,5.513c-2.096,1.033-4.594,0.793-6.461-0.63L2.417,154.392C0.898,153.227,0,151.425,0,149.516 c0-1.919,0.898-3.72,2.417-4.888l128.893-98.77c1.87-1.426,4.365-1.667,6.461-0.639c2.099,1.026,3.432,3.173,3.432,5.509v54.776 c3.111-0.198,7.164-0.37,11.947-0.37c43.861,0,145.871,13.952,145.871,143.136c0,2.858-1.964,5.344-4.75,5.993 C293.802,254.384,293.34,254.432,292.866,254.432z" />
</g>
</g>
</svg>
</a>
</div>
</div>
<PlaceholderLogo/>
<div className="ladoDireito">
<div className="content">
<div className="textos">
Expand Down
4 changes: 2 additions & 2 deletions src/components/pages/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import './styles/login.css'

const HomeLogo = () => {
return (
<a href="home" className="back">
<a href="/" className="back">
<svg
fill="#000000"
version="1.1"
Expand Down Expand Up @@ -200,7 +200,7 @@ class login extends React.Component {
>
Primeira vez acessando?
</label>
<a href="/newuser" style={{ marginRight: 10 }}>
<a href="/cadastro" style={{ marginRight: 10 }}>
<button className="cadastre">
Cadastrar
<div className="arrow-wrapper">
Expand Down
14 changes: 6 additions & 8 deletions src/components/pages/notFound.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ class notFound extends React.Component {
}
return (
<div>
<>
<meta charSet="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Error</title>
<div className="erro" style={errostyle}>
<h1 className=""> 404 Error </h1>
</div>
</>
<meta charSet="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Error</title>
<div className="erro" style={errostyle}>
<h1 className=""> 404 Error </h1>
</div>
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/perfil.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class PlaceholderLogo extends React.Component {
render() {
return (
<div>
<a href="home.html" className="logo">
<a href="/" className="logo">
<svg
xmlns="http://www.w3.org/2000/svg"
x="0px"
Expand Down

0 comments on commit 7039aa0

Please sign in to comment.