-
Notifications
You must be signed in to change notification settings - Fork 30
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
1 parent
987621e
commit ffd8a28
Showing
41 changed files
with
1,193 additions
and
1,790 deletions.
There are no files selected for viewing
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,3 @@ | ||
{ | ||
"makefile.configureOnOpen": false | ||
} |
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
Large diffs are not rendered by default.
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Components | ||
import Header from './components/header/Header' | ||
import Footer from './components/footer/Footer' | ||
|
||
// Styles | ||
import './App.css' | ||
import { useHelia } from './hooks/useHelia' | ||
import { Page } from './page/Page' | ||
|
||
export const App = () => { | ||
const { starting, error } = useHelia() | ||
|
||
// Only shows the page if IPFS is ready or if the initialization has failed. | ||
const ready = !starting || error | ||
|
||
return ( | ||
<div className='App sans-serif'> | ||
<div className='flex flex-column min-vh-100'> | ||
<Header /> | ||
<main className='flex-auto ph4'> | ||
{ ready && <Page /> } | ||
</main> | ||
<Footer /> | ||
</div> | ||
</div> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.