@pradip1995/theme-valero 1.0.1 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 600" preserveAspectRatio="xMidYMid slice">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="hero" x1="0%" y1="0%" x2="100%" y2="0%">
|
|
4
|
+
<stop offset="0%" stop-color="#dbeafe"/>
|
|
5
|
+
<stop offset="100%" stop-color="#93c5fd"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="1440" height="600" fill="url(#hero)"/>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 960" preserveAspectRatio="xMidYMid slice">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="hero-m" x1="0%" y1="0%" x2="0%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#dbeafe"/>
|
|
5
|
+
<stop offset="100%" stop-color="#93c5fd"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="750" height="960" fill="url(#hero-m)"/>
|
|
9
|
+
</svg>
|
package/assets/logo.svg
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pradip1995/theme-valero",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "Valero Medusa storefront theme — Impulse-inspired design tokens and components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"**/*.css"
|
|
17
17
|
],
|
|
18
18
|
"files": [
|
|
19
|
-
"src"
|
|
19
|
+
"src",
|
|
20
|
+
"assets"
|
|
20
21
|
],
|
|
21
22
|
"exports": {
|
|
22
23
|
"./tokens/theme.css": "./src/tokens/theme.css",
|
|
@@ -30,8 +31,8 @@
|
|
|
30
31
|
"./*": "./src/*"
|
|
31
32
|
},
|
|
32
33
|
"peerDependencies": {
|
|
33
|
-
"@pradip1995/commerce-auth": "^1.
|
|
34
|
-
"@pradip1995/commerce-core": "^1.
|
|
34
|
+
"@pradip1995/commerce-auth": "^1.1.5",
|
|
35
|
+
"@pradip1995/commerce-core": "^1.1.5",
|
|
35
36
|
"@medusajs/types": ">=2",
|
|
36
37
|
"@medusajs/ui": ">=4",
|
|
37
38
|
"color": ">=5",
|
|
@@ -40,6 +41,8 @@
|
|
|
40
41
|
"react-dom": ">=19"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
44
|
+
"@pradip1995/commerce-auth": "^1.1.5",
|
|
45
|
+
"@pradip1995/commerce-core": "^1.1.5",
|
|
43
46
|
"@medusajs/types": "latest",
|
|
44
47
|
"@medusajs/ui": "latest",
|
|
45
48
|
"@types/color": "^4.2.0",
|
|
@@ -48,9 +51,7 @@
|
|
|
48
51
|
"next": "15.3.8",
|
|
49
52
|
"react": "19.0.3",
|
|
50
53
|
"react-dom": "19.0.3",
|
|
51
|
-
"typescript": "^5.7.2"
|
|
52
|
-
"@pradip1995/commerce-auth": "1.0.1",
|
|
53
|
-
"@pradip1995/commerce-core": "1.0.1"
|
|
54
|
+
"typescript": "^5.7.2"
|
|
54
55
|
},
|
|
55
56
|
"scripts": {
|
|
56
57
|
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
|
|
@@ -3,7 +3,7 @@ import LocalizedClientLink from "@modules/common/components/localized-client-lin
|
|
|
3
3
|
import type { HeroBlockData } from "@core/types/home"
|
|
4
4
|
|
|
5
5
|
const Hero = ({ homeBanner, appBanner }: HeroBlockData) => {
|
|
6
|
-
const desktopImage = homeBanner.image
|
|
6
|
+
const desktopImage = homeBanner.image!
|
|
7
7
|
const mobileImage = appBanner.image || desktopImage
|
|
8
8
|
|
|
9
9
|
return (
|