Skip to content

Commit

Permalink
feat: add GlobalAlert to DefaultLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
BCerki committed Mar 30, 2022
1 parent 3e01ffd commit 982b1af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/Layout/DefaultLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Navigation from "components/Layout/Navigation";
import Footer from "components/Layout/Footer";
import SiteNoticeBanner from "components/Layout/SiteNoticeBanner";
import UserProfile from "components/User/UserProfile";
import GlobalAlert from "./GlobalAlert";

const runtimeConfig = getConfig()?.publicRuntimeConfig ?? {};

Expand Down Expand Up @@ -42,6 +43,7 @@ const DefaultLayout: React.FC<Props> = ({
<SiteNoticeBanner content={runtimeConfig.SITEWIDE_NOTICE} />
)}
</Navigation>
<GlobalAlert content={"brianna makes an alert"} />
<main>{children}</main>
<Footer />
<style jsx>
Expand Down

0 comments on commit 982b1af

Please sign in to comment.