This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AuthContextProvider } from "./contexts/AuthContext"; | |
import { BrowserRouter, Route, Switch } from "react-router-dom"; | |
import Home from "./pages/Home"; | |
import NewRoom from "./pages/NewRoom"; | |
import Room from "./pages/Room" | |
function App() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#page-room{ | |
header{ | |
padding: 24px; | |
border-bottom: 1px solid #e2e2e2; | |
} | |
.content{ | |
max-width: 1120px; | |
margin: 0 auto; | |
display: flex; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { FormEvent, useState } from 'react' | |
import { Link } from 'react-router-dom' | |
import illustrationImg from '../assets/images/illustration.svg' | |
import logoImg from '../assets/images/logo.svg' | |
import { Button } from '../components/Button' | |
import { database } from '../services/firebase' | |
import { useAuth } from '../hooks/useAuth'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createContext, ReactNode, useEffect, useState } from "react" | |
import { auth, firebase } from "../services/firebase" | |
type User = { | |
id: string | |
name: string | |
avatar: string | |
} | |
type AuthContextType = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="page-room"> | |
<header> | |
<div className="content"> | |
<img src={logoImg} alt="Letmeask" /> | |
<RoomCode code={roomId} /> | |
</div> | |
</header> | |
<main> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { FormEvent, useState, useEffect } from "react"; | |
import { useParams } from "react-router-dom"; | |
import { Question } from '../components/Question' | |
import {database} from "../services/firebase" | |
import {useAuth} from '../Hooks/useAuths' | |
import {Button} from "../components/Button"; | |
import {RoomCode} from '../components/RoomCode' | |
import logoImg from "../assets/images/logo.svg"; | |
import '../styles/room.scss' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {useState} from 'react' | |
export default function Home() { | |
const [stats, setStats] = useState({ | |
nome: '', | |
cargo: '', | |
birth: '', | |
address: '', | |
bairro: '', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def aluno_nome(): | |
return input('Digite seu nome: ') | |
def aluno_nota(): | |
return input('Digite sua nota: ') | |
def mensagem(nome, nota, conceito): | |
return print('O aluno(a) {} obteve a nota final de {} e se encaixa no conceito {}'.format(nome, nota, conceito)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Session data: From 2021-11-14, 12:23:07 to 2021-11-14, 13:26:52 | |
Session: 01:03h | |
Loot Type: Market | |
Loot: 118,282 | |
Supplies: 168,337 | |
Balance: -50,055 | |
Ekos Ihnnuryurr | |
Loot: 852 | |
Supplies: 55,198 | |
Balance: -54,346 |