@@ -23352,7 +23352,16 @@ __webpack_require__.r(__webpack_exports__);
2335223352 setup: function setup(__props, _ref) {
2335323353 var __expose = _ref.expose;
2335423354 __expose();
23355- var carouselImages = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(['/images/Hero.jpg', '/images/Hero.jpg', '/images/Hero.jpg']);
23355+ var carouselImages = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)([{
23356+ src: '/images/Hero.jpg',
23357+ text: 'MacBook Air 12 In Store now!'
23358+ }, {
23359+ src: '/images/Hero.jpg',
23360+ text: 'MacBook Air 13 In Store now!'
23361+ }, {
23362+ src: '/images/Hero.jpg',
23363+ text: 'MacBook Air 14 In Store now!'
23364+ }]);
2335623365 var __returned__ = {
2335723366 carouselImages: carouselImages,
2335823367 ref: vue__WEBPACK_IMPORTED_MODULE_0__.ref
@@ -24170,7 +24179,13 @@ __webpack_require__.r(__webpack_exports__);
2417024179/* harmony export */ });
2417124180/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
2417224181
24173- var _hoisted_1 = ["src", "alt"];
24182+ var _hoisted_1 = {
24183+ "class": "relative"
24184+ };
24185+ var _hoisted_2 = ["src", "alt"];
24186+ var _hoisted_3 = {
24187+ "class": "z-40 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 p-4 text-2xl text-black bg-white rounded-lg mt-4 hidden md:block"
24188+ };
2417424189function render(_ctx, _cache, $props, $setup, $data, $options) {
2417524190 return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup["Swiper"], {
2417624191 navigation: true,
@@ -24183,11 +24198,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2418324198 key: index
2418424199 }, {
2418524200 "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () {
24186- return [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("img", {
24187- src: image,
24188- alt: 'Image ' + (index + 1)
24189- }, null, 8 /* PROPS */, _hoisted_1)];
24201+ return [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("div", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("img", {
24202+ src: image.src,
24203+ alt: 'Image ' + (index + 1),
24204+ "class": "w-full object-cover"
24205+ }, null, 8 /* PROPS */, _hoisted_2), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("span", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(image.text), 1 /* TEXT */)])];
2419024206 }),
24207+
2419124208 _: 2 /* DYNAMIC */
2419224209 }, 1024 /* DYNAMIC_SLOTS */);
2419324210 }), 128 /* KEYED_FRAGMENT */))];
0 commit comments