← Back
Editing: Cta.e841e5f4.js
import{l as w}from"./index.44a18132.js";import{u as x}from"./AddonConditions.ba46bc5e.js";import{C as b}from"./Blur.3966b67d.js";import{C}from"./SettingsRow.74286c2c.js";import{C as S}from"./Index.cb9ff477.js";import"./translations.d159963e.js";import{_ as v}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as o}from"./default-i18n.20001971.js";import{x as r,o as p,c as T,C as n,m as i,a as k,t as f,y as B,f as A,l as y,u as a,v as I}from"./runtime-dom.esm-bundler.647fa2bb.js";import{C as L}from"./Card.7e975fe9.js";const u="all-in-one-seo-pack",O={components:{CoreBlur:b,CoreSettingsRow:C,CoreUiElementSlider:S},data(){return{strings:{description:o("Integrating with Google Maps will allow your users to find exactly where your business is located. Our interactive maps let them see your Google Reviews and get directions directly from your site. Create multiple maps for use with multiple locations.",u),apiKey:o("API Key",u),mapPreview:o("Map Preview",u)},displayInfo:{block:{copy:"",desc:""}}}}},E={class:"aioseo-maps-blur"},M={class:"aioseo-settings-row"};function P(s,t,m,d,e,_){const c=r("base-input"),l=r("core-settings-row"),g=r("core-ui-element-slider"),h=r("core-blur");return p(),T("div",E,[n(h,null,{default:i(()=>[k("div",M,f(e.strings.description),1),n(l,{name:e.strings.apiKey,align:""},{content:i(()=>[n(c,{size:"medium"})]),_:1},8,["name"]),n(g,{options:e.displayInfo},null,8,["options"]),n(l,{name:e.strings.mapPreview,align:""},{content:i(()=>[B(f(e.strings.description),1)]),_:1},8,["name"])]),_:1})])}const D=v(O,[["render",P]]),j={__name:"Cta",props:{cardSlug:{type:String,required:!0},headerText:{type:String,required:!0},alignTop:Boolean},setup(s){const t="aioseo-pro",{ctaComponent:m,shouldShowUpdate:d}=x({addonSlug:"aioseo-local-business"}),e={locationSeoHeader:o("Enable Local SEO on Your Site",t),ctaDescription:o("Local Business schema markup informs Google about your business details like name, address, phone number, hours, and price range, which can appear in a Knowledge Graph card or business carousel.",t),learnMoreText:o("Learn more about Local SEO",t),showOpeningHours:o("Show Opening Hours",t),googleMaps:o("Google Maps",t),businessType:o("Type",t),businessContact:o("Contact Info",t),paymentInfo:o("Payment Info",t),image:o("Image",t)},_=A(()=>d.value?o("Update Local SEO",t):o("Activate Local SEO",t)),c=()=>{window.location.reload()};return(l,g)=>(p(),y(a(L),{slug:s.cardSlug,"header-text":s.headerText,noSlide:!0},{default:i(()=>[n(a(D)),(p(),y(I(a(m)),{"addon-slug":"aioseo-local-business","cta-header":e.locationSeoHeader,"cta-description":e.ctaDescription,"cta-button-text":_.value,"learn-more-text":e.learnMoreText,"learn-more-link":a(w).getDocUrl("localSeo"),"feature-list":[e.businessType,e.businessContact,e.paymentInfo,e.image,e.showOpeningHours,e.googleMaps],onAddonActivated:c,"align-top":s.alignTop},null,40,["cta-header","cta-description","cta-button-text","learn-more-text","learn-more-link","feature-list","align-top"]))]),_:1},8,["slug","header-text"]))}};export{D as B,j as _};
Save File
Cancel