Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavHeader #1

Open
TurtleWolfe opened this issue Jun 30, 2021 · 0 comments
Open

NavHeader #1

TurtleWolfe opened this issue Jun 30, 2021 · 0 comments

Comments

@TurtleWolfe
Copy link
Owner

TurtleWolfe commented Jun 30, 2021

BasketPage
https://github.com

I'd like a transparent Nav Bar, so I assume I have to put it over the background to see anything behind it.. but as soon as I do I get a large gap above the header

PageBasket

import React from 'react';

import { NavHeader } from '../components/NavHeader';

import './pageBasket.css';
import logo from '../stories/assets/Basketball.svg';

interface BasketPageProps {
  user?: {};
  onLogin?: () => void;
  onLogout?: () => void;
  onCreateAccount?: () => void;
}

export const BasketPage = ({ user, onLogin, onLogout, onCreateAccount }: BasketPageProps) => (
  <>
    {/* <header className="App-header bg-image" > */}

    <NavHeader
      user={user}
      onLogin={onLogin}
      onLogout={onLogout}
      onCreateAccount={onCreateAccount}
    />

    <header className="App-header bg-image" >

      <p>
        Edit <code>src/App.tsx</code> and save to reload.
      </p>
      <img src={logo} className="App-logo" alt="logo" />
    </header >
  </>
);

BasketBookPage
LogOutScreen
NavHeader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant