]> _ Git - tecintex.git/commitdiff
Fix console errors, re-export site and adjust redirects. Wait #5504 @0.5 master
authorStephen Cameron <stephen@cubedesigners.com>
Fri, 7 Oct 2022 16:11:39 +0000 (18:11 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Fri, 7 Oct 2022 16:11:39 +0000 (18:11 +0200)
.htaccess
company.html [changed mode: 0644->0755]
contact.html [changed mode: 0644->0755]
credits.html [changed mode: 0644->0755]
css/tec-dev.webflow.css [changed mode: 0644->0755]
index.html [changed mode: 0644->0755]
legal-mentions.html [changed mode: 0644->0755]
process-form.php
services.html [changed mode: 0644->0755]

index 485a49757718f0100c93267074fc57260cd03416..d781a99e70b1bc7d261850903570c1b0cd2de2ab 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -2,13 +2,14 @@ RewriteEngine On
 RewriteCond %{HTTP_HOST} ^tecintex.com$
 RewriteRule ^(.*)$ https://www.tecintex.com/$1 [R=301,L]
 
+# remove index from the end of URLs
+RewriteRule ^index$ / [R=301]
+RewriteRule ^index\.html$ / [R=301]
+
 # remove .html, use THE_REQUEST to prevent infinite loops
 RewriteCond %{THE_REQUEST} \s/+(.+?)\.html[\s?] [NC]
 RewriteRule ^ /%1 [R=301,NE,L]
 
-# remove index from the end of URLs
-RewriteRule (.*)index$ $1 [R=301]
-
 # remove slash if not directory
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_URI} /$
@@ -17,4 +18,4 @@ RewriteRule (.*)/ $1 [R=301]
 # add .html to access file, but don't redirect (internal redirect only)
 RewriteCond %{REQUEST_FILENAME}.html -f
 RewriteCond %{REQUEST_URI} !/$
-RewriteRule (.*) $1.html [L]
\ No newline at end of file
+RewriteRule (.*) $1.html [L]
old mode 100644 (file)
new mode 100755 (executable)
index cd1749d..ed45316
@@ -1,4 +1,5 @@
-<!DOCTYPE html><!--  Last Published: Thu Oct 06 2022 18:58:14 GMT+0000 (Coordinated Universal Time)  -->
+<!DOCTYPE html><!--  This site was created in Webflow. https://www.webflow.com  -->
+<!--  Last Published: Fri Oct 07 2022 16:03:48 GMT+0000 (Coordinated Universal Time)  -->
 <html data-wf-page="5ee75f4f4ae5a80a2395bf91" data-wf-site="5eb2d32de1ba8d06c3c0b830">
 <head>
   <meta charset="utf-8">
@@ -12,6 +13,7 @@
   <meta content="summary_large_image" name="twitter:card">
   <meta content="width=device-width, initial-scale=1" name="viewport">
   <meta content="U_hUd1G798MAP0BHNfEcircTGfC_WHqySxFvZGDRPyo" name="google-site-verification">
+  <meta content="Webflow" name="generator">
   <link href="css/normalize.css" rel="stylesheet" type="text/css">
   <link href="css/webflow.css" rel="stylesheet" type="text/css">
   <link href="css/tec-dev.webflow.css" rel="stylesheet" type="text/css">
   <script src="https://min30327.github.io/luxy.js/dist/js/luxy.js"></script>
   <script charset="utf-8">
 var isMobile = /iPhone|iPad|Android/i.test(navigator.userAgent);
-if (!isMobile) {
+if (!isMobile && document.getElementById('luxy')) {
      luxy.init({
        wrapper: '#luxy',
        wrapperSpeed: 0.065,
old mode 100644 (file)
new mode 100755 (executable)
index f8cdf3f..0a97957
@@ -1,4 +1,5 @@
-<!DOCTYPE html><!--  Last Published: Thu Oct 06 2022 18:58:14 GMT+0000 (Coordinated Universal Time)  -->
+<!DOCTYPE html><!--  This site was created in Webflow. https://www.webflow.com  -->
+<!--  Last Published: Fri Oct 07 2022 16:03:48 GMT+0000 (Coordinated Universal Time)  -->
 <html data-wf-page="633ea4a84e9ca8596c25c3ab" data-wf-site="5eb2d32de1ba8d06c3c0b830">
 <head>
   <meta charset="utf-8">
@@ -12,6 +13,7 @@
   <meta content="summary_large_image" name="twitter:card">
   <meta content="width=device-width, initial-scale=1" name="viewport">
   <meta content="U_hUd1G798MAP0BHNfEcircTGfC_WHqySxFvZGDRPyo" name="google-site-verification">
+  <meta content="Webflow" name="generator">
   <link href="css/normalize.css" rel="stylesheet" type="text/css">
   <link href="css/webflow.css" rel="stylesheet" type="text/css">
   <link href="css/tec-dev.webflow.css" rel="stylesheet" type="text/css">
   <script src="https://min30327.github.io/luxy.js/dist/js/luxy.js"></script>
   <script charset="utf-8">
 var isMobile = /iPhone|iPad|Android/i.test(navigator.userAgent);
-if (!isMobile) {
+if (!isMobile && document.getElementById('luxy')) {
      luxy.init({
        wrapper: '#luxy',
        wrapperSpeed: 0.065,
old mode 100644 (file)
new mode 100755 (executable)
index 397a48f..5b4e36c
@@ -1,4 +1,5 @@
-<!DOCTYPE html><!--  Last Published: Thu Oct 06 2022 18:58:14 GMT+0000 (Coordinated Universal Time)  -->
+<!DOCTYPE html><!--  This site was created in Webflow. https://www.webflow.com  -->
+<!--  Last Published: Fri Oct 07 2022 16:03:48 GMT+0000 (Coordinated Universal Time)  -->
 <html data-wf-page="5ee75f4f4ae5a813bd95bf94" data-wf-site="5eb2d32de1ba8d06c3c0b830">
 <head>
   <meta charset="utf-8">
@@ -12,6 +13,7 @@
   <meta content="summary_large_image" name="twitter:card">
   <meta content="width=device-width, initial-scale=1" name="viewport">
   <meta content="U_hUd1G798MAP0BHNfEcircTGfC_WHqySxFvZGDRPyo" name="google-site-verification">
+  <meta content="Webflow" name="generator">
   <link href="css/normalize.css" rel="stylesheet" type="text/css">
   <link href="css/webflow.css" rel="stylesheet" type="text/css">
   <link href="css/tec-dev.webflow.css" rel="stylesheet" type="text/css">
   <script src="https://min30327.github.io/luxy.js/dist/js/luxy.js"></script>
   <script charset="utf-8">
 var isMobile = /iPhone|iPad|Android/i.test(navigator.userAgent);
-if (!isMobile) {
+if (!isMobile && document.getElementById('luxy')) {
      luxy.init({
        wrapper: '#luxy',
        wrapperSpeed: 0.065,
old mode 100644 (file)
new mode 100755 (executable)
index 1678783..fcc24e1
@@ -665,15 +665,16 @@ label {
   display: -webkit-flex;
   display: -ms-flexbox;
   display: flex;
+  padding: 2.5vw;
   -webkit-box-orient: horizontal;
   -webkit-box-direction: normal;
   -webkit-flex-direction: row;
   -ms-flex-direction: row;
   flex-direction: row;
-  -webkit-box-pack: justify;
-  -webkit-justify-content: space-between;
-  -ms-flex-pack: justify;
-  justify-content: space-between;
+  -webkit-box-pack: end;
+  -webkit-justify-content: flex-end;
+  -ms-flex-pack: end;
+  justify-content: flex-end;
 }
 
 .social-icons {
old mode 100644 (file)
new mode 100755 (executable)
index 6eda926..a8991d6
@@ -1,4 +1,5 @@
-<!DOCTYPE html><!--  Last Published: Thu Oct 06 2022 18:58:14 GMT+0000 (Coordinated Universal Time)  -->
+<!DOCTYPE html><!--  This site was created in Webflow. https://www.webflow.com  -->
+<!--  Last Published: Fri Oct 07 2022 16:03:48 GMT+0000 (Coordinated Universal Time)  -->
 <html data-wf-page="5ee75f4f4ae5a852b495bf8e" data-wf-site="5eb2d32de1ba8d06c3c0b830">
 <head>
   <meta charset="utf-8">
@@ -12,6 +13,7 @@
   <meta content="summary_large_image" name="twitter:card">
   <meta content="width=device-width, initial-scale=1" name="viewport">
   <meta content="U_hUd1G798MAP0BHNfEcircTGfC_WHqySxFvZGDRPyo" name="google-site-verification">
+  <meta content="Webflow" name="generator">
   <link href="css/normalize.css" rel="stylesheet" type="text/css">
   <link href="css/webflow.css" rel="stylesheet" type="text/css">
   <link href="css/tec-dev.webflow.css" rel="stylesheet" type="text/css">
   </div>
   <div class="div-block-66"></div>
   <div data-w-id="20797eb5-ca67-7c75-4e76-25f9ccf3834e" style="-webkit-transform:translate3d(0, 100%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);-moz-transform:translate3d(0, 100%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);-ms-transform:translate3d(0, 100%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);transform:translate3d(0, 100%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0)" class="footer-home-desktop">
-    <div class="social-icons">
-      <a href="contact-webflow.html" class="link-block w-inline-block"><img src="https://uploads-ssl.webflow.com/5ea7496879e6381f0dfaf90a/5ea930dc8d96b395a97516ec_whatsapp.svg" alt=""></a>
-      <a href="https://fr.linkedin.com/in/r%C3%A9mi-lanzenberg-56132a60" target="_blank" class="link-block w-inline-block"><img src="https://uploads-ssl.webflow.com/5ea7496879e6381f0dfaf90a/5ea930f27a0b696b91d67e74_linkedin.svg" alt=""></a>
-    </div>
     <div class="div-block-57">
       <a href="credits.html" class="link-block-2 link w-inline-block">
         <h6 class="links-footer-home">Credits</h6>
   <script src="https://min30327.github.io/luxy.js/dist/js/luxy.js"></script>
   <script charset="utf-8">
 var isMobile = /iPhone|iPad|Android/i.test(navigator.userAgent);
-if (!isMobile) {
+if (!isMobile && document.getElementById('luxy')) {
      luxy.init({
        wrapper: '#luxy',
        wrapperSpeed: 0.065,
old mode 100644 (file)
new mode 100755 (executable)
index 9a240d1..d8dd5fc
@@ -1,4 +1,5 @@
-<!DOCTYPE html><!--  Last Published: Thu Oct 06 2022 18:58:14 GMT+0000 (Coordinated Universal Time)  -->
+<!DOCTYPE html><!--  This site was created in Webflow. https://www.webflow.com  -->
+<!--  Last Published: Fri Oct 07 2022 16:03:48 GMT+0000 (Coordinated Universal Time)  -->
 <html data-wf-page="5ee75f4f4ae5a84ca495bf93" data-wf-site="5eb2d32de1ba8d06c3c0b830">
 <head>
   <meta charset="utf-8">
@@ -7,6 +8,7 @@
   <meta content="Legal mentions" property="twitter:title">
   <meta content="width=device-width, initial-scale=1" name="viewport">
   <meta content="U_hUd1G798MAP0BHNfEcircTGfC_WHqySxFvZGDRPyo" name="google-site-verification">
+  <meta content="Webflow" name="generator">
   <link href="css/normalize.css" rel="stylesheet" type="text/css">
   <link href="css/webflow.css" rel="stylesheet" type="text/css">
   <link href="css/tec-dev.webflow.css" rel="stylesheet" type="text/css">
   <script src="https://min30327.github.io/luxy.js/dist/js/luxy.js"></script>
   <script charset="utf-8">
 var isMobile = /iPhone|iPad|Android/i.test(navigator.userAgent);
-if (!isMobile) {
+if (!isMobile && document.getElementById('luxy')) {
      luxy.init({
        wrapper: '#luxy',
        wrapperSpeed: 0.065,
index 84f692ce9f4de5e12fc63037c14036971926c646..6a2724045f0efaaf9d882627d1d4aa06a337bd8a 100644 (file)
@@ -11,6 +11,13 @@ $recipients = [['Email' => 'tlanzenberg@gmail.com'], ['Email' => 'test@cubedesig
 
 //===================================================================
 
+if (empty($_POST)) {
+    // Issue forbidden message if no data is posted
+    http_response_code(403);
+    exit;
+}
+
+
 $fields = [];
 $_POST['Message'] = nl2br($_POST['Message']);
 
old mode 100644 (file)
new mode 100755 (executable)
index 4074373..3be8178
@@ -1,4 +1,5 @@
-<!DOCTYPE html><!--  Last Published: Thu Oct 06 2022 18:58:14 GMT+0000 (Coordinated Universal Time)  -->
+<!DOCTYPE html><!--  This site was created in Webflow. https://www.webflow.com  -->
+<!--  Last Published: Fri Oct 07 2022 16:03:48 GMT+0000 (Coordinated Universal Time)  -->
 <html data-wf-page="5ee75f4f4ae5a8d46f95bf90" data-wf-site="5eb2d32de1ba8d06c3c0b830">
 <head>
   <meta charset="utf-8">
@@ -12,6 +13,7 @@
   <meta content="summary_large_image" name="twitter:card">
   <meta content="width=device-width, initial-scale=1" name="viewport">
   <meta content="U_hUd1G798MAP0BHNfEcircTGfC_WHqySxFvZGDRPyo" name="google-site-verification">
+  <meta content="Webflow" name="generator">
   <link href="css/normalize.css" rel="stylesheet" type="text/css">
   <link href="css/webflow.css" rel="stylesheet" type="text/css">
   <link href="css/tec-dev.webflow.css" rel="stylesheet" type="text/css">
   <script src="https://min30327.github.io/luxy.js/dist/js/luxy.js"></script>
   <script charset="utf-8">
 var isMobile = /iPhone|iPad|Android/i.test(navigator.userAgent);
-if (!isMobile) {
+if (!isMobile && document.getElementById('luxy')) {
      luxy.init({
        wrapper: '#luxy',
        wrapperSpeed: 0.065,