-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
122 additions
and
5 deletions.
There are no files selected for viewing
Binary file modified
BIN
+376 Bytes
(110%)
.sass-cache/17d2fd42d2a8b8246274bfafbcb6155d7a2357dd/_CompanyList.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-90 Bytes
(99%)
.sass-cache/17d2fd42d2a8b8246274bfafbcb6155d7a2357dd/_SearchBar.scssc
Binary file not shown.
Binary file added
BIN
+585 Bytes
...95e41567cc2a7d8997/Users/Nishant/Developer/InternIndia/src/Styles/Components/_About.scssc
Binary file not shown.
Binary file added
BIN
+583 Bytes
...1195e41567cc2a7d8997/Users/Nishant/Developer/InternIndia/src/Styles/Components/_Nav.scssc
Binary file not shown.
Binary file added
BIN
+588 Bytes
...41567cc2a7d8997/Users/Nishant/Developer/InternIndia/src/Styles/Components/_NotFound.scssc
Binary file not shown.
Binary file added
BIN
+589 Bytes
...1567cc2a7d8997/Users/Nishant/Developer/InternIndia/src/Styles/Components/_SearchBar.scssc
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+605 Bytes
(130%)
.sass-cache/a6eaa19a82fe0ae3c0fcc97867972db8213ead42/_variables.scssc
Binary file not shown.
Binary file modified
BIN
+340 Bytes
(110%)
.sass-cache/a6eaa19a82fe0ae3c0fcc97867972db8213ead42/main.scssc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React, { Component, PropTypes } from 'react'; | ||
|
||
import NavItem from './NavItem'; | ||
|
||
class Nav extends Component { | ||
static propTypes = { | ||
className: PropTypes.string, | ||
}; | ||
|
||
constructor(props) { | ||
super(props); | ||
} | ||
|
||
render() { | ||
return ( | ||
<nav className="mainNav"> | ||
<ul className="nav"> | ||
<NavItem text="Home" active={true} /> | ||
<NavItem text="About" active={false} /> | ||
<NavItem text="Contribute" active={false} /> | ||
</ul> | ||
</nav> | ||
); | ||
} | ||
} | ||
|
||
export default Nav; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import React, { Component, PropTypes } from 'react'; | ||
import classNames from 'classnames'; | ||
|
||
class NavItem extends Component { | ||
static propTypes = { | ||
className: PropTypes.string, | ||
text: PropTypes.string.isRequired, | ||
active: PropTypes.bool.isRequired | ||
}; | ||
|
||
constructor(props) { | ||
super(props); | ||
} | ||
|
||
render() { | ||
var navItemClasses = classNames({ | ||
'navItem': true, | ||
'active': this.props.active | ||
}); | ||
|
||
return ( | ||
<li className={navItemClasses}> | ||
{this.props.text} | ||
</li> | ||
); | ||
} | ||
} | ||
|
||
export default NavItem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.mainNav { | ||
height: 45px; | ||
margin: 30px auto $component-vertical-sep auto; | ||
font-size: 1.6rem; | ||
font-family: 'Roboto', 'sans-serif'; | ||
letter-spacing: 0.15rem; | ||
color: $color-main-border; | ||
border-bottom: 1px solid rgba($color-main-border, 0.7); | ||
@include componentwidth(); | ||
} | ||
|
||
.nav { | ||
list-style: none; | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@mixin navactive() { | ||
color: $color-button-primary; | ||
border-bottom: 1px solid $color-button-primary; | ||
font-weight: bold; | ||
} | ||
|
||
.navItem { | ||
margin-bottom: -2px; | ||
display: inline-block; | ||
margin-right: 30px; | ||
height: 100%; | ||
line-height: 45px; | ||
cursor: pointer; | ||
|
||
&:hover { | ||
@include navactive(); | ||
} | ||
|
||
.navItem:last-child { | ||
margin-right: 0; | ||
} | ||
} | ||
|
||
.nav .active { | ||
@include navactive(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@mixin componentwidth() { | ||
width: $main-content-width; | ||
max-width: 850px; | ||
min-width: 500px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
// Color Variables | ||
$color-main: #F6F6F6; | ||
$color-button-primary: #007ee5; | ||
$color-main-text: #515357; | ||
$color-opening-base: #FFFFFF; | ||
$color-main-border: #B9BCC6; | ||
$border-radius-main: 3px; | ||
|
||
|
||
$border-radius-main: 3px; | ||
$main-content-width: 60%; | ||
$component-vertical-sep: 35px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters