Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
landingPage-Nexpie
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
atichat
landingPage-Nexpie
Commits
bc90592b
Commit
bc90592b
authored
Aug 31, 2019
by
Chaiwith Santaweesuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
11cad4e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/components/Header.js
+2
-1
src/scss/style.scss
+3
-3
No files found.
src/components/Header.js
View file @
bc90592b
...
...
@@ -36,7 +36,8 @@ class HeaderComponent extends Component {
const
{
activeIndex
}
=
this
.
state
;
return
(
<
Navbar
.
Item
key
=
{
`Button
${
index
}
`
}
renderAs
=
"a"
href
=
"#"
>
<
Button
fullwidth
color
=
{
index
===
activeIndex
?
'menu-nexpie'
:
'white'
}
>
{
/* <Button fullwidth color={index === activeIndex ? 'menu-nexpie' : 'white'}> */
}
<
Button
fullwidth
color
=
{
'white'
}
>
{
firstSection
.
name
}
<
/Button
>
<
/Navbar.Item
>
...
...
src/scss/style.scss
View file @
bc90592b
...
...
@@ -28,7 +28,7 @@ body {
.button.is-white
{
background-color
:
$white
;
border-color
:
transparent
;
color
:
#
666
;
color
:
#
4a4a4a
;
}
.section
{
width
:
100vw
;
...
...
@@ -412,11 +412,11 @@ body {
.button
{
// font-family: "Noto Sans Thai", sans-serif;
border-radius
:
25px
;
font-size
:
1
8
px
;
font-size
:
1
6
px
;
font-weight
:
bold
;
font-style
:
normal
;
span
{
font-size
:
1
8
px
;
font-size
:
1
6
px
;
font-weight
:
bold
;
font-style
:
normal
;
}
...
...
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