File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22node_modules
33/build
44/.svelte-kit
5+ /.idea
56/package
67.env
78.env. *
Load diff This file was deleted.
Original file line number Diff line number Diff line change 235235 {#if copy }
236236 <li data-active ={isActive ? ' ' : undefined }>
237237 <h3 >
238- <img src ={isActive ? copy .icon .active : copy .icon .inactive } alt =" " />
238+ <img src ={isActive ? copy .icon .active : copy .icon .inactive } alt =" " width = " 32 " height = " 32 " />
239239 <span class ="aw-label" >{copy .title }</span >
240240 </h3 >
241241 {#if isActive }
Original file line number Diff line number Diff line change 1818
1919 const onLoad = () => {
2020 loaded .set (true );
21-
2221 node .shadowRoot ?.querySelector (' #logo' )?.remove (); // Remove Spline logo
2322 };
2423
4039 if (! l ) return ;
4140 setTimeout (() => {
4241 node ?.style .setProperty (' display' , ' none' );
43- }, 500 );
42+ }, 150 );
4443 });
4544
4645 return {
Original file line number Diff line number Diff line change 66 export type DocsLayoutState = {
77 showReferences: boolean ;
88 showSidenav: boolean ;
9+ currentVariant: DocsLayoutVariant | null ;
910 };
1011 export const layoutState = writable <DocsLayoutState >({
1112 showReferences: false ,
12- showSidenav: false
13+ showSidenav: false ,
14+ currentVariant: null
1315 });
1416 export function toggleReferences() {
1517 layoutState .update ((state ) => ({
18+ ... state ,
1619 showReferences: ! state .showReferences ,
1720 showSidenav: false
1821 }));
1922 }
2023 export function toggleSidenav() {
2124 layoutState .update ((state ) => ({
25+ ... state ,
2226 showReferences: false ,
2327 showSidenav: ! state .showSidenav
2428 }));
3539 };
3640
3741 $ : variantClass = variantClasses [variant ];
42+ $ : $layoutState .currentVariant = variant ;
3843
3944 navigating .subscribe (() => {
40- layoutState .set ({
45+ layoutState .update ((n ) => ({
46+ ... n ,
4147 showReferences: false ,
4248 showSidenav: false
43- });
49+ })) ;
4450 });
4551 </script >
4652
124130 </div >
125131 <div class =" aw-main-header-end" >
126132 <div class =" u-flex u-gap-8" >
127- <a href =" https://github.com/appwrite/appwrite/stargazers" target =" _blank" class =" aw-button is-text" >
133+ <a
134+ href =" https://github.com/appwrite/appwrite/stargazers"
135+ target =" _blank"
136+ class =" aw-button is-text"
137+ >
128138 <svg
129139 xmlns =" http://www.w3.org/2000/svg"
130140 width =" 18"
Original file line number Diff line number Diff line change 3333 }
3434 </script >
3535
36- <nav class =" aw-side-nav" >
36+ <nav
37+ class =" aw-side-nav is-transparent"
38+ class:is-transparent ={$layoutState .currentVariant !== ' two-side-navs' }
39+ >
3740 <div class =" aw-side-nav-wrapper" >
3841 <button class =" aw-input-text aw-is-not-desktop" >
3942 <span class =" icon-search" />
9598 <span class =" text" >Go to console</span >
9699 </button >
97100
98- <a href =" https://github.com/appwrite/appwrite/stargazers" target =" _blank" class =" aw-button is-text u-width-full-line" >
101+ <a
102+ href =" https://github.com/appwrite/appwrite/stargazers"
103+ target =" _blank"
104+ class =" aw-button is-text u-width-full-line"
105+ >
99106 <span class =" aw-icon-star" aria-hidden =" true" />
100107 <span class =" text" >Star on GitHub</span >
101108 <span class =" aw-inline-tag aw-sub-body-400" >33.2K</span >
Original file line number Diff line number Diff line change 174174 Self-host your data or take it to the Cloud
175175 </h2 >
176176 <p class =" aw-description u-max-width-700" >
177- Migrate your data from and to any platform at any time with Appwrite Migrations.
178- With built-in security and privacy for peace of mind.
177+ Migrate your data from and to any platform at any time with Appwrite Migrations. With
178+ built-in security and privacy for peace of mind.
179179 </p >
180180 </section >
181181 <div class =" u-overflow-hidden aw-u-margin-block-start-80" >
331331 <Spline let:fallback let:viewer >
332332 <div
333333 class =" u-position-absolute aw-is-not-mobile"
334- style:inline-size =" 512px "
335- style:block-size =" 512px "
336- style:inset-block-start =" 8rem "
337- style:left =" calc(50% - 256px + 18rem )"
334+ style:inline-size =" 768px "
335+ style:block-size =" 768px "
336+ style:inset-block-start =" 0rem "
337+ style:left =" calc(50% - 384px + 350px )"
338338 >
339339 <img
340340 src =" /images/animations/tech.png"
341- width =" 512 "
342- height =" 512 "
341+ width =" 768 "
342+ height =" 768 "
343343 alt =" "
344344 style =" position: absolute; display: block;"
345345 use:fallback
346346 />
347-
348347 <spline-viewer
349- url =" https://prod.spline.design/KvoQWZAi5foGUXxJ/scene.splinecode"
350- loading =" eager"
348+ url =" https://prod.spline.design/0WfvducTgy5c8aVi/scene.splinecode"
349+ width =" 768"
350+ height =" 768"
351351 use:viewer
352352 />
353353 </div >
You can’t perform that action at this time.
0 commit comments