#include "ui/calendarview.h"

CalendarView::CalendarView(QWidget *parent) : QWidget(parent) {
    setupUI();
}

void CalendarView::setupUI() {
    QVBoxLayout *layout = new QVBoxLayout(this);
    layout->setAlignment(Qt::AlignCenter);

    QLabel *icon = new QLabel("📅");
    icon->setAlignment(Qt::AlignCenter);
    QFont iconFont = icon->font();
    iconFont.setPointSize(48);
    icon->setFont(iconFont);

    QLabel *title = new QLabel("Calendar");
    title->setAlignment(Qt::AlignCenter);
    QFont titleFont = title->font();
    titleFont.setPointSize(20);
    titleFont.setBold(true);
    title->setFont(titleFont);
    title->setStyleSheet("color: #333;");

    QLabel *subtitle = new QLabel("Coming soon — integrated calendar with email");
    subtitle->setAlignment(Qt::AlignCenter);
    subtitle->setStyleSheet("color: #888; font-size: 13px;");

    layout->addWidget(icon);
    layout->addWidget(title);
    layout->addWidget(subtitle);
}