"""
class ClassesPage(WebPage):
def __init__(self):
super().__init__(
title="Classes with Fraser",
image="CLASSES.jpg",
description="Join Fraser’s engaging and interactive online classes. Designed for all levels and ages, these sessions are tailored to meet individual learning goals."
)
class PPTPage(WebPage):
def __init__(self):
super().__init__(
title="PowerPoint Lessons",
image="PPTS.jpg",
description="Explore our library of ready-to-use PowerPoint presentations, covering diverse topics for learners and educators alike."
)
class OETPage(WebPage):
def __init__(self):
super().__init__(
title="OET Preparation",
image="OET.jpg",
description="Our OET preparation courses are crafted to help healthcare professionals achieve excellence in the Occupational English Test."
)
class IELTSPage(WebPage):
def __init__(self):
super().__init__(
title="IELTS Preparation",
image="IELTS.jpg",
description="Master the IELTS exam with our expert-led preparation classes. From academic writing to speaking practice, we cover every aspect of the test."
)
# Example: Generate and save HTML files
pages = [ClassesPage(), PPTPage(), OETPage(), IELTSPage()]
for page in pages:
with open(f"{page.title.replace(' ', '').lower()}.html", "w", encoding="utf-8") as file:
file.write(page.generate_html())