text: /**
   * This file is part of the react-fundamentals package.
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   *
   * For the full copyright and license information, please view the LICENSE
   * file that was distributed with this source code.
   */
  
  import React from "react";
  import { IndexLink } from "react-router";
  import SearchGithub from "./search-github-component";
  
  /**
   * Main Component
   *
   * @author Elliot Wright <elliot@elliotwright.co>
   */
  class Main extends React.Component {
      render() {
          return (
              <div className="main-container">
                  <nav className="navbar navbar-default" role="navigation">
                      <div className="container">
                          <div className="navbar-header">
                              <IndexLink to="/" className="navbar-brand">React Fundamentals</IndexLink>
                          </div>
  
                          <div className="collapse navbar-collapse">
                              <SearchGithub />
                          </div>
                      </div>
                  </nav>
  
                  <div className="container">
                      {this.props.children}
                  </div>
              </div>
          );
      }
  }
  
  export default Main;
  