templates/homepage/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Hello HomepageController!{% endblock %}
  3. {% set modalId = 'main-alert' %}
  4. {% block body %}
  5.     <div id="front-page">
  6.         <h1>Welcome to AppyTimes</h1>
  7.         <div class="alert alert-warning alert-dismissible fade show" role="alert">
  8.             Please excuse the (temporary) poor design on this page, <strong>AppyTimes</strong> has been launched prematurely due to the events happening in Ukraine.
  9.             <button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#{{ modalId }}">Learn more</button>
  10.             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  11.         </div>
  12.         <section data-aos="fade-up" data-aos-delay="100">
  13.             <h2 class="section-title"><span>Who and what is AppyTimes?</span></h2>
  14.             <p>My name is Kilian Klein and I am a software engineer with a very large imagination, a great (yet sometimes questionable) sense of humor, and an intense passion for people and for improving things.
  15.                 <br><strong>AppyTimes</strong> a dream to make a great impact on the world while bringing smiles out on the way.
  16.                 <br><strong>And how do I plan to do so?</strong> A YouTube channel on which each video shows a concept of a community application to make the world a better place to live in.
  17.                 With each of these videos, a working prototype would actually be available for people to try.
  18.                 <br>We harvest the power of social media, the internet and the kindness of people in general, all of it sprinkled with a little bit of entertainment.
  19.                 <br>Join us to make that dream a reality!
  20.             </p>
  21.         </section>
  22.         <section data-aos="fade-up" data-aos-delay="100">
  23.             <h2 class="section-title"><span>AppyTimes on Social Media</span></h2>
  24.             <div id="appy-social-links">
  25.                 {% include 'social_media_links.html.twig' %}
  26.             </div>
  27.         </section>
  28.         <section data-aos="fade-up" data-aos-delay="100">
  29.             <h2 class="section-title"><span>Supporting us</span></h2>
  30.             <p>
  31.                 The first step in supporting us is to follow us and subscribe on all of our social media. There is power in numbers and it is essentially true on these platforms.
  32.                 <br><strong>Plus... It's free of charge!</strong>
  33.             </p>
  34.         </section>
  35.         <section data-aos="fade-up" data-aos-delay="100">
  36.             <h2 class="section-title"><span>Our current projects</span></h2>
  37.             <div id="appy-projects">
  38.                 <div class="row">
  39.                 {% for project in projects %}
  40.                     <div class="col-3">
  41.                         <div class="appy-project">
  42. {#                            {% if project.thumbnail %}#}
  43.                             {% if false %}
  44.                                 <img src="{{ project.thumbnail }}" class="card-img-top" alt="{{ project.url }}">
  45.                             {% else %}
  46.                                 <svg class="bd-placeholder-img card-img-top" width="100%" height="180"
  47.                                      xmlns="http://www.w3.org/2000/svg" role="img"
  48.                                      aria-label="Placeholder: Image cap" preserveAspectRatio="xMidYMid slice"
  49.                                      focusable="false">
  50.                                     <title>Placeholder</title><rect width="100%" height="100%" fill="#868e96"></rect>
  51.                                     <text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
  52.                                 </svg>
  53.                             {% endif %}
  54.                             <div class="card-body">
  55.                                 <h5 class="card-title"><a href="{{ project.url }}">{{ project.name | raw }}</a></h5>
  56.                                 <p class="card-text">{{ project.shortDescription | raw }}</p>
  57.                                 <a href="{{ project.url }}" class="btn btn-primary">Check it out</a>
  58.                             </div>
  59.                         </div>
  60.                     </div>
  61.                 {% endfor %}
  62.                 </div>
  63.             </div>
  64.         </section>
  65.     </div>
  66.     {% set modalUkraineBody %}
  67.         <div class="alert alert-warning">
  68.             <p>
  69.                 As much as <a href="https://appytimes.org">AppyTimes</a> tries to remain politically neutral at all times, this situation is fundamentally different: we strongly support the defense of human rights and therefore, stand with the Ukrainian people <strong>fighting for their life, freedom and overall, for democracy</strong>.
  70.             </p>
  71.             <p>
  72.                 In order to do our part in helping during these difficult times, we are concentrating our efforts on providing help to the refugees who had the time and opportunity to leave Ukraine. We hope that by this action, we can not only help those that are out of the country, but also those who remained by providing them with a little bit of relief that their loved ones are safe and taken care of.
  73.             </p>
  74.             <p>
  75.                 <em>We are also very aware that the events currently happening in Ukraine are not isolated and that other refugees in other countries need help and support.
  76.                     <br> We promise you that the design of this application takes this in consideration so that <a href="https://ukraid.appytimes.org">ukraid.appytimes.org</a> would be easily extendable to be used everywhere else in the future.</em>
  77.             </p>
  78.             <p>
  79.                 <strong>
  80.                     As for every one of our projects, AppyTimes needs your help spreading the message! Please share the <a href="https://ukraid.appytimes.org">URL to the app</a>, subscribe to our <a href="https://www.youtube.com/channel/UCuOa8aT9uniQqC5UhNNItKg">YouTube channel</a> and share the corresponding video, join the <a href="https://www.twitch.tv/appy_times">livestreams on Twitch</a> to brainstorm with us on the different functionality that could be useful in this specific context.
  81.                 </strong>
  82.             </p>
  83.         </div>
  84.     {% endset %}
  85.     {% include 'bootstrap/modal.html.twig' with {modalId: modalId, modalBody: modalUkraineBody} %}
  86. {% endblock %}