Previous Homepage
The React / MUI / Redux predecessor of this site — every project page generated from one typed config.
TS · Docker · React · Redux · MaterialUi · Webpack · Netlify · ImageKit · EmailJS · GitHub
Previous Homepage
Describing my previous homepage on my homepage. Fun! This was my homepage before the current one, so some images are slightly outdated.
Rendering
Using Material-UI to style elements and apply themes. I chose React as I am slowly building up my reusable components. Redux might be overkill for such a small project but I use this as template for other projects.
Themes
Material-UI allows for easy usage for themes. Thus allowing for a bright and a dark mode <3
Styling
Material-UI also gives some handy styling.
Redux Store
The redux store gives us global state management. e.g. to display Toasts using the AlertState or updating the language selection using the languageState.
Example: Contact Page
Pages are so compact using those libraries. The component contains type definitions for props passed into the component. An internal state and functions to manage input. Another function to send an email on submit. And lastly the Global State for e.g. Alerts & Styles is mapped onto the component.
TS End to End
TS end to end, bundled by Webpack, shipped as a Docker image — install packages, build, serve the static output. The types are the point: the whole site is data, validated at compile time.
One Config Block Per Project
Every project is one typed config block — that block alone yields the card on the main page and the complete project page under its own route. Adding a project means adding data, not components. This page is such a config too.
Project Config Types
A Project Page consists of all of these type definitions. Several are optional like videos, images, downloads, etc.
Deployment
Code is on Github. Dynadot is my domain provider. Netlify is used for automatic deployment & Hosting.
Utility Libraries
Imagekit.io allows uploading of images. This way this homepage is being loaded faster as images are only downloaded on demand. and are automatically resized to the required size. EmailJs allows for very easy sending of emails.
ImageKit Io
This is a Screenshot of my Imagekit.io root containing all images used for this homepage.