This repo contains the demo site from my Umbraco Block Grid talk at CodeGarden in June 2023.
![image](https://private-user-images.githubusercontent.com/7405322/246602292-b1a67c0c-3703-4fb0-af2c-d8e69dab8cd9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzY0NDgsIm5iZiI6MTczODkzNjE0OCwicGF0aCI6Ii83NDA1MzIyLzI0NjYwMjI5Mi1iMWE2N2MwYy0zNzAzLTRmYjAtYWYyYy1kOGU2OWRhYjhjZDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTM0OTA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTA2YjZhMDhkZmFiYzdkYThjMzM1M2UxMjNjNjIzNWI0NjIwMjI2NWQ5YjIxYzM5YzkyODhlZTRhMDgxNDA3OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.4TUjCdrpWs8SVzER8_xeMIEvC8-5AqsP0j3bjCu7vgs)
The site is built on Umbraco 11.4, which means you need .NET 7 to run it.
The site DB is included in this repo, so you should be able to "just" clone the repo and run the site.
The credentials for the backoffice are:
- Email: admin@localhost
- Password: SuperSecret123
...these are also displayed on the login screen 😄
Among other things, this repo demonstrates how one can build back-office custom views for the Block Grid using web components for encapsulation, and reuse these web components when rendering the front-end site. Umbraco 11 does not natively support loading custom scripts as modules, so we have to get a little creative in order to load the web components into the back-office. Have a look at loader.js
to see what that looks like.
Have fun!