Skip to content

Commit

Permalink
Transfered one of the styles to a constant in notfound + tweaked perfil
Browse files Browse the repository at this point in the history
Testing styling by constants inside notFound. Somehow, it works fine.
  • Loading branch information
RA-Salles committed Aug 8, 2024
1 parent 6a07015 commit c77f450
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 185 deletions.
2 changes: 1 addition & 1 deletion src/components/pages/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const HomeLogo = () => {
)
}

class LoginAlts extends react.Component {
class LoginAlts extends React.Component {
constructor(props) {
super(props)
}
Expand Down
34 changes: 21 additions & 13 deletions src/components/pages/notFound.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
import React from "react";
import './styles/notFound.css'
import './styles/notFound.css';

function notFound() {
return(
<div>
<>
<meta charSet="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Error</title>
<div className="erro">
<h1 className=""> 404 Error </h1>
class notFound extends React.Component {
render() {
const errostyle = {
fontSize: "90px",
textAlign: "center",
backgroundColor: "#FFC98A",
height: "100vh"
}
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>
</>
</div>
</>
</div>
)
)
}
} export default notFound
Loading

0 comments on commit c77f450

Please sign in to comment.