File tree 3 files changed +36
-0
lines changed
3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ import twopoint5d from ' ../images/twopoint5d-logo.svg?url' ;
3
+ ---
4
+
5
+ <div class =" absolute bottom-0 z-50 -rotate-90 origin-bottom-left transform-gpu container pointer-events-none" >
6
+ <div class =" flex justify-center" >
7
+ <header class =" demo-navbar flex justify-start items-center px-1.5 lg:pe-5 lg:ps-4 h-10 backdrop-blur-sm pointer-events-auto" >
8
+ <img class =" primary" src ={ twopoint5d } alt =" twopoint5d" />
9
+ </header >
10
+ </div >
11
+ </div >
12
+
13
+ <style >
14
+ .container {
15
+ width: 100vh;
16
+ height: 0;
17
+ right: calc(-100vh + 100vw);
18
+ }
19
+
20
+ .demo-navbar {
21
+ --bg-col: var(--color-demo-navbar-background, rgba(18 22 25 / 75%));
22
+ background-color: var(--bg-col);
23
+ }
24
+
25
+ .demo-navbar img.primary {
26
+ max-height: 32px;
27
+ margin-left: 0.75rem;
28
+ }
29
+ </style >
Original file line number Diff line number Diff line change 1
1
---
2
+ import DemoNavBar from ' ~components/DemoNavBar.astro' ;
3
+
2
4
export interface Props {
3
5
title: string ;
4
6
}
@@ -16,9 +18,11 @@ const {title} = Astro.props;
16
18
<title >2.5d lookbook • { title } demo</title >
17
19
</head >
18
20
<body >
21
+ <DemoNavBar />
19
22
<slot />
20
23
</body >
21
24
</html >
25
+
22
26
<style is:global >
23
27
html {
24
28
font-family: system-ui, sans-serif;
Original file line number Diff line number Diff line change 1
1
---
2
+ import DemoNavBar from ' ~components/DemoNavBar.astro' ;
3
+
2
4
export interface Props {
3
5
title: string ;
4
6
}
@@ -16,6 +18,7 @@ const {title} = Astro.props;
16
18
<title >2.5d lookbook • { title } demo</title >
17
19
</head >
18
20
<body >
21
+ <DemoNavBar />
19
22
<slot />
20
23
</body >
21
24
</html >
You can’t perform that action at this time.
0 commit comments