From 2455c9fba4dc297938b2d78ee269682b97943473 Mon Sep 17 00:00:00 2001
From: Ben Harris
Date: Fri, 2 Nov 2018 14:50:03 -0400
Subject: update homepage, remove contact form
---
inc/sendEmail.php | 74 ---------------------------------------------------
index.php | 79 +++++++------------------------------------------------
js/init.js | 51 -----------------------------------
now/index.php | 7 ++---
4 files changed, 13 insertions(+), 198 deletions(-)
delete mode 100644 inc/sendEmail.php
diff --git a/inc/sendEmail.php b/inc/sendEmail.php
deleted file mode 100644
index 187fdc3..0000000
--- a/inc/sendEmail.php
+++ /dev/null
@@ -1,74 +0,0 @@
-";
- $message .= "Email address: " . $email . "
";
- $message .= "Message:
";
- $message .= $contact_message;
- $message .= "
-----
This email was sent from your site's contact form.
";
-
- // Set From: header
- $from = $name . " <" . $email . ">";
-
- // Email Headers
- $headers = "From: admin\r\n";
- $headers .= "Reply-To: ". $email . "\r\n";
- $headers .= "MIME-Version: 1.0\r\n";
- $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
-
-
- if (count($error) == 0) {
-
- ini_set("sendmail_from", $siteOwnersEmail); // for windows server
- $mail = mail($siteOwnersEmail, $subject, $message, $headers);
-
- if ($mail) {
- echo "OK";
- } else {
- echo "Something went wrong. Please try again.";
- }
-
- } else {
-
- $response = (isset($error['name'])) ? $error['name'] . "
\n" : null;
- $response .= (isset($error['email'])) ? $error['email'] . "
\n" : null;
- $response .= (isset($error['message'])) ? $error['message'] . "
" : null;
-
- echo $response;
-
- } # end if - there was a validation error
-
-}
-
diff --git a/index.php b/index.php
index ba2888b..ac63300 100644
--- a/index.php
+++ b/index.php
@@ -72,6 +72,10 @@ include 'header.php';
travel and have lived in Ecuador and Switzerland.
+
+ I run a public access unix system: tilde.team and have been working on a multi-tilde collaborative effort to provide cool open-source services at the tildeverse. Check out my tilde page!
+
+
Check out what I'm up to
now.
@@ -237,11 +241,11 @@ include 'header.php';
Iron Fish Distillery
App Developer/Webmaster
•
- June 2016 - Present
+ June 2016 - June 2018
- Build and maintain several web applications for internal use. Also in charge of maintenance of the current Wordpress site.
+ Build and maintain several web applications for internal use. Also in charge of maintenance of the Wordpress site.
@@ -342,80 +346,15 @@ include 'header.php';
-
Let me know if you have any cool ideas or want to work together on something! Feel free to send me a message
- on
- Telegram or send me an email with this form here.
+
+Let me know if you have any cool ideas or want to work together on something! Feel free to send me a message on irc (benharri on freenode, ben on tilde.chat) or shoot me an email (ben at this domain).
+
-
-
-
-
-
-
-
-
-
-
Error boy
-
-
- Your message was sent, thank you!
-
-
-
-
-
-
-
diff --git a/js/init.js b/js/init.js
index e9df104..6739cf9 100644
--- a/js/init.js
+++ b/js/init.js
@@ -133,56 +133,5 @@
randomize: false,
});
-/*----------------------------------------------------*/
-/* contact form
-------------------------------------------------------*/
-
- $('form#contactForm button.submit').click(function() {
-
- $('#image-loader').fadeIn();
-
- var contactName = $('#contactForm #contactName').val();
- var contactEmail = $('#contactForm #contactEmail').val();
- var contactSubject = $('#contactForm #contactSubject').val();
- var contactMessage = $('#contactForm #contactMessage').val();
-
- var data = 'contactName=' + contactName + '&contactEmail=' + contactEmail +
- '&contactSubject=' + contactSubject + '&contactMessage=' + contactMessage;
- console.log(data);
- $.ajax({
-
- type: "POST",
- url: "inc/sendEmail.php",
- data: data,
- success: function(msg) {
- console.log(msg);
- // Message was sent
- if (msg == 'OK') {
- $('#image-loader').fadeOut();
- $('#message-warning').hide();
- $('#contactForm').fadeOut();
- $('#message-success').fadeIn();
- }
- // There was an error
- else {
- $('#image-loader').fadeOut();
- $('#message-warning').html(msg);
- $('#message-warning').fadeIn();
- }
-
- }
-
- });
- return false;
- });
-
-
});
-
-
-
-
-
-
-
diff --git a/now/index.php b/now/index.php
index 3d242ae..ce1d150 100644
--- a/now/index.php
+++ b/now/index.php
@@ -55,12 +55,13 @@ include __DIR__."/../header.php";
• Learning C# and practicing Ruby
• Flying Drones (cold isn't good for battery life, hopefully picking this back up once it's warmer out:)
• Thinking of cool ideas for tilde.team
- • We have a Discord server now!
- • Probably spending too much time on irc??? tilde-irc
+ • Probably spending too much time on irc??? tilde-irc
+ • Running stuff for the tildeverse
+ • Starting tilderadio, an internet radio station for the tildeverse
• Looking for open source projects to contribute to. Hit me up if you have any ideas or suggestions.
- Updated April 10th, 2018
+ Updated November 2nd, 2018
--
cgit 1.4.1