Add favicon icons and update product/about pages

This commit is contained in:
2026-02-18 23:02:58 -06:00
parent 82428c5589
commit ca04de4885
15 changed files with 256 additions and 7 deletions

View File

@@ -0,0 +1,39 @@
#!/usr/bin/env python3
"""Update the About page hero section image URL in the database."""
import asyncio
from sqlalchemy import text
from database import async_engine
async def update_hero_image():
"""Update the hero section image_url in about_content table."""
image_url = "/uploads/media/aa5bcc15-3b1e-4ed8-8708-1a3dceb9494d.jpg"
async with async_engine.begin() as conn:
# Update the hero section image_url
result = await conn.execute(
text("""
UPDATE about_content
SET image_url = :image_url,
updated_at = NOW()
WHERE section = 'hero'
"""),
{"image_url": image_url}
)
print(f"✅ Updated hero section image_url to: {image_url}")
print(f" Rows affected: {result.rowcount}")
# Verify the update
verify = await conn.execute(
text("SELECT section, image_url FROM about_content WHERE section = 'hero'")
)
row = verify.fetchone()
if row:
print(f"✅ Verified - Section: {row[0]}, Image URL: {row[1]}")
else:
print("❌ No hero section found!")
if __name__ == "__main__":
asyncio.run(update_hero_image())