diff --git a/Site/ViewSolutions b/Site/ViewSolutions
index 44918a4..d0c7fe7 160000
--- a/Site/ViewSolutions
+++ b/Site/ViewSolutions
@@ -1 +1 @@
-Subproject commit 44918a49272039e2878dc5aa7a994fbed8187a1c
+Subproject commit d0c7fe762ba0e2167da7a149b1c987b4b7dc9dd7
diff --git a/Site/src/Models/mainmodel.cpp b/Site/src/Models/mainmodel.cpp
index 9cb94cf..e6c0aa3 100644
--- a/Site/src/Models/mainmodel.cpp
+++ b/Site/src/Models/mainmodel.cpp
@@ -42,12 +42,12 @@ void MainModel::initQuasarApp() {
block->setTitle(tr("QuasarApp Group"));
QString sourceText = tr("The QuasarApp is developing open source mobile and desktop applications.
"
- "Our company has ben created on 2017 yahr and have experians of develepment android and desctop applications and games."
+ "Our company has ben created on 2017 year and have experians of develepment android and desctop applications and games."
"
");
sourceText += tr("During our existence, we have accumulated more than 40 software components and ready-made solutions for the most diverse tasks.
"
"This approach allows us now to create final products with impressive speed. If you have an idea for the application, we will hear you."
- "
");
+ );
block->setSourceText(sourceText);
block->setBakcBroundPicture("qrc:/img/images/LOGO.png");
@@ -56,14 +56,32 @@ void MainModel::initQuasarApp() {
block = new BaseFront::InfoBlock(this);
_QuasarAppPage->push_back(block);
- block->setTitle(tr("QuasarApp Group"));
+ block->setTitle(tr("Supported Platforms"));
sourceText = tr("At the moment, we can offer support for our solutions for the following platforms:
");
sourceText += tr("- Linux
"
"- Windows
"
"- Android
"
- "- Web
");
+ "- Web ");
+
+ block->setSourceText(sourceText);
+ block->setBakcBroundPicture("qrc:/img/images/os.png");
+
+ block = new BaseFront::InfoBlock(this);
+ _QuasarAppPage->push_back(block);
+
+ block->setTitle(tr("Order a project."));
+
+ sourceText = tr("We are always happy to help you realize your best and most fantastic ideas."
+ "
"
+ "If you have an idea for the application, then you can leave a request to create a project with us on GitHub."
+ " All that is required of you is a detailed description of what needs to be done. Further,"
+ " our specialists will decide when work will begin on the project and how much resources will be allocated to the project."
+ "
"
+ "That how many resources will be allocated for the development depends on how much this project will collect cash donations."
+ "
"
+ "You can also request a private project exclusively for you, but such a project can no longer be free.");
block->setSourceText(sourceText);
block->setBakcBroundPicture("qrc:/img/images/os.png");
diff --git a/Site/src/View/Header.qml b/Site/src/View/Header.qml
index 04ff92a..ac00e04 100644
--- a/Site/src/View/Header.qml
+++ b/Site/src/View/Header.qml
@@ -86,6 +86,14 @@ ToolBar {
}
+ Switch {
+ text: qsTr("Dark Mode")
+
+ onCheckedChanged: {
+ applicationRoot.Material.theme = (checked)? Material.Dark: Material.Light
+ }
+ }
+
anchors.fill: parent
}
diff --git a/Site/src/View/main.qml b/Site/src/View/main.qml
index 6187f98..2ebbfc0 100644
--- a/Site/src/View/main.qml
+++ b/Site/src/View/main.qml
@@ -5,7 +5,7 @@ import QtQuick.Controls.Material 2.14
import ViewSolutionsModule 1.0
ApplicationWindow {
- id: root
+ id: applicationRoot
visible: true
width: 640
height: 480