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
Functional Programming
Diskuy-Frontend
Commits
fadc24ef
Commit
fadc24ef
authored
Feb 23, 2021
by
Jonathan
Browse files
Merge branch 'jonathan' into 'master'
Jonathan See merge request
!35
parents
300aeb66
2399fe19
Changes
13
Hide whitespace changes
Inline
Side-by-side
src/components/Search.jsx
View file @
fadc24ef
...
...
@@ -42,7 +42,7 @@ export default function Search(props) {
</
h1
>
<
ThreadList
thread
=
{
threads
}
/>
{
totalItems
==
0
&&
(
<
p
>
Can't find any
thread with
your
keyword.
</
p
>
<
p
>
No
thread
s
with keyword
"
{
searchParam
}
" found
.
</
p
>
)
}
{
totalItems
!=
0
&&
(
<
div
className
=
"paginationContainer"
>
...
...
src/components/thread/Thread.jsx
View file @
fadc24ef
...
...
@@ -112,20 +112,22 @@ export default function Thread(props) {
<
div
id
=
"addCommentSection"
>
<
h3
>
Write a Comment
</
h3
>
<
form
onSubmit
=
{
handleSubmit
}
>
<
textarea
className
=
"commentBox"
placeholder
=
"Write your comment here"
required
=
"false"
{
...
bindInput
}
/>
<
div
>
<
button
className
=
"submitComment"
id
=
"addCommentButton"
type
=
"submit"
>
Post Comment
</
button
>
<
div
className
=
"commentFormContainer"
>
<
textarea
className
=
"commentBox"
placeholder
=
"Write your comment here"
required
=
"false"
{
...
bindInput
}
/>
<
div
>
<
button
className
=
"submitComment"
id
=
"addCommentButton"
type
=
"submit"
>
Post Comment
</
button
>
</
div
>
</
div
>
</
form
>
</
div
>
...
...
src/components/utility/Navbar.jsx
View file @
fadc24ef
...
...
@@ -49,7 +49,7 @@ const Navbar = (props) => {
className
=
"form-control mr-sm-2"
placeholder
=
"Search thread"
aria
-
label
=
"Search"
required
=
{
false
}
required
=
"
false
"
{
...
bindSearch
}
/>
<
button
className
=
"btn my-2 my-sm-0 search"
type
=
"submit"
>
...
...
src/styles/App.css
View file @
fadc24ef
body
{
min-height
:
100vh
;
}
@media
only
screen
and
(
min-device-width
:
320px
)
and
(
max-device-width
:
480px
)
{
p
{
font-size
:
14px
;
...
...
src/styles/LoginForm.css
View file @
fadc24ef
...
...
@@ -7,7 +7,8 @@
align-items
:
center
;
color
:
#003F5A
;
font-family
:
"DM Sans"
;
margin-bottom
:
184px
;
min-height
:
100vh
;
margin-bottom
:
72px
;
}
.loginFormContainer
h1
{
...
...
src/styles/Search.css
View file @
fadc24ef
.searchresultContainer
{
margin
:
36px
72px
margin
:
36px
72px
;
min-height
:
100vh
;
margin-bottom
:
72px
;
}
.searchresultContainer
h1
{
...
...
src/styles/profile/Profile.css
View file @
fadc24ef
...
...
@@ -2,6 +2,8 @@
margin-top
:
36px
;
margin-left
:
72px
;
margin-right
:
72px
;
min-height
:
100vh
;
margin-bottom
:
72px
;
}
.profile_section
{
...
...
src/styles/thread/Form.css
View file @
fadc24ef
.formContainer
{
margin
:
36px
72px
!important
;
min-height
:
100vh
;
margin-bottom
:
72px
;
}
.back
{
...
...
src/styles/thread/ListThreads.css
View file @
fadc24ef
...
...
@@ -37,7 +37,9 @@
.listThreadsContainer
{
margin-top
:
36px
;
margin-left
:
72px
;
margin-right
:
72px
;
margin-right
:
72px
;
min-height
:
100vh
;
margin-bottom
:
72px
;
}
.header
h1
{
...
...
src/styles/thread/Thread.css
View file @
fadc24ef
...
...
@@ -3,10 +3,11 @@
justify-content
:
center
;
flex-direction
:
column
;
margin-top
:
36px
;
margin-bottom
:
36px
;
font-family
:
"DM Sans"
;
margin-left
:
72px
;
margin-right
:
72px
;
min-height
:
100vh
;
margin-bottom
:
72px
;
}
.back
{
...
...
@@ -53,7 +54,7 @@
}
.commentBox
{
min-width
:
1
120
px
;
min-width
:
1
056
px
;
max-width
:
1776px
;
font-family
:
"DM Sans"
;
height
:
120px
;
...
...
@@ -83,6 +84,11 @@ textarea:focus {
margin-bottom
:
0px
!important
;
}
.commentFormContainer
{
display
:
flex
;
flex-direction
:
column
;
}
@media
only
screen
and
(
min-device-width
:
320px
)
and
(
max-device-width
:
480px
)
{
.threadContainer
{
margin-top
:
24px
;
...
...
src/styles/topic/Topic.css
View file @
fadc24ef
...
...
@@ -2,6 +2,8 @@
margin-top
:
36px
;
margin-left
:
72px
;
margin-right
:
72px
;
min-height
:
100vh
;
margin-bottom
:
72px
;
}
.header
h1
{
...
...
src/styles/topic/TopicList.css
View file @
fadc24ef
...
...
@@ -7,7 +7,6 @@
.topics
{
display
:
flex
;
justify-content
:
center
;
}
.topicCards
{
...
...
@@ -51,6 +50,11 @@
font-size
:
16px
;
}
.topicCard
{
width
:
200px
;
min-height
:
108px
;
}
.topicContainer
h1
{
font-family
:
"DM Sans"
;
font-size
:
28px
;
...
...
src/styles/utility/Footer.css
View file @
fadc24ef
...
...
@@ -4,7 +4,6 @@
justify-content
:
space-between
;
font-family
:
"DM Sans"
;
padding
:
36px
72px
;
margin-top
:
72px
;
}
#fasilkomLogo
p
{
...
...
Write
Preview
Markdown
is supported
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