@appcorp/app-corp-vista 0.2.3 → 0.2.4

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,2 @@
1
+ import React from 'react';
2
+ export declare const VistaIncentiveV1: () => React.JSX.Element;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VistaIncentiveV1 = void 0;
7
+ var react_1 = __importDefault(require("react"));
8
+ var incentives = [
9
+ {
10
+ name: 'Free shipping',
11
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-shipping-simple.svg',
12
+ description: "It's not actually free we just price it into the products. Someone's paying for it, and it's not us.",
13
+ },
14
+ {
15
+ name: '10-year warranty',
16
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-warranty-simple.svg',
17
+ description: "If it breaks in the first 10 years we'll replace it. After that you're on your own though.",
18
+ },
19
+ {
20
+ name: 'Exchanges',
21
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-exchange-simple.svg',
22
+ description: "If you don't like it, trade it to one of your friends for something of theirs. Don't send it here though.",
23
+ },
24
+ ];
25
+ var VistaIncentiveV1 = function () {
26
+ return (react_1.default.createElement("div", { className: "bg-gray-50" },
27
+ react_1.default.createElement("div", { className: "mx-auto max-w-7xl py-24 sm:px-2 sm:py-32 lg:px-4" },
28
+ react_1.default.createElement("div", { className: "mx-auto max-w-2xl px-4 lg:max-w-none" },
29
+ react_1.default.createElement("div", { className: "grid grid-cols-1 items-center gap-x-16 gap-y-10 lg:grid-cols-2" },
30
+ react_1.default.createElement("div", null,
31
+ react_1.default.createElement("h2", { className: "text-4xl font-bold tracking-tight text-gray-900" }, "We built our business on great customer service"),
32
+ react_1.default.createElement("p", { className: "mt-4 text-gray-500" }, "At the beginning at least, but then we realized we could make a lot more money if we kinda stopped caring about that. Our new strategy is to write a bunch of things that look really good in the headlines, then clarify in the small print but hope people dont actually read it.")),
33
+ react_1.default.createElement("img", { alt: "", src: "https://tailwindcss.com/plus-assets/img/ecommerce-images/incentives-07-hero.jpg", className: "aspect-3/2 w-full rounded-lg bg-gray-100 object-cover" })),
34
+ react_1.default.createElement("div", { className: "mt-16 grid grid-cols-1 gap-x-8 gap-y-10 lg:grid-cols-3" }, incentives.map(function (incentive) { return (react_1.default.createElement("div", { key: incentive.name, className: "sm:flex lg:block" },
35
+ react_1.default.createElement("div", { className: "sm:shrink-0" },
36
+ react_1.default.createElement("img", { alt: "", src: incentive.imageSrc, className: "size-16" })),
37
+ react_1.default.createElement("div", { className: "mt-4 sm:mt-0 sm:ml-6 lg:mt-6 lg:ml-0" },
38
+ react_1.default.createElement("h3", { className: "text-sm font-medium text-gray-900" }, incentive.name),
39
+ react_1.default.createElement("p", { className: "mt-2 text-sm text-gray-500" }, incentive.description)))); }))))));
40
+ };
41
+ exports.VistaIncentiveV1 = VistaIncentiveV1;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const VistaIncentiveV2: () => React.JSX.Element;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VistaIncentiveV2 = void 0;
7
+ var react_1 = __importDefault(require("react"));
8
+ var incentives = [
9
+ {
10
+ name: 'Free Shipping',
11
+ description: "It's not actually free we just price it into the products. Someone's paying for it, and it's not us.",
12
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-delivery-light.svg',
13
+ },
14
+ {
15
+ name: '24/7 Customer Support',
16
+ description: 'Our AI chat widget is powered by a naive series of if/else statements. Guaranteed to irritate.',
17
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-chat-light.svg',
18
+ },
19
+ {
20
+ name: 'Fast Shopping Cart',
21
+ description: "Look how fast that cart is going. What does this mean for the actual experience? I don't know.",
22
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-fast-checkout-light.svg',
23
+ },
24
+ {
25
+ name: 'Gift Cards',
26
+ description: "Buy them for your friends, especially if they don't like our store. Free money for us, it's great.",
27
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-gift-card-light.svg',
28
+ },
29
+ ];
30
+ var VistaIncentiveV2 = function () {
31
+ return (react_1.default.createElement("div", { className: "bg-gray-50" },
32
+ react_1.default.createElement("div", { className: "mx-auto max-w-2xl px-4 py-24 sm:px-6 sm:py-32 lg:max-w-7xl lg:px-8" },
33
+ react_1.default.createElement("div", { className: "grid grid-cols-1 gap-y-12 sm:grid-cols-2 sm:gap-x-6 lg:grid-cols-4 lg:gap-x-8" }, incentives.map(function (incentive) { return (react_1.default.createElement("div", { key: incentive.name },
34
+ react_1.default.createElement("img", { alt: "", src: incentive.imageSrc, className: "h-24 w-auto" }),
35
+ react_1.default.createElement("h3", { className: "mt-6 text-sm font-medium text-gray-900" }, incentive.name),
36
+ react_1.default.createElement("p", { className: "mt-2 text-sm text-gray-500" }, incentive.description))); })))));
37
+ };
38
+ exports.VistaIncentiveV2 = VistaIncentiveV2;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const VistaIncentiveV3: () => React.JSX.Element;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VistaIncentiveV3 = void 0;
7
+ var react_1 = __importDefault(require("react"));
8
+ var incentives = [
9
+ {
10
+ name: 'Free shipping',
11
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-shipping-simple.svg',
12
+ description: "It's not actually free we just price it into the products. Someone's paying for it, and it's not us.",
13
+ },
14
+ {
15
+ name: '10-year warranty',
16
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-warranty-simple.svg',
17
+ description: "If it breaks in the first 10 years we'll replace it. After that you're on your own though.",
18
+ },
19
+ {
20
+ name: 'Exchanges',
21
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-exchange-simple.svg',
22
+ description: "If you don't like it, trade it to one of your friends for something of theirs. Don't send it here though.",
23
+ },
24
+ ];
25
+ var VistaIncentiveV3 = function () {
26
+ return (react_1.default.createElement("div", { className: "bg-white" },
27
+ react_1.default.createElement("div", { className: "mx-auto max-w-7xl py-24 sm:px-2 sm:py-32 lg:px-4" },
28
+ react_1.default.createElement("div", { className: "mx-auto max-w-2xl px-4 lg:max-w-none" },
29
+ react_1.default.createElement("div", { className: "max-w-3xl" },
30
+ react_1.default.createElement("h2", { className: "text-4xl font-bold tracking-tight text-gray-900" }, "We built our business on customer service"),
31
+ react_1.default.createElement("p", { className: "mt-4 text-gray-500" }, "At the beginning at least, but then we realized we could make a lot more money if we kinda stopped caring about that. Our new strategy is to write a bunch of things that look really good in the headlines, then clarify in the small print but hope people dont actually read it.")),
32
+ react_1.default.createElement("div", { className: "mt-16 grid grid-cols-1 gap-x-8 gap-y-10 lg:grid-cols-3" }, incentives.map(function (incentive) { return (react_1.default.createElement("div", { key: incentive.name, className: "sm:flex lg:block" },
33
+ react_1.default.createElement("div", { className: "sm:shrink-0" },
34
+ react_1.default.createElement("img", { alt: "", src: incentive.imageSrc, className: "size-16" })),
35
+ react_1.default.createElement("div", { className: "mt-4 sm:mt-0 sm:ml-6 lg:mt-6 lg:ml-0" },
36
+ react_1.default.createElement("h3", { className: "text-sm font-medium text-gray-900" }, incentive.name),
37
+ react_1.default.createElement("p", { className: "mt-2 text-sm text-gray-500" }, incentive.description)))); }))))));
38
+ };
39
+ exports.VistaIncentiveV3 = VistaIncentiveV3;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const VistaIncentiveV4: () => React.JSX.Element;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VistaIncentiveV4 = void 0;
7
+ var react_1 = __importDefault(require("react"));
8
+ var incentives = [
9
+ {
10
+ name: 'Free Shipping',
11
+ description: "It's not actually free we just price it into the products. Someone's paying for it, and it's not us.",
12
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-delivery-light.svg',
13
+ },
14
+ {
15
+ name: '24/7 Customer Support',
16
+ description: 'Our AI chat widget is powered by a naive series of if/else statements. Guaranteed to irritate.',
17
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-chat-light.svg',
18
+ },
19
+ {
20
+ name: 'Fast Shopping Cart',
21
+ description: "Look how fast that cart is going. What does this mean for the actual experience? I don't know.",
22
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-fast-checkout-light.svg',
23
+ },
24
+ ];
25
+ var VistaIncentiveV4 = function () {
26
+ return (react_1.default.createElement("div", { className: "bg-gray-50" },
27
+ react_1.default.createElement("div", { className: "mx-auto max-w-7xl py-24 sm:px-2 sm:py-32 lg:px-4" },
28
+ react_1.default.createElement("div", { className: "mx-auto grid max-w-2xl grid-cols-1 gap-x-8 gap-y-10 px-4 lg:max-w-none lg:grid-cols-3" }, incentives.map(function (incentive) { return (react_1.default.createElement("div", { key: incentive.name, className: "text-center sm:flex sm:text-left lg:block lg:text-center" },
29
+ react_1.default.createElement("div", { className: "sm:shrink-0" },
30
+ react_1.default.createElement("div", { className: "flow-root" },
31
+ react_1.default.createElement("img", { alt: "", src: incentive.imageSrc, className: "mx-auto h-24 w-28" }))),
32
+ react_1.default.createElement("div", { className: "mt-3 sm:mt-0 sm:ml-3 lg:mt-3 lg:ml-0" },
33
+ react_1.default.createElement("h3", { className: "text-sm font-medium text-gray-900" }, incentive.name),
34
+ react_1.default.createElement("p", { className: "mt-2 text-sm text-gray-500" }, incentive.description)))); })))));
35
+ };
36
+ exports.VistaIncentiveV4 = VistaIncentiveV4;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const VistaIncentiveV5: () => React.JSX.Element;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VistaIncentiveV5 = void 0;
7
+ var react_1 = __importDefault(require("react"));
8
+ var incentives = [
9
+ {
10
+ name: 'Free shipping',
11
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-shipping-simple.svg',
12
+ description: "It's not actually free we just price it into the products. Someone's paying for it, and it's not us.",
13
+ },
14
+ {
15
+ name: '10-year warranty',
16
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-warranty-simple.svg',
17
+ description: "If it breaks in the first 10 years we'll replace it. After that you're on your own though.",
18
+ },
19
+ {
20
+ name: 'Exchanges',
21
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-exchange-simple.svg',
22
+ description: "If you don't like it, trade it to one of your friends for something of theirs. Don't send it here though.",
23
+ },
24
+ ];
25
+ var VistaIncentiveV5 = function () {
26
+ return (react_1.default.createElement("div", { className: "bg-white" },
27
+ react_1.default.createElement("div", { className: "mx-auto max-w-7xl px-4 py-24 sm:px-6 lg:px-8" },
28
+ react_1.default.createElement("div", { className: "rounded-2xl bg-gray-50 px-6 py-16 sm:p-16" },
29
+ react_1.default.createElement("div", { className: "mx-auto max-w-xl lg:max-w-none" },
30
+ react_1.default.createElement("div", { className: "text-center" },
31
+ react_1.default.createElement("h2", { className: "text-2xl font-bold tracking-tight text-gray-900" }, "We built our business on customer service")),
32
+ react_1.default.createElement("div", { className: "mx-auto mt-12 grid max-w-sm grid-cols-1 gap-x-8 gap-y-10 sm:max-w-none lg:grid-cols-3" }, incentives.map(function (incentive) { return (react_1.default.createElement("div", { key: incentive.name, className: "text-center sm:flex sm:text-left lg:block lg:text-center" },
33
+ react_1.default.createElement("div", { className: "sm:shrink-0" },
34
+ react_1.default.createElement("div", { className: "flow-root" },
35
+ react_1.default.createElement("img", { alt: "", src: incentive.imageSrc, className: "mx-auto size-16" }))),
36
+ react_1.default.createElement("div", { className: "mt-3 sm:mt-0 sm:ml-6 lg:mt-6 lg:ml-0" },
37
+ react_1.default.createElement("h3", { className: "text-sm font-medium text-gray-900" }, incentive.name),
38
+ react_1.default.createElement("p", { className: "mt-2 text-sm text-gray-500" }, incentive.description)))); })))))));
39
+ };
40
+ exports.VistaIncentiveV5 = VistaIncentiveV5;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const VistaIncentiveV6: () => React.JSX.Element;
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VistaIncentiveV6 = void 0;
7
+ var react_1 = __importDefault(require("react"));
8
+ var perks = [
9
+ {
10
+ name: 'Free delivery',
11
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-delivery-light.svg',
12
+ description: "Order now and you'll get delivery absolutely free. Well, it's not actually free, we just price it into the products. Someone's paying for it, and it's not us.",
13
+ },
14
+ {
15
+ name: '10-year warranty',
16
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-warranty-light.svg',
17
+ description: "We have a 10 year warranty with every product that you purchase, whether thats a new pen or organizer, you can be sure we'll stand behind it.",
18
+ },
19
+ {
20
+ name: 'Exchanges',
21
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-returns-light.svg',
22
+ description: 'We understand that when your product arrives you might not particularly like it, or you ordered the wrong thing. Conditions apply here.',
23
+ },
24
+ {
25
+ name: 'For the planet',
26
+ imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce/icons/icon-planet-light.svg',
27
+ description: "Like you, we love the planet, and so we've pledged 1% of all sales to the preservation and restoration of the natural environment.",
28
+ },
29
+ ];
30
+ var VistaIncentiveV6 = function () {
31
+ return (react_1.default.createElement("div", { className: "bg-gray-50" },
32
+ react_1.default.createElement("h2", { className: "sr-only" }, "Our perks"),
33
+ react_1.default.createElement("div", { className: "mx-auto max-w-7xl py-24 sm:px-2 sm:py-32 lg:px-4" },
34
+ react_1.default.createElement("div", { className: "mx-auto grid max-w-2xl grid-cols-1 gap-x-8 gap-y-12 px-4 lg:max-w-none lg:grid-cols-2 lg:gap-y-16" }, perks.map(function (perk) { return (react_1.default.createElement("div", { key: perk.name, className: "sm:flex" },
35
+ react_1.default.createElement("div", { className: "sm:shrink-0" },
36
+ react_1.default.createElement("div", { className: "flow-root" },
37
+ react_1.default.createElement("img", { alt: "", src: perk.imageSrc, className: "h-24 w-28" }))),
38
+ react_1.default.createElement("div", { className: "mt-3 sm:mt-0 sm:ml-3" },
39
+ react_1.default.createElement("h3", { className: "text-sm font-medium text-gray-900" }, perk.name),
40
+ react_1.default.createElement("p", { className: "mt-2 text-sm text-gray-500" }, perk.description)))); })))));
41
+ };
42
+ exports.VistaIncentiveV6 = VistaIncentiveV6;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const VistaIncentiveV7: () => React.JSX.Element;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VistaIncentiveV7 = void 0;
7
+ var react_1 = __importDefault(require("react"));
8
+ var outline_1 = require("@heroicons/react/24/outline");
9
+ var perks = [
10
+ { name: '10-year all-inclusive warranty', description: 'We’ll replace it with a new one', icon: outline_1.CalendarIcon },
11
+ { name: 'Free shipping on returns', description: 'Send it back for free', icon: outline_1.ArrowPathIcon },
12
+ { name: 'Free, contactless delivery', description: 'The shipping is on us', icon: outline_1.TruckIcon },
13
+ ];
14
+ var VistaIncentiveV7 = function () {
15
+ return (react_1.default.createElement("div", { className: "bg-white" },
16
+ react_1.default.createElement("h2", { className: "sr-only" }, "Our perks"),
17
+ react_1.default.createElement("div", { className: "mx-auto max-w-7xl divide-y divide-gray-200 lg:flex lg:justify-center lg:divide-x lg:divide-y-0 lg:py-8" }, perks.map(function (perk, perkIdx) { return (react_1.default.createElement("div", { key: perkIdx, className: "py-8 lg:w-1/3 lg:flex-none lg:py-0" },
18
+ react_1.default.createElement("div", { className: "mx-auto flex max-w-xs items-center px-4 lg:max-w-none lg:px-8" },
19
+ react_1.default.createElement(perk.icon, { "aria-hidden": "true", className: "size-8 shrink-0 text-indigo-600" }),
20
+ react_1.default.createElement("div", { className: "ml-4 flex flex-auto flex-col-reverse" },
21
+ react_1.default.createElement("h3", { className: "font-medium text-gray-900" }, perk.name),
22
+ react_1.default.createElement("p", { className: "text-sm text-gray-500" }, perk.description))))); }))));
23
+ };
24
+ exports.VistaIncentiveV7 = VistaIncentiveV7;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const VistaIncentiveV8: () => React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VistaIncentiveV8 = void 0;
7
+ var react_1 = __importDefault(require("react"));
8
+ var outline_1 = require("@heroicons/react/24/outline");
9
+ var incentives = [
10
+ { name: 'Free, contactless delivery', icon: outline_1.TruckIcon },
11
+ { name: 'No questions asked returns', icon: outline_1.CheckBadgeIcon },
12
+ { name: '2-year warranty', icon: outline_1.CalendarIcon },
13
+ ];
14
+ var VistaIncentiveV8 = function () {
15
+ return (react_1.default.createElement("div", { className: "bg-white" },
16
+ react_1.default.createElement("h2", { className: "sr-only" }, "Why you should buy from us"),
17
+ react_1.default.createElement("div", { className: "flex overflow-x-auto" },
18
+ react_1.default.createElement("div", { className: "mx-auto flex space-x-12 px-4 py-3 whitespace-nowrap sm:px-6 lg:space-x-24 lg:px-8" }, incentives.map(function (incentive) { return (react_1.default.createElement("div", { key: incentive.name, className: "flex items-center text-sm font-medium text-indigo-600" },
19
+ react_1.default.createElement(incentive.icon, { "aria-hidden": "true", className: "mr-2 size-6 flex-none" }),
20
+ react_1.default.createElement("p", null, incentive.name))); })))));
21
+ };
22
+ exports.VistaIncentiveV8 = VistaIncentiveV8;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib",
6
6
  "build:next": "next build",
@@ -0,0 +1,24 @@
1
+ export interface VistaIncentiveV1Props {
2
+ id: string;
3
+ }
4
+ export interface VistaIncentiveV2Props {
5
+ id: string;
6
+ }
7
+ export interface VistaIncentiveV3Props {
8
+ id: string;
9
+ }
10
+ export interface VistaIncentiveV4Props {
11
+ id: string;
12
+ }
13
+ export interface VistaIncentiveV5Props {
14
+ id: string;
15
+ }
16
+ export interface VistaIncentiveV6Props {
17
+ id: string;
18
+ }
19
+ export interface VistaIncentiveV7Props {
20
+ id: string;
21
+ }
22
+ export interface VistaIncentiveV8Props {
23
+ id: string;
24
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });