Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
travel
Commits
d9047c9a
Commit
d9047c9a
authored
2 years ago
by
Lee Soobeom
Browse files
Options
Download
Plain Diff
Merge remote-tracking branch 'origin/sm18' into develop
parents
17f5b225
d517c08f
main
MK28
MK29
sb0815
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/home/header.tsx
+1
-1
frontend/src/home/header.tsx
frontend/src/pages/citylist.tsx
+3
-2
frontend/src/pages/citylist.tsx
with
4 additions
and
3 deletions
+4
-3
frontend/src/home/header.tsx
View file @
d9047c9a
...
...
@@ -12,7 +12,7 @@ export default function Header() {
const
newvalue
=
e
.
target
.
value
;
setSearch
(
newvalue
);
};
// bg-gradient-to-t from-sky-200
return
(
<
div
className
=
"flex flex-col "
>
<
div
className
=
"flex flex-col md:px-56 z-10 "
>
...
...
This diff is collapsed.
Click to expand it.
frontend/src/pages/citylist.tsx
View file @
d9047c9a
...
...
@@ -7,8 +7,9 @@ type CityProps = {
export
default
function
Citylist
({
handleClick
}:
CityProps
)
{
const
[
active
,
setActive
]
=
useState
(
0
);
const
onactive
=
"
text-start px-5 py-2 underline whitespace-nowrap
"
;
const
offactive
=
"
text-start px-5 py-2 whitespace-nowrap
"
;
const
onactive
=
"
text-start px-5 py-2 whitespace-nowrap w-full border-b-4 md:border-b-0 md:border-r-4 border-sky-500
"
;
const
offactive
=
"
text-start px-5 py-2 whitespace-nowrap w-full
"
;
const
clickActive
=
(
a
:
number
)
=>
{
setActive
(
a
);
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help