<?php include("layout/top.php"); ?>
    <div class="row">
        <div class="col-md-12">
            <div class="alert alert-light" role="alert">
                <?php echo $settingsArray["name_big"].$settingsArray["name_small"]; ?> is still in development.
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <h3><?php echo $settingsArray["name_big"].$settingsArray["name_small"]; ?></h3>
            <p>
                <?php echo $settingsArray["name_big"].$settingsArray["name_small"]; ?> is a oAuht Provider to login with a single user to different Services. You just need one Account to use all Services, also other developers can add this Service to there services.
            </p>
            <p>
                In the test phase of the Project you need an Invite-Code to create a new Account.
            </p>
        </div>
    </div>
<?php
if(count($apps) > 0) {
?>
    <div class="row">
        <div class="col-md-12">
            <h3>Login to</h3>
        </div>
    </div>
    <div class="row">
        <?php
        foreach($apps as $app) {
        ?>
        <div class="col-md-4" style="margin-top:10px;">
            <a href="<?php echo $app->direct_url; ?>">
                <div class="card">
                    <div class="card-body" style="padding-top:0px;padding-bottom:0px;">
                        <img src="/gui/apps/<?php echo $app->id; ?>/icon" style="width: 50px;margin-right:40px;margin-top:5px;margin-bottom:5px;"><?php echo $app->name; ?>
                    </div>
                </div>
            </a>
        </div>
        <?php } ?>
    </div>
<?php } ?>

<?php include("layout/bottom.php"); ?>