Spaces:
Runtime error
Runtime error
Esteves Enzo
commited on
Commit
·
8d1be70
1
Parent(s):
f70f266
try new header
Browse files- .DS_Store +0 -0
- assets/.DS_Store +0 -0
- assets/images/.DS_Store +0 -0
- assets/images/header.svg +0 -0
- assets/images/header_illustration.webp +0 -0
- components/header.tsx +4 -3
- components/main/index.tsx +13 -13
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
assets/.DS_Store
CHANGED
Binary files a/assets/.DS_Store and b/assets/.DS_Store differ
|
|
assets/images/.DS_Store
CHANGED
Binary files a/assets/images/.DS_Store and b/assets/images/.DS_Store differ
|
|
assets/images/header.svg
DELETED
assets/images/header_illustration.webp
ADDED
![]() |
components/header.tsx
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
"use client";
|
2 |
import Image from "next/image";
|
3 |
|
4 |
-
import HeaderImage from "@/assets/images/
|
5 |
|
6 |
import { useInputGeneration } from "@/components/main/hooks/useInputGeneration";
|
7 |
import classNames from "classnames";
|
@@ -33,9 +33,10 @@ export const Header = () => {
|
|
33 |
</div>
|
34 |
<Image
|
35 |
src={HeaderImage}
|
36 |
-
alt="
|
37 |
-
className="absolute
|
38 |
/>
|
|
|
39 |
</div>
|
40 |
<div className="absolute bottom-0 w-full h-full left-0 bg-gradient-to-b from-transparent to-black z-[1]" />
|
41 |
</div>
|
|
|
1 |
"use client";
|
2 |
import Image from "next/image";
|
3 |
|
4 |
+
import HeaderImage from "@/assets/images/header_illustration.webp";
|
5 |
|
6 |
import { useInputGeneration } from "@/components/main/hooks/useInputGeneration";
|
7 |
import classNames from "classnames";
|
|
|
33 |
</div>
|
34 |
<Image
|
35 |
src={HeaderImage}
|
36 |
+
alt="Demo generated images"
|
37 |
+
className="absolute h-full top-0 object-contain hidden lg:block right-0 xl:right-44 object-left"
|
38 |
/>
|
39 |
+
<div className="absolute w-full lg:w-1/3 right-0 xl:right-44 -bottom-32 lg:-bottom-32 bg-gradient-to-br from-blue-500 to-pink-500 blur-3xl lg:blur-[130px] h-full z-[-1]"></div>
|
40 |
</div>
|
41 |
<div className="absolute bottom-0 w-full h-full left-0 bg-gradient-to-b from-transparent to-black z-[1]" />
|
42 |
</div>
|
components/main/index.tsx
CHANGED
@@ -52,20 +52,20 @@ export const Main = () => {
|
|
52 |
))}
|
53 |
</div>
|
54 |
</div>
|
55 |
-
<p
|
56 |
-
className="text-white/70 font-medium text-sm flex items-center justify-start gap-2 hover:text-white cursor-pointer mt-3"
|
57 |
-
onClick={() => setAdvancedSettings(!advancedSettings)}
|
58 |
-
>
|
59 |
-
<HiAdjustmentsHorizontal className="w-5 h-5" />
|
60 |
-
Advanced settings
|
61 |
-
</p>
|
62 |
-
<Settings
|
63 |
-
open={advancedSettings}
|
64 |
-
style={style}
|
65 |
-
setStyle={setStyle}
|
66 |
-
list_styles={list_styles}
|
67 |
-
/>
|
68 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
<Collections category={category} />
|
70 |
</main>
|
71 |
);
|
|
|
52 |
))}
|
53 |
</div>
|
54 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
</div>
|
56 |
+
<p
|
57 |
+
className="text-white/70 font-medium text-sm flex items-center justify-center lg:justify-start gap-2 hover:text-white cursor-pointer mt-3"
|
58 |
+
onClick={() => setAdvancedSettings(!advancedSettings)}
|
59 |
+
>
|
60 |
+
<HiAdjustmentsHorizontal className="w-5 h-5" />
|
61 |
+
Advanced settings
|
62 |
+
</p>
|
63 |
+
<Settings
|
64 |
+
open={advancedSettings}
|
65 |
+
style={style}
|
66 |
+
setStyle={setStyle}
|
67 |
+
list_styles={list_styles}
|
68 |
+
/>
|
69 |
<Collections category={category} />
|
70 |
</main>
|
71 |
);
|