Skip to content
GitLab
Menu
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
Jul 27, 2022
by
Lee Soobeom
Browse files
Merge remote-tracking branch 'origin/sm18' into develop
parents
17f5b225
d517c08f
Changes
2
Hide whitespace changes
Inline
Side-by-side
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 "
>
...
...
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
);
...
...
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