Skip to content

Add sample pages#20

Open
TrhodesState wants to merge 10 commits intomasterfrom
AddSamplePages
Open

Add sample pages#20
TrhodesState wants to merge 10 commits intomasterfrom
AddSamplePages

Conversation

@TrhodesState
Copy link
Collaborator

No description provided.

@TrhodesState TrhodesState requested a review from carterm February 19, 2026 18:09
@TrhodesState
Copy link
Collaborator Author

Hi @carterm, I finished converting the HTML State Template over to MVC including all the CSS, fonts and javascript. Some of my changes were subjective, for example how I organized the views and controllers, so if you could review and give me feedback I'd appreciate it. Note that for most of the components I just used Html.Raw, but for 5 of them I created partial views and some ViewModels to go along with them (Accordion, Alert, Breadcrumb, Card, SideNav, SideNavItems). Also note that I couldn't find the main_banner10.jpg referenced on the banner component, but I found it on https://office-of-digital-services.github.io/California-State-Web-Template-HTML/samples/banner.html so I downloaded it and added it. Going forward, next steps would be to convert the rest of the components into partials and create corresponding ViewModels to go along with them.

@TrhodesState
Copy link
Collaborator Author

@carterm Just to clarify it's not just the components that use Html.Raw but also the views, but I did convert the main shared layout files into .cshtml (under Views/Shared)

Copy link
Contributor

@carterm carterm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't be seeing the wwwroot folder in this at all. Template source should come from JSDelivr or NPM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants