home.view.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <div id="gamemodeCarousel" class="carousel slide mb-3" data-ride="carousel">
  2. <ol class="carousel-indicators">
  3. <?php for($i = 0; $i < count($carouselData); $i++) : ?>
  4. <li data-target="#gamemodeCarousel" data-slide-to="<?= $i ?>" class="<?= $i == 0 ? "active" : "" ?>"></li>
  5. <?php endfor; ?>
  6. </ol>
  7. <div class="carousel-inner">
  8. <?php foreach($carouselData as $data) : ?>
  9. <div class="carousel-item <?= $data["class"] ?>">
  10. <img class="d-block w-100" src="images/<?= $data["path"] ?>" alt="<?= $data["alt"] ?>">
  11. <div class="carousel-caption d-md-block text-left">
  12. <h1><?= $data["title"] ?></h1>
  13. <p class="lead"><?= $data["text"] ?></p>
  14. </div>
  15. </div>
  16. <?php endforeach; ?>
  17. </div>
  18. <a class="carousel-control-prev" href="#gamemodeCarousel" role="button" data-slide="prev">
  19. <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  20. <span class="sr-only">Previous</span>
  21. </a>
  22. <a class="carousel-control-next" href="#gamemodeCarousel" role="button" data-slide="next">
  23. <span class="carousel-control-next-icon" aria-hidden="true"></span>
  24. <span class="sr-only">Next</span>
  25. </a>
  26. </div>
  27. <div class="container">
  28. <hr class="featurette-divider"/>
  29. <div class="row featurette">
  30. <div class="col-lg-7 vertical-center">
  31. <h2 class="featurette-heading">Survival</h2>
  32. <p class="lead">
  33. Mundus Crassus offers a unique survival feeling by our own plugin. The plugin implements many new features, items and even our own script language.
  34. All additions were made with care to fit into Vanilla Minecraft. The system also provides protections to
  35. secure your land from others.<br>
  36. <br>
  37. </p>
  38. <a class="btn btn-secondary" href="?site=survival">Learn more</a>
  39. </div>
  40. <div class="col-lg-5">
  41. <img class="img-fluid rounded" src="images/survival.jpg" alt="Survival Spawn">
  42. </div>
  43. </div>
  44. <hr class="featurette-divider"/>
  45. <div class="row featurette">
  46. <div class="col-lg-7 vertical-center">
  47. <h2 class="featurette-heading">Minigames</h2>
  48. <p class="lead">
  49. Need a break from survival? For in between we offer our players a range of different single- and multiplayer games.
  50. </p>
  51. <a class="btn btn-secondary" href="?site=games">Learn more</a>
  52. </div>
  53. <div class="col-lg-5 order-lg-1">
  54. <img class="img-fluid rounded" src="images/dame.jpg" alt="Games Spawn">
  55. </div>
  56. </div>
  57. <!--<hr class="featurette-divider"/>
  58. <div class="row featurette">
  59. <div class="col-lg-7 order-lg-2 vertical-center">
  60. <h2 class="featurette-heading">Story</h2>
  61. <p class="lead">
  62. Speak with humans and they will tell you their story and needs. Complete quests and they will offer you various skills.<br>
  63. <br>
  64. </p>
  65. <a class="btn btn-secondary" href="?site=story">Learn more</a>
  66. </div>
  67. <div class="col-lg-5">
  68. <img class="img-fluid rounded" src="images/story.jpg" alt="Story Oma">
  69. </div>
  70. </div>-->
  71. <hr class="featurette-divider"/>
  72. <div class="row featurette">
  73. <div class="col-lg-7 vertical-center">
  74. <h2 class="featurette-heading">Creative</h2>
  75. <p class="lead">
  76. Let your creativity flow. In gamemode creative you can build whatever you want. Protect your structures and impress your friends.
  77. </p>
  78. <a class="btn btn-secondary" href="?site=creative">Learn more</a>
  79. </div>
  80. <div class="col-lg-5 order-lg-1">
  81. <img class="img-fluid rounded" src="images/creative.jpg" alt="Creative">
  82. </div>
  83. </div>
  84. <!--<hr class="featurette-divider"/>
  85. <div class="row featurette">
  86. <div class="col-lg-7 vertical-center">
  87. <h2 class="featurette-heading">Guild PVP</h2>
  88. <p class="lead">
  89. Guild PVP is all about choosing a class and level to unlock new skills.
  90. You can found guilds to play together with your friends and start sieging the guilds of others.
  91. Are you ready for the battlefields of Mundus Crassus?
  92. </p>
  93. <a class="btn btn-secondary" href="?site=gpvp">Learn more</a>
  94. </div>
  95. <div class="col-lg-5">
  96. <img class="img-fluid rounded" src="images/gpvp_dungeon.jpg" alt="Guild PVP Dungeon">
  97. </div>
  98. </div>-->
  99. </div>