Ngiler SH3LL 360
Home
Information
Create File
Create Folder
:
/
home
/
tbf
/
tbfguest.tbf.ro
/
src
/
stores
/
Information Server
MySQL :
OFF
Perl :
OFF
CURL :
ON
WGET :
OFF
PKEXEC :
OFF
Directive
Local Value
IP Address
89.40.16.97
System
Linux server.atelieruldeit.ro 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
User
tbf
PHP Version
7.3.33
Software
Apache
Doc root
Writable
close
Edit File :
landing.js
| Size :
2.80
KB
Copy
import { ref } from "vue"; import { defineStore } from "pinia"; export const useLandingStore = defineStore("landing", () => { const state = { section_1_1_headline: ref(""), section_1_1_subHeadline: ref(""), section_1_1_ctaPrimary: ref(""), section_1_1_ctaSecondary: ref(""), section_1_1_image: ref(""), section_1_2_headline: ref(""), section_1_2_subHeadline: ref(""), section_1_2_benefit_0_title: ref(""), section_1_2_benefit_0_description: ref(""), section_1_2_benefit_1_title: ref(""), section_1_2_benefit_1_description: ref(""), section_1_2_benefit_2_title: ref(""), section_1_2_benefit_2_description: ref(""), section_1_2_benefit_3_title: ref(""), section_1_2_benefit_3_description: ref(""), section_1_3_headline: ref(""), section_1_3_subHeadline: ref(""), section_1_3_image: ref(""), section_1_3_statistics: ref([]), section_1_4_headline: ref(""), section_1_4_subHeadline: ref(""), section_1_4_ctaPrimary: ref(""), section_1_4_ctaSecondary: ref(""), section_2_1_testimonial: ref(""), section_2_1_nume_testimonial: ref(""), section_2_1_functie_testimonial: ref(""), section_2_1_image: ref(""), section_2_2_enabled: ref(true), section_2_2_headline: ref(""), section_2_2_subheadline: ref(""), section_2_2_image: ref(""), section_2_2_products: ref([]), section_2_3_headline: ref(""), section_2_3_subHeadline: ref(""), section_2_3_image: ref(""), section_2_3_diffs: ref([]), section_2_4_headline: ref(""), section_2_4_subHeadline: ref(""), section_2_4_ctaPrimary: ref(""), section_2_4_ctaSecondary: ref(""), section_3_1_testimonial: ref(""), section_3_1_nume_testimonial: ref(""), section_3_1_functie_testimonial: ref(""), section_3_1_image: ref(""), section_3_2_headline: ref(""), section_3_2_questions: ref([]), section_3_3_enabled: ref(true), section_3_3_moments: ref([]), section_3_4_enabled: ref(true), section_3_4_headline: ref(""), section_3_4_subheadline: ref(""), section_3_4_partners: ref([]), section_3_5_enabled: ref(false), section_3_5_headline: ref(""), section_3_5_subHeadline: ref(""), section_3_5_ctaPrimary: ref(""), section_3_5_ctaSecondary: ref(""), section_4_1_enabled: ref(true), section_4_1_headline: ref(""), section_4_1_testimonials: ref([]), general_logo: ref(""), general_color: ref(""), general_id_form: ref(""), }; const selectedSection = ref(""); const focusedInput = ref(""); // Function to update the real-time variable function updateValue(key, value) { if (state[key]) { state[key].value = value; } } function updateSelectedSection(value) { selectedSection.value = value; } function updateFocusedInput(value) { focusedInput.value = value; } return { ...state, selectedSection, focusedInput, updateValue, updateSelectedSection, updateFocusedInput, }; });
Back