Commit graph

15 commits

Author SHA1 Message Date
5afae11193 Everywhere: Replace calls to console.assert and throws with assertions
This patch replaces console.assert calls and random throw new Error
calls to crash on undefined behavior with predefined assertion
functions from utils.
2021-10-24 23:06:35 +02:00
4d71efb394 Util: Add assertions 2021-10-24 23:01:26 +02:00
c7cdec7d22 Util: Move guards into util 2021-10-24 22:55:20 +02:00
586546ee57 Everywhere: Rework website concept completely
This patch removes the Next.js React project that was contained
by this repository previously. The replacement is a vanilla HTML
page with TypeScript that parses it's own HTML source and highlights
it using on load.

The concept will be iterated on in following commits, planned are
on hover tooltips showing metadata about HTML tokens as well as
tokenizing (perhaps parsing) of JavaScript and CSS to be able to
highlight those sections as well. To properly determent the range
of script and style sections it might be required to also implement
HTML tree building, however on read execution of JavaScript or
on the fly parsing as well as fragment parsing is not required for
the site.

This commit merely represents a start and is made to better track
the progress of changes.
2021-10-24 22:36:38 +02:00
5a0b607f11 Merge branch 'master' of https://gitlab.upi.li/networkException/nwex.de 2021-04-04 21:08:09 +02:00
38d7bd2c40 Api: Make getGitActivity return an array with datapoint objects 2021-04-04 21:07:43 +02:00
Niklas Schrötler
a7f833769d Cleaned getGitActivity route 2021-04-04 20:49:53 +02:00
Niklas Schrötler
8d7235bb82 Added /api/getGitActivity, added boilerplate for GitActivity
(yarn install is required after pull)
2021-04-04 20:38:59 +02:00
Niklas Schrötler
d4d7e0d4f0 Fixed bug where images would be squished/stretched in SocialBadge 2021-04-04 19:42:47 +02:00
Niklas Schrötler
6fa69bceca Finalised first SocialBadge revision 2021-04-04 18:02:52 +02:00
ece8b40efa Tailwind: Extended color configuration with brand colors 2021-04-04 17:36:26 +02:00
Niklas Schrötler
1762d6215a Added SocialBadge, moved assets 2021-04-04 17:33:34 +02:00
f0ee842a1b Reference: Added tokenizer code from temporary project 2021-04-04 16:53:23 +02:00
e08394bd16 Assets: Imported fonts and social badge icons from temporary project 2021-04-04 16:51:45 +02:00
Niklas Schrötler
899acea719 Added Next.js with TS and Storybook with Boilerplate 2021-04-04 16:46:47 +02:00