Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 01-branding-manage-initial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02-home-branding-applied-fullload.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 03-save-applies-color-immediately.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ COPY modules/Notifications/src/SimpleModule.Notifications.Contracts/*.csproj mod
COPY modules/Notifications/src/SimpleModule.Notifications/*.csproj modules/Notifications/src/SimpleModule.Notifications/
COPY modules/RateLimiting/src/SimpleModule.RateLimiting.Contracts/*.csproj modules/RateLimiting/src/SimpleModule.RateLimiting.Contracts/
COPY modules/RateLimiting/src/SimpleModule.RateLimiting/*.csproj modules/RateLimiting/src/SimpleModule.RateLimiting/
COPY modules/Branding/src/SimpleModule.Branding.Contracts/*.csproj modules/Branding/src/SimpleModule.Branding.Contracts/
COPY modules/Branding/src/SimpleModule.Branding/*.csproj modules/Branding/src/SimpleModule.Branding/

RUN dotnet restore template/SimpleModule.Host/SimpleModule.Host.csproj

Expand All @@ -96,6 +98,7 @@ COPY modules/BackgroundJobs/src/SimpleModule.BackgroundJobs/package.json modules
COPY modules/Email/src/SimpleModule.Email/package.json modules/Email/src/SimpleModule.Email/
COPY modules/Notifications/src/SimpleModule.Notifications/package.json modules/Notifications/src/SimpleModule.Notifications/
COPY modules/RateLimiting/src/SimpleModule.RateLimiting/package.json modules/RateLimiting/src/SimpleModule.RateLimiting/
COPY modules/Branding/src/SimpleModule.Branding/package.json modules/Branding/src/SimpleModule.Branding/
COPY packages/SimpleModule.Client/package.json packages/SimpleModule.Client/
COPY packages/SimpleModule.Theme.Default/package.json packages/SimpleModule.Theme.Default/
COPY packages/SimpleModule.TsConfig/package.json packages/SimpleModule.TsConfig/
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ COPY modules/Notifications/src/SimpleModule.Notifications.Contracts/*.csproj mod
COPY modules/Notifications/src/SimpleModule.Notifications/*.csproj modules/Notifications/src/SimpleModule.Notifications/
COPY modules/RateLimiting/src/SimpleModule.RateLimiting.Contracts/*.csproj modules/RateLimiting/src/SimpleModule.RateLimiting.Contracts/
COPY modules/RateLimiting/src/SimpleModule.RateLimiting/*.csproj modules/RateLimiting/src/SimpleModule.RateLimiting/
COPY modules/Branding/src/SimpleModule.Branding.Contracts/*.csproj modules/Branding/src/SimpleModule.Branding.Contracts/
COPY modules/Branding/src/SimpleModule.Branding/*.csproj modules/Branding/src/SimpleModule.Branding/

RUN dotnet restore template/SimpleModule.Worker/SimpleModule.Worker.csproj

Expand Down
5 changes: 5 additions & 0 deletions SimpleModule.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
<Project Path="tools/SimpleModule.DevTools/SimpleModule.DevTools.csproj" />
</Folder>
<Folder Name="/modules/" />
<Folder Name="/modules/Branding/">
<Project Path="modules/Branding/src/SimpleModule.Branding.Contracts/SimpleModule.Branding.Contracts.csproj" />
<Project Path="modules/Branding/src/SimpleModule.Branding/SimpleModule.Branding.csproj" />
<Project Path="modules/Branding/tests/SimpleModule.Branding.Tests/SimpleModule.Branding.Tests.csproj" />
</Folder>
<Folder Name="/modules/Dashboard/">
<Project Path="modules/Dashboard/src/SimpleModule.Dashboard.Contracts/SimpleModule.Dashboard.Contracts.csproj" />
<Project Path="modules/Dashboard/src/SimpleModule.Dashboard/SimpleModule.Dashboard.csproj" />
Expand Down
Binary file added docs/branding/01-branding-applied.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/branding/02-admin-manage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions docs/branding/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Branding module — screenshots

The Branding module lets an administrator customize the appearance of a
SimpleModule application from a single global configuration at
`/branding/manage`. Colors, custom CSS, and the favicon are injected into the
document `<head>` server-side (no flash), while the app name, logo, top bar, and
footer reach the client as Inertia shared props.

## Branding applied across the app

Custom top bar (message + link + dismiss), brand mark and app name, primary
color applied to navigation, headings, and buttons, plus the custom footer.

![Branding applied](./01-branding-applied.png)

## Admin configuration page

Identity (app name, logo, favicon), colors, top bar, footer, and advanced
custom CSS — with a live preview panel.

![Admin manage page](./02-admin-manage.png)
Loading
Loading