diff --git a/index.php b/index.php index c37c49f..44f3034 100644 --- a/index.php +++ b/index.php @@ -45,6 +45,12 @@ margin-top: 10px; color: #fff; } + .webinar-subtitle { + font-size: 1.2rem; + font-weight: bold; + margin-top: 10px; + color: #e0e0e0; + } .webinar-time { color: #bdbdbd; margin-top: 20px; @@ -138,11 +144,12 @@
+
The fastest way to go from an idea to a working app you own, running on your server, with your database, using real frameworks.
CEO, Flatlogic
+CEO, AppWizzy
Thanks for registering for our webinar: Professional Vibe-Coding Webinar by Flatlogic.
It will take place on " . $webinar_date_obj->format('l, F j, Y \a\t g:i A T') . ".
You can now log in to your dashboard to see the details.
"; + $webinar_date_obj = new DateTime('2025-11-19 10:00:00', new DateTimeZone('America/New_York')); + $subject = "Confirmation: You're Registered for Professional Vibe-Coding Webinar"; + $body_html = "Thanks for registering for our webinar: Professional Vibe-Coding Webinar.
Building Scalable Apps with AppWizzy
It will take place on " . $webinar_date_obj->format('l, F j, Y \a\t g:i A T') . ".
You can now log in to your dashboard to see the details.
" MailService::sendMail($email, $subject, $body_html); // --- PREPARE SUCCESS RESPONSE --- - $webinar_date = new DateTime('2025-11-19 13:00:00', new DateTimeZone('America/New_York')); + $webinar_date = new DateTime('2025-11-19 10:00:00', new DateTimeZone('America/New_York')); $webinar_date->setTimezone(new DateTimeZone('UTC')); $start_time_utc = $webinar_date->format('Ymd\THis\Z'); $webinar_date->add(new DateInterval('PT1H')); // Assume 1 hour duration $end_time_utc = $webinar_date->format('Ymd\THis\Z'); - $google_link = 'https://www.google.com/calendar/render?action=TEMPLATE&text=' . urlencode('Professional Vibe-Coding Webinar by Flatlogic') . '&dates=' . $start_time_utc . '/' . $end_time_utc . '&details=' . urlencode('The fastest way to go from an idea to a working app you own, running on your server, with your database, using real frameworks.') . '&location=' . urlencode('Online') . '&ctz=UTC'; + $event_title = 'Professional Vibe-Coding Webinar at 4PM CET'; + $event_description = 'Building Scalable Apps with AppWizzy\n\nJoin us for this webinar at 4PM CET | 10AM EST | 7AM PST. The fastest way to go from an idea to a working app you own, running on your server, with your database, using real frameworks.'; + + $google_link = 'https://www.google.com/calendar/render?action=TEMPLATE&text=' . urlencode($event_title) . '&dates=' . $start_time_utc . '/' . $end_time_utc . '&details=' . urlencode($event_description) . '&location=' . urlencode('Online') . '&ctz=UTC'; $ics_content = implode("\r\n", [ 'BEGIN:VCALENDAR', @@ -85,10 +88,10 @@ try { 'PRODID:-//Flatlogic//Professional Vibe-Coding Webinar//EN', 'BEGIN:VEVENT', 'URL:' . 'http://' . $_SERVER['HTTP_HOST'], - 'DTSTART;TZID=UTC:' . $start_time_utc, - 'DTEND;TZID=UTC:' . $end_time_utc, - 'SUMMARY:Professional Vibe-Coding Webinar by Flatlogic', - 'DESCRIPTION:The fastest way to go from an idea to a working app you own, running on your server, with your database, using real frameworks.', + 'DTSTART:' . $start_time_utc, + 'DTEND:' . $end_time_utc, + 'SUMMARY:' . $event_title, + 'DESCRIPTION:' . str_replace("\n", "\\n", $event_description), 'LOCATION:Online', 'END:VEVENT', 'END:VCALENDAR' @@ -97,7 +100,7 @@ try { echo json_encode([ 'success' => true, - 'webinar_title' => 'Professional Vibe-Coding Webinar by Flatlogic', + 'webinar_title' => 'Professional Vibe-Coding Webinar