-
Notifications
You must be signed in to change notification settings - Fork 0
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
rc/0.5.0 #64
Merged
Merged
rc/0.5.0 #64
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
95f7e71
Feat/8 Logout (#39)
demariadaniel 7eeb551
Feat/#14 programs list page (#47)
ciaranschutte 8c4a490
Add NEXT_PUBLIC Prefix (#52)
demariadaniel 0a755e5
Remove Ego Values (#56)
demariadaniel 43b21f6
Runtime client vars (#61)
ciaranschutte bd7c9dd
upgrade node to latest LTS version (#63)
ciaranschutte 44f66ff
Update version to 0.5.0
ciaranschutte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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,55 @@ | ||
/* | ||
* Copyright (c) 2023 The Ontario Institute for Cancer Research. All rights reserved | ||
* | ||
* This program and the accompanying materials are made available under the terms of | ||
* the GNU Affero General Public License v3.0. You should have received a copy of the | ||
* GNU Affero General Public License along with this program. | ||
* If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY | ||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT | ||
* SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED | ||
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | ||
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER | ||
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
// all our context providers won't work server side, beacuse React.Context is client side | ||
'use client'; | ||
|
||
import { AuthProvider } from '@/global/utils/auth'; | ||
import { css } from '@/lib/emotion'; | ||
import { ReactNode } from 'react'; | ||
import { QueryClient, QueryClientProvider } from 'react-query'; | ||
import { AppConfigProvider } from './components/ConfigProvider'; | ||
import Footer from './components/Footer'; | ||
import Header from './components/Header'; | ||
import ThemeProvider from './components/ThemeProvider'; | ||
|
||
const queryClient = new QueryClient(); | ||
|
||
const App = ({ children, config }: { children: ReactNode; config: any }) => ( | ||
<ThemeProvider> | ||
<QueryClientProvider client={queryClient}> | ||
<AppConfigProvider config={config}> | ||
<AuthProvider> | ||
<div | ||
css={css` | ||
display: grid; | ||
grid-template-rows: 58px 1fr 59px; /* header + content + footer*/ | ||
min-height: 100vh; | ||
`} | ||
> | ||
<Header /> | ||
{children} | ||
<Footer /> | ||
</div> | ||
</AuthProvider> | ||
</AppConfigProvider> | ||
</QueryClientProvider> | ||
</ThemeProvider> | ||
); | ||
|
||
export default App; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooh new flag. they just love polluting the env, eh?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's me polluting the env ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and yes I do enjoy it :p