Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
2021
Kelas D
Justika - Pengembangan Platform untuk UMKM
Justika UMKM Legal - Frontend
Commits
9b97ddb0
Commit
9b97ddb0
authored
Jun 06, 2021
by
Yasmin Adelia Puti Chaidir
Browse files
[CHORES] fix style in navbar
parent
f213e351
Pipeline
#81723
passed with stages
in 11 minutes and 41 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/Dropdown/ServiceDropdown.js
View file @
9b97ddb0
...
...
@@ -10,15 +10,15 @@ const ServiceDropdown = ({className, dataTest}) => {
>
<
li
>
<
Link
to
=
"
/
"
>
<
p
className
=
"
p-3 w-full h-full block
"
data
-
testid
=
"
konsultasi
"
>
Konsultasi
<
/p
>
<
p
className
=
"
p-3 w-full h-full block
hover:bg-lightgrey
"
data
-
testid
=
"
konsultasi
"
>
Konsultasi
<
/p
>
<
/Link
>
<
/li
>
<
li
>
<
Link
to
=
"
/form-iumk
"
>
<
p
className
=
"
p-3 w-full h-full block
"
className
=
"
p-3 w-full h-full block
hover:bg-lightgrey
"
data
-
testid
=
"
dropdown-izin-umk
"
>
Izin
UMK
...
...
@@ -28,7 +28,7 @@ const ServiceDropdown = ({className, dataTest}) => {
<
li
>
<
Link
to
=
"
/form-pt
"
>
<
p
className
=
"
p-3 w-full h-full block
"
className
=
"
p-3 w-full h-full block
hover:bg-lightgrey
"
data
-
testid
=
"
dropdown-pendirian-pt
"
>
Pendirian
PT
...
...
src/components/Navbar/Dropdown.js
View file @
9b97ddb0
...
...
@@ -17,7 +17,7 @@ const Dropdown = ({className, dataTest}) => {
{
!
click
&&
(
<
li
>
<
p
className
=
"
p-3 w-full h-full block
"
className
=
"
p-3 w-full h-full block
hover:bg-lightgrey cursor-pointer
"
data
-
testid
=
"
keluar-url-link
"
onClick
=
{()
=>
{
dispatch
(
logout
())
...
...
src/components/Navbar/Navbar.js
View file @
9b97ddb0
...
...
@@ -76,7 +76,7 @@ const Navbar = ({isLoggedIn, name}) => {
<
div
className
=
"
hidden lg:block xl:block 2xl:block justify-start
"
>
<
ul
className
=
"
heading-3 flex flex-col sm:flex-row w-1/3 ml-16 top-20 right-6 absolute sm:static
"
>
<
li
className
=
"
flex mr-11
"
className
=
"
flex mr-11
cursor-pointer
"
data
-
testid
=
"
jasa-dropdown
"
onClick
=
{()
=>
setServiceDropdown
(
!
serviceDropdown
)}
>
...
...
@@ -108,7 +108,7 @@ const Navbar = ({isLoggedIn, name}) => {
<
ul
className
=
"
absolute sm:static top-8 right-6
"
>
<
li
onClick
=
{
toggleDropdown
}
data
-
testid
=
"
toggle-dropdown
"
>
<
div
className
=
"
flex items-center reguler-text
"
className
=
"
flex items-center reguler-text
cursor-pointer
"
data
-
testid
=
"
profil-dropdown
"
>
<
img
src
=
{
Profile
}
className
=
"
mr-4
"
/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment