22
33import React from "react" ;
44import { useApolloClient } from "@apollo/client/react" ;
5- import { ContextStoreProvider } from "@code0-tech/pictor" ;
5+ import { AuroraBackground , ContextStoreProvider } from "@code0-tech/pictor" ;
66import { UserService } from "@edition/user/services/User.service" ;
77import { GraphqlClient } from "@core/util/graphql-client" ;
88import { useParams , usePathname } from "next/navigation" ;
@@ -20,12 +20,14 @@ import {RoleView} from "@edition/role/services/Role.view";
2020import { Layout } from "@code0-tech/pictor/dist/components/layout/Layout" ;
2121import {
2222 DataType ,
23- Flow , FlowType ,
23+ Flow ,
24+ FlowType ,
2425 FunctionDefinition ,
2526 Namespace ,
2627 NamespaceMember ,
2728 NamespaceProject ,
28- Runtime , RuntimeModule ,
29+ Runtime ,
30+ RuntimeModule ,
2931 User
3032} from "@code0-tech/sagittarius-graphql-types" ;
3133import { ApplicationMiddlewareComponent } from "@edition/application/components/ApplicationMiddlewareComponent" ;
@@ -93,20 +95,56 @@ const ApplicationLayout: React.FC<ApplicationLayoutProps> = ({children, sidebar,
9395 services = { [ application , user , organization , member , namespace , runtime , project , role , flow , functions , datatype , flowtype , module , ai ] } >
9496 < ApplicationMiddlewareComponent >
9597 < MfaProviderComponent >
96- < FullScreen bg = { "var(--secondary)" } >
97- < Layout p = { 1 } showLayoutSplitter = { false } layoutGap = { 32 } leftContent = { < ApplicationNavigationView /> } >
98- < Layout showLayoutSplitter = { false } layoutGap = { 32 } leftContent = { < div style = { {
98+ < FullScreen bg = { "var(--primary)" } >
99+ < div style = { {
100+ position : "absolute" ,
101+ top : 0 ,
102+ left : 0 ,
103+ width : "100%" ,
104+ transform : "scaleX(-1)" ,
105+ height : "50%" ,
106+ opacity : "0.25"
107+ } } >
108+ < div style = { {
109+ position : "absolute" ,
110+ top : "0" ,
111+ left : 0 ,
112+ width : "100%" ,
113+ height : "100%" ,
114+ background : "radial-gradient(circle at top right,rgba(25, 24, 37, 0) 0%, var(--primary) 35%)" ,
115+ zIndex : "1" ,
116+ WebkitBackdropFilter : "blur(5rem)" ,
117+ } } />
118+ < AuroraBackground />
119+
120+ </ div >
121+
122+ < div style = { {
123+ position : "absolute" ,
124+ top : 0 ,
125+ right : 0 ,
126+ width : "100%" ,
127+ transform : "" ,
99128 height : "100%" ,
100- boxSizing : "border-box" ,
101- maxWidth : "20vw"
102- } } > { sidebar } </ div > } >
103- < >
104- { children }
105- { modal }
106- </ >
129+ opacity : "0.25" ,
130+ filter : "blur(5rem)" ,
131+ } } >
132+ < AuroraBackground />
133+
134+ </ div >
135+ < Layout p = { 1 } showLayoutSplitter = { false } layoutGap = { 32 } leftContent = { < ApplicationNavigationView /> } >
136+ < Layout showLayoutSplitter = { false } layoutGap = { 32 } leftContent = { < div style = { {
137+ height : "100%" ,
138+ boxSizing : "border-box" ,
139+ maxWidth : "20vw"
140+ } } > { sidebar } </ div > } >
141+ < >
142+ { children }
143+ { modal }
144+ </ >
145+ </ Layout >
107146 </ Layout >
108- </ Layout >
109- </ FullScreen >
147+ </ FullScreen >
110148 </ MfaProviderComponent >
111149 </ ApplicationMiddlewareComponent >
112150 </ ContextStoreProvider >
0 commit comments