Added a link on home page to about website

This commit is contained in:
Pierre 2018-05-10 15:17:49 +02:00
parent 4383efa32c
commit 9126a08d2f
2 changed files with 12 additions and 1 deletions

View File

@ -19,6 +19,9 @@ ComunicWeb.pages.home.landingPage = {
//Prepare additional data //Prepare additional data
var additionalData = { var additionalData = {
//About the website URL
about_url: ComunicWeb.__config.aboutWebsiteURL,
//Background image URL //Background image URL
backgroundImage: ComunicWeb.__config.assetsURL + "img/pages/home/landingPage/img_background.jpg" backgroundImage: ComunicWeb.__config.assetsURL + "img/pages/home/landingPage/img_background.jpg"

View File

@ -11,14 +11,17 @@
<h1>Comunic</h1> <h1>Comunic</h1>
<h3>[[_landing_main_caption]]</h3> <h3>[[_landing_main_caption]]</h3>
<div class="learn_more"><a href="{about_url}">Learn more</a></div>
<br /> <br />
<a class="btn btn-lg btn-primary" target="create_account">[[_landing_signup_link]]</a> <a class="btn btn-lg btn-primary" target="create_account">[[_landing_signup_link]]</a>
<a class="btn btn-lg btn-success" target="login">[[_landing_signin_link]]</a> <a class="btn btn-lg btn-success" target="login">[[_landing_signin_link]]</a>
</div> </div>
</div> </div>
</div> </div>
<!-- Page styles --> <!-- Page styles -->
@ -49,4 +52,9 @@
border-radius: 5px; border-radius: 5px;
} }
#homeMessage .learn_more a {
color: black;
font-size: 110%;
}
</style> </style>