Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desafio Frontend - Matheus Andrade Tavares #37

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
8c96f9c
refactor(vue): upgrade vue2 to vue3 and add tailwind
mthstv May 21, 2024
278f63f
hotfix(packageName): changes package name
mthstv May 21, 2024
24476db
feat(build): adds fontawesome lib and icon button component
mthstv May 21, 2024
07e752f
refactor(iconButton): adds tailwind classes
mthstv May 21, 2024
aa57f0f
chore(vue): removes default files from init
mthstv May 21, 2024
6296df1
feat(title): renames page title
mthstv May 21, 2024
ccadb86
build(ts): adds compiler options to add @ as path for import
mthstv May 21, 2024
15c5e7c
feat(assets): adds logo and avatar icons
mthstv May 21, 2024
07e9902
feat(profileAvatar): adds component for profile avatar
mthstv May 21, 2024
d69ec7d
feat(navbar): adds navbar component
mthstv May 21, 2024
6a63f7c
feat(app): refactors app component
mthstv May 22, 2024
a5272b7
refactor(propTypes): adds props interfaces to components
mthstv May 22, 2024
64b73b1
feat(button): adds default button component
mthstv May 22, 2024
f85cead
hotfix(profile): changes url to be optional
mthstv May 22, 2024
56548b3
refactor(iconButton): replaces css style with tailwind
mthstv May 22, 2024
c777e2a
feat(app): adds add wallet button
mthstv May 22, 2024
0b4a59b
feat(env): adds env example file
mthstv May 22, 2024
0283206
refactor(styles): removes repeated tailwind styles
mthstv May 22, 2024
a4d4eb3
hotfix(app): fixes flex justify
mthstv May 22, 2024
6083f4e
feat(users): adds api request to pull users
mthstv May 22, 2024
2791925
refactor(button): renames button to common
mthstv May 22, 2024
efda8bc
feat(card): adds common card component
mthstv May 22, 2024
d6d4cb5
refactor(styles): uses tailwind classes for spaces and colors
mthstv May 22, 2024
e01a668
refactor(request): removes unused header
mthstv May 22, 2024
9ebd16a
feat(types): adds user, filter and pagination types
mthstv May 22, 2024
3bced8a
feat(services): adds user service
mthstv May 22, 2024
4e07068
refactor(store): adds types and services calls to store
mthstv May 22, 2024
76498bb
feat(userTable): adds user table
mthstv May 22, 2024
9104ace
feat(exportUtil): adds export csv util
mthstv May 22, 2024
c902c0d
chore(ts): adds navigator msSaveBlob type
mthstv May 22, 2024
cbfcefa
feat(pagination): adds pagination feature on users table
mthstv May 22, 2024
8d0e182
chore(settings): adds tailwind vscode settings
mthstv May 22, 2024
975a8b6
refactor(filter): changes json-server version to v0.17.4 to use _like
mthstv May 22, 2024
0a31541
feat(input): adds text input component
mthstv May 22, 2024
6391e0b
feat(filtering): adds filter component
mthstv May 22, 2024
bc3363c
feat(user): adds remove user to service
mthstv May 23, 2024
0883c7f
feat(usersTable): emits edit and delete event clicks
mthstv May 23, 2024
cd9de12
feat(textButton): adds text button component
mthstv May 23, 2024
cfde8a1
feat(modal): adds common modal component
mthstv May 23, 2024
771a05e
chore(iconButton): removes unecessary tooltip style
mthstv May 23, 2024
1540138
feat(deleteModal): adds delete user modal
mthstv May 23, 2024
74f1fd4
feat(app): adds logic to show user delete modal
mthstv May 23, 2024
32be7dc
refactor(deleteModal): changes css to tailwind classes
mthstv May 23, 2024
618be13
chore(style): removes outline from inputs
mthstv May 23, 2024
238bda6
refactor(style): recolors some components and adjustments to spacing
mthstv May 23, 2024
e15fa31
refactor(type): changes some user attributes to be optional
mthstv May 23, 2024
74a947e
feat(utils): adds cryptocurrency utils
mthstv May 23, 2024
132b2aa
removes unecessary cors headers
mthstv May 23, 2024
87401f2
feat(userService): adds create and update user requests
mthstv May 23, 2024
50a3e34
feat(currencyService): adds currency service requests
mthstv May 23, 2024
27a9213
feat(store): adds user create and update and crypto price requests
mthstv May 23, 2024
4e585f4
chore(deleteUser): renames store call
mthstv May 23, 2024
bb72590
feat(userModal): adds user modal component
mthstv May 23, 2024
f075c50
feat(app): adds user modal to app page
mthstv May 23, 2024
136192e
refactor(styles): adds tailwind classes to user form modal
mthstv May 23, 2024
2344d21
chore(tests): removes unused tests
mthstv May 23, 2024
0bd5116
bugfix(type): fixes typescript build error
mthstv May 23, 2024
30306c1
hotfix(style): adjust maxwidth on media query for the table to avoid …
mthstv May 23, 2024
f19d3dd
feat(filter): adds clear filter button
mthstv May 23, 2024
dd6ae08
build(env): adds production env file
mthstv May 23, 2024
5bfce39
feat(doc): adds readme
mthstv May 23, 2024
9e91b84
feat(readme): adds separator between local and prod run commands
mthstv May 23, 2024
ffe9162
feat(tests): adds common button tests
mthstv May 23, 2024
b478043
chore: removes unecessary imports
mthstv Aug 2, 2024
032e912
feat: reorganize testing configs
mthstv Aug 2, 2024
0e24caf
feat: add tests configs and dependencies
mthstv Aug 2, 2024
c53a2bb
feat: adjustments for tests on table and utils
mthstv Aug 2, 2024
a4acd41
tests: adds folder structure and initial tests
mthstv Aug 2, 2024
4edcecb
feat: adds more tests for common components and services
mthstv Aug 5, 2024
d8e5850
feat(tests): adds tests for users table and filter input
mthstv Aug 6, 2024
7d5cf48
feat(tests): adds tests for users table and the feature modals
mthstv Aug 13, 2024
c072df0
feat(tests): finish unit testing
mthstv Aug 13, 2024
1ed420e
feat(tests): adds e2e testing using playwright
mthstv Aug 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(navbar): adds navbar component
  • Loading branch information
mthstv committed May 22, 2024
commit d69ec7d0e751826e07027a82600422fbb340c861
30 changes: 30 additions & 0 deletions src/components/feature/NavBar.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<script setup lang="ts">
import IconButton from '../common/IconButton.vue'
import ProfileAvatar from './ProfileAvatar.vue'
</script>
<template>
<div class="h-[80px] bg-white [box-shadow:#9999993d_0px_3px_8px] flex justify-center">
<div class="w-4/5 h-full p-0 flex justify-between items-center">
<div class="flex items-center">
<img class="mr-2.5 w-8" src="../../assets/logo.png" alt="Oliveira Trust Logo" />
<h2 class="font-black">OLIVEIRA TRUST</h2>
</div>
<div class="flex items-center">
<ProfileAvatar />
<b class="mx-2.5">Otávio Oliveira</b>
<IconButton tooltipText="Sair" name="arrow-right-from-bracket" />
</div>
</div>
</div>
</template>
<style scoped>
@media only screen and (max-width: 790px) {
.nav-bar-content > h2 {
display: none;
}

.nav-bar-contents {
width: 90%;
}
}
</style>