From e00314bda971f6c721c48931753c62d9d643d174 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 8 Nov 2018 00:15:15 +0100 Subject: [PATCH] Some visual improvements and also NA --- 404.html | 3 ++- res/projects/na.png | Bin 0 -> 5676 bytes scripts/about.js | 4 ++++ scripts/projects.js | 21 ++++++++++----------- scripts/quote.js | 12 +++++++++++- scripts/support.js | 2 +- style.css | 7 ++++++- 7 files changed, 34 insertions(+), 15 deletions(-) create mode 100644 res/projects/na.png diff --git a/404.html b/404.html index de7152b..4cad438 100644 --- a/404.html +++ b/404.html @@ -63,7 +63,8 @@ 'Why are you like this?', 'this is so sad alexa play despacito', 'The server is at a loss for what you were trying to find', - 'oh no :(' + 'oh no :(', + 'The world is quiet here.' ]; let message = Math.floor(Math.random() * messages.length); diff --git a/res/projects/na.png b/res/projects/na.png new file mode 100644 index 0000000000000000000000000000000000000000..fac9fd0c9db3fff53a66d77b1ad4999be72d5b83 GIT binary patch literal 5676 zcmeHLc~F!28P3igQspi!mk@z&#oY?hs1Z3*3?aHGEKqeBB`iZRUO@~g5DCf7x&k5? zsOx5EIHqJ59H~$hkRyQ0a-^h!85URx*J8L7j0Cb=f%Nx%2_*Rlww;mAPP>1Ed?EQA z@9{j(`@UB{3?Le9w%LqAp^Oe4^bH2@522UAJK%3{@A*yO?Jcs;5g!!lE_;h2;%)Hx zXE6suV^JvMI_UMrvjcY@f`3}k2p`cxE}WvpM^K|sF%f5?X)e)Gv~9ax++5ru-^=kw zp?-1ukgw106G)SNM@qvwBU&Q3?WW}oZ(VkK$I#*G?Sppm`+xk_#B{3bSJW%PFKxg4 zU7B0w-eAY0H*Ib{xW(K1fq`j{alr=^^3Df|gQCt@Cb5_#_U`Uyjc1qC(z>JplOf_u zL?V%!_+5op2fLyw{=68obefyk@>)LLKOUaI5cDh-qdlu{W9t){g5vgk>zToAxp%pa zuHqjKXK~7lPLqQr1hc&a60JEpjStQzkh<~;at~!$627ybi>zyQ$nH_vE$E?%X>q?M zk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MT#LAA0P6{`ZKelU(s{~K6>*^Icey71ZBYZU>0Nw!d95}}sv8*2Eo8bt#yG7sl5 z(i9t+x41BFR_d*MDN4;Jxnm_lcD=i=va+jh=Ega4iej;d6?eALqq{BL2k@<%D)gFg zyo`n`0f?JIlhR@SS)mcY27E5$RG4{=p`GCVNaIZdDO>_Tyu#^hQE`VRQVlh51p%?f z|K72)t=HJs>El@rLiE>fI+b|OJ{G06v*sr<>+2ZH#b!X~8M}x2o?E8ySxeat(y-cH zlIEK@?>$3(Le@SNN@5~c_!yaakjp{puhO~7vpVSuQh!wq5Sa(<2BrRrnCMGikoqfH zgn%4CBY^}`e?`g=kb?;qr2dK$A|MA>j3D(_ltkywYO)5H-$=v7@=>()J%yR)E=ha4 zUB+Br3MiJRpWO)0NO<0QCB&&eap?qp20c%Ck@NiyNHDbgbLsO(xfo9ZN!L8~y{g#c zB7sJpp%r66d*j<)TF_TT6%L|T>qwh*o};U-`-o3^-MaO-TFT}I_X?`0)ssIS{4$L6lW%#c32&~!9u z{`)H+TkWQo%VY6O>f}TwatNW-3?e5GTJ6`G@qESd=eXCqAWrxg*MW!e3FTAW}&G1icY7cX|_TNen()lx9xP`k*O0$|mX z{Q}I}3RLEE@L)=p7FW0k=5pX0m;oNc3&!i$DcYXuITH6 z`un&-ia7cl)W>^tR8Su50sT6t#l#ijKLe{pZDkZO1?s;~lY1&AE1*8R3_}seoq)y* rJ=qnMnmf=KVe;_5+D@qq$X&oyh8Bootstrap. The content is dynamically generated using JavaScript based on a bunch of JSON data. If you\'re curious about the (probably pretty messy) code, then you can check out the GitHub repository.' }, + { + 'q': "What's your favorite ice cream?", + 'a': 'Frozen yogurt.' + }, { 'q': 'Tabs or spaces?', 'a': (Math.random() >= 0.5 ? 'Tabs' : 'Spaces') + '.' diff --git a/scripts/projects.js b/scripts/projects.js index 0144b36..f7a7fa8 100644 --- a/scripts/projects.js +++ b/scripts/projects.js @@ -1,4 +1,10 @@ const projects = [{ + 'name': "Nature's Aura", + 'desc': "Nature's Aura is a new Minecraft mod about collecting, using and replenishing the Aura naturally present in the world to create useful devices and unique mechanics. It's currently not released yet, but the first public beta will be very soon.", + 'status': 'In development', + 'icon': 'na' + }, + { 'name': 'Rock Bottom', 'desc': 'Rock Bottom is a game I\'ve been working on for a little more than a year now. It\'s a 2D-sidescrolling sandbox game with a storyline that has multiplayer support, a modding API and a lot more fun stuff. It\'s currently still in early development.', 'links': { @@ -18,15 +24,6 @@ const projects = [{ 'status': 'Handed off', 'icon': 'aa' }, - { - 'name': 'Music', - 'desc': 'As a little thing on the side, I started making some music. It\'s a lot of chiptune and similar stuff. I just started out, so I\'m not necessarily very good at it yet. If you\'re interested though, you should have a listen!', - 'links': { - 'SoundCloud': 'https://soundcloud.com/ellopecko' - }, - 'status': 'Side project', - 'icon': 'music' - }, { 'name': 'Glimmers in the Shadow', 'desc': 'Glimmers in the Shadow is a book I\'ve been working on for a while. It contains stories and poems I wrote over the course of about two years. Here\'s the description from the cover:
It turns out that life as a human person isn\'t as easy as some people might lead you to believe.
During the last couple of years, my main way of dealing with negative feelings has been writing poems and stories as a way to understand my feelings or start thinking about something different."
This book is a collection of stories, poems, and personal anecdotes written by a teenager struggling with life. They go far beyond that, though: They\'re deep, weird, confusing, they\'re emotional. But together, they tell a story of a young person trying to understand the world.
', @@ -78,8 +75,10 @@ for (project of projects) { p += '' + project['status'] + ''; let links = project['links']; - for (let name in links) { - p += '' + name + ''; + if (links) { + for (let name in links) { + p += '' + name + ''; + } } p += ''; diff --git a/scripts/quote.js b/scripts/quote.js index ac20bfe..4ad606f 100644 --- a/scripts/quote.js +++ b/scripts/quote.js @@ -9,6 +9,8 @@ Maroon 5 The Script Poppy + IAMX + The Faint */ const quotes = [ @@ -78,6 +80,14 @@ const quotes = [ "Can't go a day without computer boy", "I don't care and I won't change myself", "I fell in love with the man of the future", - "Baby, you're the highlight of my lowlife" + "Baby, you're the highlight of my lowlife", + "I just wanna turn the lights on", + "I come with knives and agony", + "I drove through countries like a marching funeral", + "In the search of fools and utopia", + "Evil voices lie when they say you're alone", + "I walk with the noise", + "I need to surrender", + "Oh my god, you're beautiful" ]; $('#quote-text').html('' + quotes[Math.floor(Math.random() * quotes.length)] + ''); \ No newline at end of file diff --git a/scripts/support.js b/scripts/support.js index b8f44c3..9536a37 100644 --- a/scripts/support.js +++ b/scripts/support.js @@ -26,7 +26,7 @@ for (way of support) { sp += '' + way['name'] + ''; sp += ''; - sp += '
'; + sp += '
'; sp += way['desc']; sp += '
'; diff --git a/style.css b/style.css index af0a0b3..e7df10a 100644 --- a/style.css +++ b/style.css @@ -110,7 +110,12 @@ body { .card-link { margin-left: 0px !important; - margin-right: 10px; + margin-right: 20px; + margin-bottom: 20px; +} + +.support-desc { + margin-top: 10px; margin-bottom: 10px; }