pinterest-site-verification=f733925c88b2d69d81e4298adc53ac40 import tkinter as tk from tkinter import messagebox import requests FORMSPREE_ENDPOINT = 'https://formspree.io/f/xlekqpdy' class App: def __init__(self): self.selected_options = {} self.window = tk.Tk() # Create the main window self.create_labels() # Create labels self.create_buttons() # Create buttons self.create_email_entry() # Create email entry field self.create_submit_button() # Create submit button def create_labels(self): labels = ["Dress Type", "Size", "Color", "Sleeve Type", "Fabric Type", "Lace", "Beading", "Train Length"] for label_text in labels: label = tk.Label(self.window, text=label_text + ":") label.pack() def create_buttons(self): button_data = [ { "name": "Dress Type", "options": ['Mermaid', 'Ball Gown', 'Sheath'], # Replace with actual wedding dress types }, { "name": "Size", "options": ['S', 'M', 'L'], # Replace with your own sizes }, { "name": "Color", "options": ['Red', 'Blue', 'Green'], # Replace with your own colors }, { "name": "Sleeve Type", "options": ['Short Sleeve', 'Long Sleeve', 'Sleeveless'], # Replace with actual sleeve types }, { "name": "Fabric Type", "options": ['Silk', 'Lace', 'Tulle'], # Replace with actual fabric types }, { "name": "Lace", "options": ['With Lace', 'Without Lace'], # Replace with actual lace options }, { "name": "Beading", "options": ['With Beading', 'Without Beading'], # Replace with actual beading options }, { "name": "Train Length", "options": ['Short', 'Medium', 'Long'], # Replace with actual train lengths } ] for button_info in button_data: frame = tk.Frame(self.window) frame.pack() label = tk.Label(frame, text=button_info["name"] + ":") label.pack(side=tk.LEFT) buttons = {} for option in button_info["options"]: button = tk.Button( frame, text=option, command=lambda opt=option, btns=buttons, cat=button_info["name"]: self.on_button_selected(cat, opt, btns) ) button.pack(side=tk.LEFT) buttons[option] = button self.selected_options[button_info["name"]] = None def create_email_entry(self): email_label = tk.Label(self.window, text="Email:") email_label.pack() self.email_entry = tk.Entry(self.window) self.email_entry.pack() def create_submit_button(self): submit_button = tk.Button(self.window, text="Submit", command=self.submit_form) submit_button.pack() def on_button_selected(self, category, option, buttons): self.selected_options[category] = option for btn in buttons.values(): btn.config(relief=tk.RAISED) buttons[option].config(relief=tk.SUNKEN) def submit_form(self): selected_options = list(self.selected_options.values()) email = self.email_entry.get() if None in selected_options or not email: messagebox.showerror("Error", "Please select all options and enter your email.") return self.send_email_to_formspree(selected_options, email) def send_email_to_formspree(self, user_choices, email): form_data = { 'email': email, 'choices': str(user_choices) # Convert the choices to a string } try: response = requests.post(FORMSPREE_ENDPOINT, data=form_data) response.raise_for_status() messagebox.showinfo("Success", "Form submitted successfully!") self.clear_selections() except requests.exceptions.RequestException as e: print("Error:", e) messagebox.showerror("Error", "Failed to submit form.") def clear_selections(self): self.selected_options = {} self.email_entry.delete(0, tk.END) self.window.destroy()
top of page

Sparkle & Savings: Unveiling Stacie's Must-Have Prime Day Picks for Brides-to-Be

Hello, beautiful brides-to-be! Can you feel the excitement in the air? Amazon Prime Days are here, and it's time to indulge in some serious shopping extravaganza! As a designer who's always on the lookout for the perfect mix of quality and savings, I've put together a curated list of must-have items that will make your wedding journey even more magical. So, grab your glass of bubbly, sit back, and get ready to discover the incredible deals I've found for you.



Dazzling Accessories Fit for a Queen No bridal ensemble is complete without the perfect accessories to add that extra touch of shine. Prime Day is the perfect opportunity to snag those glamorous pieces at a fraction of the cost. Picture yourself adorned in delicate, sparkling earrings, a statement necklace that catches the light with every step, and a stunning tiara fit for a queen. Trust me, my darlings, when you find that perfect jewel, it will be love at first sight.






Picture-Perfect Bridesmaid Gifts We all know that confidence starts from within, and nothing boosts your confidence like perfectly fitting, luxurious looks for and your girls. On Prime Day, you'll find a treasure trove of exquisite options that will make you feel absolutely glamorous on your wedding day. From delicate lace to enchanting satin, discover intimate pieces that celebrate your unique beauty. Prepare to make your special day vision to behold.








Stress-Free Wedding Planning Tools Planning your big day should be filled with excitement, not stress. That's why I've included a selection of wedding planning tools and resources that will help you stay organized, inspired, and in control. Look out for discounts on wedding planning books, checklists, and even digital wedding planners to streamline your journey from "yes" to "I do." Let Prime Day be the day you embrace stress-free planning with open arms.

As your personal guide in the world of fashion and weddings, I couldn't be more thrilled to share these Prime Day finds with you. Remember, each item is an opportunity to infuse your wedding day with your unique personality and style. So, set your alarms, grab your laptops, and let the magic of Prime Day unfold. Happy shopping, my beautiful brides-to-be! Here's to finding those incredible deals that make your heart skip a beat and make your special day shine even brighter.


With love and a sprinkle of sparkle,

Stacie A. Founder & Designer, Sparkle & Sass by Stacie

 
 
 

Commenti


bottom of page