summaryrefslogtreecommitdiff
path: root/new/splash/pages/index.html.erb
blob: e5ee6f6576c0dceb1765b6667a6f4c6fa81616f4 (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="utf-8">
    <title>Crys SITE</title>
    <link rel="canonical" href="https://crys.site">
    <meta name="robots" content="index, follow">
    <meta property="og:title" content="Crys Site">
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://crys.site">
    <meta property="og:description" content="Michal's personal website">

    <meta name="fediverse:creator" content="@mms@bsd.cafe">
    <link rel="me" href="https://mastodon.bsd.cafe/@mms" title="@mms on bsd.cafe">

    <style>
      body {
          text-align: center;
          background-color: #c2c2c2;
          background-image: url("<%= process_image(file: "background.png").relative_path %>");
          color: #000;
      }

      a {
          color: #000;
      }
      ol {
      padding: 0;
      }

      ol li{
      list-style-type: none;
      }

      img.webutton {
      border: 0;
      text-decoration: none;
      color: #c2c2c2;
      margin: 10px;
      }

    </style>

  </head>
  <body>

    <h1>Crys SITE</h1>

    <p>
      Hi!
      I'm Michal and this is my personal webpage.
    </p>

    <p>
      The World Wide Web used to be fun, scrappy, and ours; let's bring it back.
    </p>

    <p>
      <b>NOTE: I am not a real <%= not_real %>, and I can be wrong sometimes</b>.

    </p>
    

    <hr>
    <p>
      Updated <%= Time.now.strftime("%B %d, %Y") %>
    </p>

    <hr>
    <h2>Contents</h2>

    <h3>Main sections</h3>


    <nav>
      <ol>
        <li><a href="/blog">My personal blog</a>
          <%= update_badge("blog")%>
        <li><a href="/bsd">Guides on using FreeBSD on a PC</a>
          <%= update_badge("bsd")%>
        <li><a href="/emacs">Guides on using Emacs for not obvious tasks</a>
          <%= update_badge("emacs")%>
        <li><a href="/unix-history">A short Unix History</a>
          <%= update_badge("unix-history")%>
        <li><a href="/reviews">Reviews of narrative works</a>
          <%= update_badge("reviews")%>
        <li><a href="/star-trek">Star Trek fansite</a>
          <%= update_badge("star-trek")%>
      </ol>


      <h3>Projects</h3>

      <ol>
        <li><a href="/projects/chotto">Chotto</a> - a initial tagging system for Notmuch
          <%= update_badge("chotto")%>
      </ol>


      <h3>Mirrors</h3>
      <ol>
        <li><a href="/mirror/userfriendly">User Friendly comic mirror</a>
      </ol>

      <h3>Even more</h3>


        <ol>
          <li><a href="/more/bookmarks/">Bookmarks</a> to cool things on the web
            <%= more_update_badge(name: :bookmarks)%>
          <li><a href="/more/links/">Links</a> to other sites
            <%= more_update_badge(name: :links)%>
          <li><a href="/more/irc/">IRC Channel</a> of this site
          <li><a href="/more/contact/">Contact</a>
          <li><a href="/more/now/">Now</a>
          <li><a href="/more/uses/">Uses</a>
        </ol>

</nav>
    <hr>


    <h2>Recent updates</h2>

    <nav>
      <ol>
        <% fetch_rss(name: :main).items.first(10).each do |item| %>
        <li><a href="<%=item.link%>"><%= item.title %></a> (<%=item.date.strftime("%B %d, %Y")%>)
          <% end %>
      </ol>
    </nav>
    

    <hr>
    <p>
      This is self-hosted site.
      You are connected live to my living room.
    </p>

    <div>
      <%= webbutton(file: "org.freebsd.gif", url: "https://www.freebsd.org/", alt: "Powered by FreeBSD") %>
      <%= webbutton(file: "org.dillo.gif", url: "https://www.dillo.org/", alt: "Optimized for Dillo") %>
    </div>
  </body>
</html>