File tree Expand file tree Collapse file tree 1 file changed +42
-1
lines changed
Expand file tree Collapse file tree 1 file changed +42
-1
lines changed Original file line number Diff line number Diff line change 22 import ' $lib/css/global.css' ;
33 import favicon from ' $lib/assets/favicon.svg' ;
44
5+ // TODO: import ProgressBar from '$lib/components/ProgressBar.svelte';
6+ // TODO: import Header from '$lib/components/Header.svelte';
7+ // TODO: import Footer from '$lib/components/Footer.svelte';
8+
59 let { children } = $props ();
10+
11+ // TODO: implement color scheme support
12+ // TODO: implement notification container
613 </script >
714
815<svelte:head >
916 <link rel ="icon" href ={favicon } />
17+ <title >crates.io: Rust Package Registry</title >
1018</svelte:head >
1119
12- {@render children ()}
20+ <!-- TODO: <ProgressBar /> -->
21+ <!-- TODO: <NotificationContainer position='top-right' /> -->
22+ <div id =" tooltip-container" ></div >
23+
24+ <!-- TODO: <Header hero={isIndex} /> -->
25+
26+ <main class =" main" >
27+ <div class =" inner-main width-limit" >
28+ {@render children ()}
29+ </div >
30+ </main >
31+
32+ <!-- TODO: <Footer /> -->
33+
34+ <style >
35+ .main {
36+ flex-grow : 1 ;
37+ display : flex ;
38+ justify-content : center ;
39+ width : 100% ;
40+ position : relative ;
41+ background-color : var (--main-bg );
42+ color : var (--main-color );
43+ box-shadow : 0 0 6px 0 var (--main-shadow-color );
44+ }
45+
46+ .inner-main {
47+ --main-layout-padding : var (--space-s );
48+
49+ display : flex ;
50+ flex-direction : column ;
51+ padding : var (--main-layout-padding );
52+ }
53+ </style >
You can’t perform that action at this time.
0 commit comments