-
Notifications
You must be signed in to change notification settings - Fork 174
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
Showing
6 changed files
with
719 additions
and
2,957 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
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,32 @@ | ||
import type { LinksFunction } from "@remix-run/node"; | ||
import { Outlet } from "@remix-run/react"; | ||
import { ErrorBoundryComponent } from "~/components/errors"; | ||
import { useCrisp } from "~/components/marketing/crisp"; | ||
import styles from "~/styles/layout/index.css"; | ||
|
||
export const links: LinksFunction = () => [{ rel: "stylesheet", href: styles }]; | ||
|
||
export default function App() { | ||
useCrisp(); | ||
|
||
return ( | ||
<div className="flex h-full min-h-screen flex-col "> | ||
<main className="relative flex h-full w-full"> | ||
<div className="flex h-full w-full flex-col items-center justify-center md:p-20"> | ||
<div className="h-full w-full rounded-xl bg-white shadow-xl"> | ||
<Outlet /> | ||
</div> | ||
</div> | ||
<img | ||
src="/images/bg-overlay1.png" | ||
alt="bg-overlay" | ||
className="absolute right-0 top-0 -z-10 h-full w-full object-cover" | ||
/> | ||
</main> | ||
</div> | ||
); | ||
} | ||
|
||
export const ErrorBoundary = () => ( | ||
<ErrorBoundryComponent title="Sorry, page you are looking for doesn't exist" /> | ||
); |
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
Oops, something went wrong.