PK bT^i
d
va-years-completed.cccompd
PK mT͜h component.json {"UUID":"f5d9500b-1447-45ee-ae07-34fda7ad44e1","additional_states":{"Container":{"outofview":{"character":".","name":"Out of View","value":"outofview"}},"Text":{"outofview":{"character":".","name":"Out of View","value":"outofview"}}},"appBuildInfo":"RSD 5.0.3516","appId":"RSD","appVersion":3516,"buildNumber":5971,"component_resources":{"classes":2,"file_sizes_values":[0,0,0],"file_type_values":[0,0,0],"html_elements":0,"ids":0,"links_external":0,"links_internal":0,"local_files":0,"styled_breakpoints":""},"description":"Your component description","element_name":"Container","framework":"vanillacss","html":"
\nfunction years() {\nvar a = document.querySelector(".anniv");\nvar s = new Date(1996, 05, 01); // start date as yyyy, mm-1, dd\nvar t = new Date(); // today\nvar n = t.getFullYear() - s.getFullYear();\n// Reduce number of years by 1 if today is before the anniversary\nif(t.getMonth() < s.getMonth()) {n--;}\nif(t.getMonth() == s.getMonth() && t.getDate() < s.getDate()) {n--;}\na.innerHTML = "Coffeecup Software has been in business for " + n + " years.";\n}\nwindow.onload = years;\n\">For how many years has Coffeecup Software been in business?
","htmlembed":{},"mobile_first":true,"name":"va-years-completed","resources":{},"stylesheet":".container.script-wrap {\n height:auto;\n padding-top:8px;\n padding-right:20px;\n padding-bottom:8px;\n padding-left:20px;\n}\n\nspan.text-element.anniv {\n display:block;\n width:90%;\n margin-right:auto;\n margin-left:auto;\n max-width:600px;\n background-color:rgba(187, 246, 247, 1);\n font-family:Copperplate, 'Copperplate Gothic Light', fantasy;\n text-align:center;\n font-size:20px;\n padding-top:24px;\n color:rgba(1, 9, 122, 1);\n font-variant:small-caps;\n margin-top:50px;\n padding-bottom:26px;\n padding-right:12px;\n padding-left:12px;\n font-weight:600;\n border-top-width:0.125rem;\n border-top-style:solid;\n border-right-style:solid;\n border-bottom-style:solid;\n border-left-style:solid;\n border-right-width:0.125rem;\n border-bottom-width:0.125rem;\n border-left-width:0.125rem;\n border-top-left-radius:5px 5px;\n border-top-right-radius:5px 5px;\n border-bottom-right-radius:5px 5px;\n border-bottom-left-radius:5px 5px;\n}","timestamp":1654281296758,"type":"Container","units":"rem"}
PK mT͜h component.jsonPK <