a couple changes

This commit is contained in:
Ellpeck 2018-08-15 23:27:17 +02:00
parent 98af0b165f
commit fc6f29aafa
3 changed files with 16 additions and 17 deletions

View file

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Oh no :(</title> <title>404</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="icon" href="favicon.ico"> <link rel="icon" href="favicon.ico">
@ -31,12 +31,13 @@
a { a {
color: #6c767c; color: #6c767c;
text-decoration: none;
} }
</style> </style>
</head> </head>
<body> <body>
<div class="content"> <div class="content">
<h1>Oh no :(</h1> <h1>Four Oh Four</h1>
<p> <p>
There's nothing here, I'm sorry. There's nothing here, I'm sorry.
</p> </p>
@ -46,17 +47,15 @@
const messages = [ const messages = [
'Maybe try a different place?', 'Maybe try a different place?',
'Do you want to know a secret?', 'Do you want to know a secret?',
'This is a magical place.', 'This is a magical place',
'What were you trying to find?', 'What were you trying to find?',
'Now my day is ruined', 'Now my day is ruined',
'There\'s a place like this somewhere', 'There\'s a place like this somewhere',
'I shall overcome this obstacle.', 'I shall overcome this obstacle.',
'Mhmm mh mhhhhm mhmh mhmm mhm', 'Why are you like this?',
'Confucius once said: This page is unavailable', 'this is so sad alexa play despacito',
'Actually, I lied... there\'s a lot here. You just can\'t see it.', 'The server is at a loss for what you were trying to find',
'My disappointment is immeasurable and my day is ruined', 'oh no :('
'Ellpeck probably failed the code',
'Why are you like this?'
]; ];
let message = Math.floor(Math.random() * messages.length); let message = Math.floor(Math.random() * messages.length);
@ -65,7 +64,7 @@
</p> </p>
</div> </div>
<div class="disclaimer"> <div class="disclaimer">
<em>If you think there should be something here, please notify me at <a href="mailto:me@ellpeck.de">me@ellpeck.de</a>. Thanks!</em> <em>If you think there should be something here, please notify me at <a href="mailto:me@ellpeck.de">me@ellpeck.de</a>.</em>
</div> </div>
</body> </body>
</html> </html>

View file

@ -18,10 +18,6 @@ const questions = [{
'q': "What's your sexual orientation?", 'q': "What's your sexual orientation?",
'a': 'I like cute guys.' 'a': 'I like cute guys.'
}, },
{
'q': 'Are you in a relationship?',
'a': 'I feel like my relationship status is constantly "It\'s complicated".'
},
{ {
'q': 'What languages do you speak?', 'q': 'What languages do you speak?',
'a': 'German, English, Java, JavaScript, C# and a bit of C, HTML and CSS.' 'a': 'German, English, Java, JavaScript, C# and a bit of C, HTML and CSS.'
@ -36,11 +32,15 @@ const questions = [{
}, },
{ {
'q': 'How did you make this site?', 'q': 'How did you make this site?',
'a': 'I made this page myself using <a href="https://getbootstrap.com/">Bootstrap</a>. I have something to confess, though: Most of the content on this page is dynamically generated using JavaScript. I think it\'s practical and useful to do this, but I also know that it\'s bad practice because it gives search engines and some other stuff a bit of trouble. Oh well. If you\'re curious about the (probably pretty messy) code, then you can check out the <a href="https://github.com/Ellpeck/Web">GitHub repository</a>.' 'a': 'I made this page using <a href="https://getbootstrap.com/">Bootstrap</a>. 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 <a href="https://github.com/Ellpeck/Web">GitHub repository</a>.'
}, },
{ {
'q': 'Tabs or spaces?', 'q': 'Tabs or spaces?',
'a': (Math.random() >= 0.5 ? 'Tabs' : 'Spaces') + '.' 'a': (Math.random() >= 0.5 ? 'Tabs' : 'Spaces') + '.'
},
{
'q': 'What\'s the deal with life?',
'a': 'Man, if I knew.'
} }
]; ];

View file

@ -71,7 +71,7 @@ const projects = [{
'links': { 'links': {
'Play it here': 'https://www.ellpeck.de/crossword/' 'Play it here': 'https://www.ellpeck.de/crossword/'
}, },
'status': 'On hold', 'status': 'Done-ish',
'icon': 'crossword' 'icon': 'crossword'
}, },
{ {
@ -80,7 +80,7 @@ const projects = [{
'links': { 'links': {
'Check it out here': 'https://www.ellpeck.de/poemgen/' 'Check it out here': 'https://www.ellpeck.de/poemgen/'
}, },
'status': 'Cancelled', 'status': 'Done-ish',
'icon': 'poem' 'icon': 'poem'
} }
]; ];