@appcorp/app-corp-vista 0.2.14 → 0.2.15
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.
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { VistaPromoSectionV4Props } from '../../type/vista-promo-section-type';
|
|
3
|
+
export declare const VistaPromoSectionV4: FC<VistaPromoSectionV4Props>;
|
|
@@ -5,18 +5,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.VistaPromoSectionV4 = void 0;
|
|
7
7
|
var react_1 = __importDefault(require("react"));
|
|
8
|
-
var VistaPromoSectionV4 = function () {
|
|
8
|
+
var VistaPromoSectionV4 = function (_a) {
|
|
9
|
+
var bannerAlt = _a.bannerAlt, bannerSrc = _a.bannerSrc, buttonLabel = _a.buttonLabel, descriptions = _a.descriptions, title = _a.title;
|
|
9
10
|
return (react_1.default.createElement("div", { className: "bg-white" },
|
|
10
11
|
react_1.default.createElement("div", { className: "mx-auto max-w-7xl px-4 py-16 sm:px-6 sm:py-24 lg:px-8" },
|
|
11
12
|
react_1.default.createElement("div", { className: "relative overflow-hidden rounded-lg" },
|
|
12
13
|
react_1.default.createElement("div", { className: "absolute inset-0" },
|
|
13
|
-
react_1.default.createElement("img", { alt:
|
|
14
|
-
react_1.default.createElement("div", { className: "relative bg-gray-
|
|
14
|
+
react_1.default.createElement("img", { alt: bannerAlt, className: "size-full object-cover", src: bannerSrc })),
|
|
15
|
+
react_1.default.createElement("div", { className: "relative bg-gray-primary/60 px-6 py-32 sm:px-12 sm:py-40 lg:px-16" },
|
|
15
16
|
react_1.default.createElement("div", { className: "relative mx-auto flex max-w-3xl flex-col items-center text-center" },
|
|
16
|
-
react_1.default.createElement("h2", { className: "text-3xl font-bold tracking-tight text-white sm:text-4xl" },
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
react_1.default.createElement("p", { className: "mt-3 text-xl text-white" }, "Make your desk beautiful and organized. Post a picture to social media and watch it get more likes than life-changing announcements. Reflect on the shallow nature of existence. At least you have a really nice desk setup."),
|
|
20
|
-
react_1.default.createElement("a", { href: "#", className: "mt-8 block w-full rounded-md border border-transparent bg-white px-8 py-3 text-base font-medium text-gray-900 hover:bg-gray-100 sm:w-auto" }, "Shop Workspace")))))));
|
|
17
|
+
react_1.default.createElement("h2", { className: "text-3xl font-bold tracking-tight text-white sm:text-4xl" }, title),
|
|
18
|
+
descriptions.map(function (text, ind) { return (react_1.default.createElement("p", { key: ind, className: "mt-3 text-xl text-white" }, text)); }),
|
|
19
|
+
buttonLabel && (react_1.default.createElement("a", { href: "#", className: "mt-8 block w-full rounded-md border border-transparent bg-white px-8 py-3 text-base font-medium text-gray-900 hover:bg-gray-100 sm:w-auto" }, buttonLabel))))))));
|
|
21
20
|
};
|
|
22
21
|
exports.VistaPromoSectionV4 = VistaPromoSectionV4;
|
package/package.json
CHANGED
|
@@ -8,7 +8,11 @@ export interface VistaPromoSectionV3Props {
|
|
|
8
8
|
id: string;
|
|
9
9
|
}
|
|
10
10
|
export interface VistaPromoSectionV4Props {
|
|
11
|
-
|
|
11
|
+
bannerAlt: string;
|
|
12
|
+
bannerSrc: string;
|
|
13
|
+
buttonLabel?: string;
|
|
14
|
+
descriptions: string[];
|
|
15
|
+
title: string;
|
|
12
16
|
}
|
|
13
17
|
export interface VistaPromoSectionV5Props {
|
|
14
18
|
id: string;
|