aboutsummaryrefslogtreecommitdiff
path: root/templates/en/core/home.html
blob: 5ecb7a2e4e32554d0eafaddcc14565ca7190891d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{% extends 'shared/core/base.html' %}
{% load static %}
{% block head %}
<link rel="stylesheet" href="{% static 'css/core/home.css' %}">
{% endblock head %}
{% block content %}
<div id="welcome">
  <p>
    Welcome to the home of <strong>Shifoo</strong> (previously <i>That Computer Scientist</i>). My name is <a href="#">@bobby</a>, and this is my personal
    website. I aim to build a retro looking personal website, where I share my thoughts, ideas, and experiences through articles, and will showcase some cool nostalgic features and tools.
  </p>
  <p>
  Please note that I am continuously working on this site, and it is still under construction. So, not all features are available yet, and some features may not work as intended.
  </p>
  <p>
    There's also a some of <a href="#thegoodstuff">The Good Stuff</a> you can find in the sidebar, that you can play around with. I will be adding more in the not so distant future.
    Also, To participate around various sections of the site, you will need to <a href="#">register</a> for an account. I hope you enjoy your stay here.
  </p>
  <div id="chatbox">
    <div id="messages"></div>
    <textarea id="chatbox-input" placeholder="Type your message here... (⏎ to send)"></textarea>
  </div>
</div>
<img src="{% static 'images/core/gifs/construction.gif' %}" id="uc">
<div id="announcements">
  <img src="{% static 'images/core/gifs/update.gif' %}" style="height: 14px; position: relative; top: 4px; left: 124px;">
  {% if announcements is not None %}
  <div id="announcement-container">
    <div id="announcementsMarquee">
      {% for announcement in announcements %}
        <div class="announcement">
          <div class="announcement-icon">
            {% if announcement.is_new %}
              <img src="{% static 'images/core/gifs/new_announcement.gif' %}" alt="New Announcement" />
            {% else %}
              <img src="{% static 'images/core/gifs/hand.gif' %}" alt="Announcement" />
            {% endif %}
          </div>
          <div class="announcement-content">
            <u><strong>{{ announcement.created_at | date:"M d, Y" }}</strong></u>: {{ announcement.content | safe }}
          </div>
        </div>
      {% endfor %}
    </div>
  </div>
  {% endif %}
</div>
<div class="pamphlet pamphlet-banner"></div>
<h1 class="section-title">Contemplations of Late</h1>
<div class="recent-weblogs">
  {% include 'partials/_weblog_list.html' with posts=recent_weblogs %}
</div>
<h1 class="section-title">Recent Weeb Degenerecy</h1>
<div class="recent-anime">
  {% for anime in recent_mal_activity.anime %}
    <a class="anime" href="{{ anime.url }}" target="_blank">
      <div class="anime-image">
        <img src="{{ anime.image_url }}" alt="{{ anime.title }}">
      </div>
      <div class="anime-content">
        <h3>{{ anime.title }}</h3>
        <div class="anime-details">
          <span class="anime-status">{{ anime.status }}</span>
          <span class="anime-episodes">{{ anime.episodes_seen }}/{{ anime.episodes_total }}</span>
        </div>
      </div>
    </a>
  {% endfor %}
</div>
<div class="pamphlet pamphlet-banner"></div>
{% endblock %}
{% block scripts %}
<script src="{% static 'js/libs/marquee.js' %}"></script>
<script type="text/javascript">
  const announcementsMarquee = document.getElementById('announcementsMarquee');
  const marquee = new Marquee(announcementsMarquee, {
    behavior: 'scroll',
    direction: 'up',
    scrollamount: 1,
    scrolldelay: 50,
    width: '100%',
    height: '236px',
    onmouseover: 'this.stop()',
    onmouseout: 'this.start()'
  });
</script>
{% endblock scripts %}