Added welcome page content

This commit is contained in:
Torsten Schulz
2024-02-09 12:44:18 +01:00
parent db9eabfb3e
commit fff39ef376
4 changed files with 32 additions and 1 deletions

View File

@@ -68,7 +68,7 @@ App::~App() {
}
void App::setMetaTags() {
addMetaHeader("keywords", "chat, single chat, images, no registration, anonymous");
addMetaHeader("keywords", "chat, single chat, images, no registration, anonymousp");
}
void App::initApp() {
@@ -76,6 +76,7 @@ void App::initApp() {
setTitle("YP Direct Chat");
setCssTheme("");
useStyleSheet("style.css");
messageResourceBundle().use("../docroot/text");
}
void App::reSetUser() {
@@ -136,6 +137,7 @@ void App::createLoginContainer() {
auto age = addAgeInput(contentGrid);
auto countrySelection = addCountrySelection(contentGrid);
addStartChatButton(contentGrid, userName, countrySelection, age, gender);
contentContainer_->addNew<Wt::WText>(Wt::WString::tr("welcome"));
}
Wt::WLineEdit *App::addUsernameInput(Wt::WGridLayout* contentGrid) {