LRG

#Html

Failing at web components

I think I should know about Web Components™ I have no idea how this is going to work, but I have used Vue & React components in the past. I personally feel like Web Components should be the way forward, but my lazy self has not spent any serious time trying to get to grips with them

but here’s what I imagine a web component might look like. Absolute pseudo-code. I know nothing.

<script>
	// some JS goes in here to make things work
</script>
<template>
	<!-- some HTML goes in here -->
</template>
<style>
	/* some scoped CSS go in here */
</style>

This is probably a reflection of how much time I’ve spent in Vue.js recently, but it’s conceptually what I’m imagining is required to build something as a Web Component.

Read "Failing at web components"

Tweets as postcards

I did an experiment trying to make my old Tweet archive look like postcards. It’s a nice aesthetic if you’re on a PC, but less easily readable on mobile. This really needs to be backed out. It will, eventually.

It’s intended to look like the back of a postcard, with a cute postmarked ’twitter’ stamp

I was particularly proud of the ‘smudged’ postmark on the stamp. All done with CSS :)

Read "Tweets as postcards"

Default

This layout style is inspired by really early penguin classics. It accepts all the theme colours, but doesn’t have a place to display an image.

If the author is not defined, the layout will display the official Chicken logo.

Read "Default"

Notebook

Read "Notebook"