Skip to content

Commit

Permalink
ajuste de readme e reabilitação do page header que havia sido removido
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrinabm94 committed Apr 23, 2024
1 parent c9eb0cc commit 75f5e11
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 42 deletions.
20 changes: 17 additions & 3 deletions website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,27 +83,41 @@ Para controle de autenticação, banco de dados, storage e hospedagem.
[Link](https://console.firebase.google.com/u/0/project/website-sabrinabm94/hosting/sites)

#### Authentication
npm install firebase
npm install -g firebase

npm install -g firebase-tools

firebase logout

firebase init
firebase login

firebase projects:list

### Outros comandos
firebase login:ci

firebase login --reauth

firebase serve

#### Deploy

yarn build
npm run build

firebase deploy -m ""

### Access

[Firebase app](https://website-sabrinabm94.firebaseapp.com)

[Web app](https://website-sabrinabm94.web.app)

#### Test

[Firebase app admin](https://website-sabrinabm94.firebaseapp.com/login)

<test@test.com>

Test@2022

# Contact
Expand Down
76 changes: 41 additions & 35 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "website",
"version": "0.1.0",
"version": "1.0",
"private": true,
"dependencies": {
"@testing-library/dom": "^8.20.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^0.27.2",
"axios": "^1.6.8",
"babel-jest": "^29.5.0",
"dotenv-expand": "^8.0.3",
"firebase": "^9.23.0",
Expand Down
6 changes: 5 additions & 1 deletion website/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ h4 {
color: #fff;
}

.page-header {
margin: 0;
}

.carousel-indicators li.active,
.panel-footer .btn,
.navbar,
Expand Down Expand Up @@ -278,6 +282,7 @@ label:first-letter {

.navbar-brand .logo {
width: 50px;
height: 50px;
}

.navbar-brand .logo,
Expand Down Expand Up @@ -377,7 +382,6 @@ label:first-letter {
display: block;
}

.navbar-brand .logo,
.header {
height: 50px;
}
Expand Down
4 changes: 4 additions & 0 deletions website/src/views/pages/Pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import RegisterUser from "./auth/RegisterUser";
import LoginUser from "./auth/LoginUser";
import NotFound from "./NotFound";

import PageHeader from "../templates/PageHeader";


const Pages = ({ onAuthChange }) => {
const [isAuthenticated, setIsAuthenticated] = useState(false);

Expand Down Expand Up @@ -57,6 +60,7 @@ const Pages = ({ onAuthChange }) => {

return (
<div className="pages">
<PageHeader />
<Routes>
<Route path="/" element={<About />} />
<Route
Expand Down
2 changes: 1 addition & 1 deletion website/src/views/templates/PageHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { React, Component } from "react";

//components
import GetData from "../../services/GetData/GetData";
import Text from "../../components/Text/Text";
import Text from "../components/Text/Text";

class PageHeader extends Component {
constructor(props) {
Expand Down

0 comments on commit 75f5e11

Please sign in to comment.