Skip to content

Commit

Permalink
Fixing bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
roninchris committed Jun 6, 2023
1 parent 0b45866 commit f5c97f6
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions client/src/components/leftBar/LeftBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ const LeftBar = () => {
<img src={Courses} alt="" />
<span>Cursos</span>
</div>
<div>
<h2>REGRAS DA COMUNIDADE</h2>
<br></br>
<li>Coloque sempre a tag [Vaga/Projeto] e seu Valor (caso seja remunerado)</li>
<br></br>
<li>Para posts OffTopic não é necessário tageamento</li>
<br></br>
<h4>Caso ocorram descumprimento das regras</h4>
<h4>o post será removido.</h4>
</div>
</div>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion client/src/components/navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ const Navbar = () => {
const { toggle, darkMode } = useContext(DarkModeContext);
const { currentUser, logout } = useContext(AuthContext);

const currentUserId = currentUser.id;
const profileUrl = "/profile/" + currentUserId;
console.log(currentUserId);
const handleLogout = () => {
logout();
};
Expand All @@ -40,7 +43,8 @@ const Navbar = () => {
</div>
</div>
<div className="right">
<PersonOutlinedIcon />

<Link to={profileUrl} ><PersonOutlinedIcon /> </Link>
<EmailOutlinedIcon />
<NotificationsOutlinedIcon />
<div className="user">
Expand Down
6 changes: 3 additions & 3 deletions client/src/components/update/Update.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ const Update = ({ setOpenUpdate, user }) => {
value={texts.city}
onChange={handleChange}
/>
<label>Experiências</label>
<label>Website</label>
<input
type="text"
name="experience"
value={texts.experience}
name="website"
value={texts.website}
onChange={handleChange}
/>
<label>Trabalho Atual</label>
Expand Down
1 change: 1 addition & 0 deletions client/src/pages/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Posts from "../../components/posts/Posts"
import Share from "../../components/share/Share"
import "./home.scss"


const Home = () => {
return (
<div className="home">
Expand Down

0 comments on commit f5c97f6

Please sign in to comment.