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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5Mjg5NzQsIm5iZiI6MTczODkyODY3NCwicGF0aCI6Ii83NDA1MzIyLzI0NjYwMjI5Mi1iMWE2N2MwYy0zNzAzLTRmYjAtYWYyYy1kOGU2OWRhYjhjZDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTE0NDM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzgxZWM0Yzg4OGI3YmQyMjI0MDMwNDY3ZmViN2Q1ZmQ5N2EwYTM2MmRlY2Q4N2ZhMDdhNzVkMWY0Yzg1ZDc4MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.IY15RTSIOLAppRGl7B5ti-VY8n5tT6wP8TpLFJwIEl0)
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!