public void RegisterPagesMetadata(IDocumentMetadataRegistrator registrator) { registrator.Default() .Base("~/") .Charset("utf-8") .TitleFormat("Blazor: {0} | DevExpress") .Viewport("width=device-width, initial-scale=1.0") .OpenGraph("url", "https://dxpr.es/2WogLq7") .OpenGraph("type", "website") .OpenGraph("title", "Native Blazor Components powered by DevExpress") .OpenGraph("description", Description) .OpenGraph("image", "https://static.devexpress.com/Products/Blazor/blazor-components-grid-pivot-scheduler-charts-devexpress.jpg") .Meta("description", Description) .Script("highlight-js", "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js", defer: false) .Script("demo-js", "~/lib/dx-demo.js", defer: false) .Script("dx-blazor-js", "~/lib/dx-blazor/dx-blazor.js", defer: false) .StyleSheet("site-css", "~/css/site.css") .StyleSheet("highlight-css", "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/default.min.css") .StyleSheet("demo-css", "~/css/dx-demo.css") .StyleSheet("dx-css", "~/lib/dx-blazor/dx-blazor.css") .StyleSheet( name: "currentTheme", styleSheetUrl: "css/switcher-resources/themes/pulse/bootstrap.min.css" ); DemoPages.ForEach(pageMetadata => { RegisterPageMetadata(registrator, pageMetadata); }); }
public void RegisterPagesMetadata(IDocumentMetadataRegistrator registrator) { registrator.Default() .Base("~/") .Charset("utf-8") .TitleFormat("Blazor: {0} | DevExpress") .Viewport("width=device-width, initial-scale=1.0") .OpenGraph("url", "https://dxpr.es/2WogLq7") .OpenGraph("type", "website") .OpenGraph("title", "Native Blazor Components powered by DevExpress") .OpenGraph("description", "Free DevExpress UI for Blazor ships with 7 user interface components (including a Data Grid and Pivot Grid) so you can design rich user experiences with both Blazor.") .OpenGraph("image", "https://static.devexpress.com/Products/Blazor/blazor-components-grid-pivot-scheduler-devexpress.jpg") .Script("highlight-js", "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js", defer: false) .Script("scroll-view-js", "~/lib/scroll-view.js", defer: false) .Script("demo-js", "~/lib/dx-demo.js", defer: false) .StyleSheet("site-css", "~/css/site.css") .StyleSheet("highlight-css", "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/default.min.css") .StyleSheet("demo-css", "~/css/dx-demo.css") .StyleSheet("scroll-view", "~/css/scroll-view.css") .StyleSheet("dx-css", "~/_content/DevExpress.Blazor/dx-blazor.css") .StyleSheet( name: "currentTheme", styleSheetUrl: "css/switcher-resources/themes/blazing berry/bootstrap.min.css" ); DemoPages.ForEach(pageMetadata => { RegisterPageMetadata(registrator, pageMetadata); }); }
public void RegisterPagesMetadata(IDocumentMetadataRegistrator registrator) { registrator.Default() .Base("~/") .Charset("utf-8") .TitleFormat("Blazor: {0} | DevExpress") .Viewport("width=device-width, initial-scale=1.0") .OpenGraph("url", "https://dxpr.es/2WogLq7") .OpenGraph("type", "website") .OpenGraph("title", "Native Blazor Components powered by DevExpress") .OpenGraph("description", "Free DevExpress UI for Blazor ships with 11 user interface components (including a Data Grid, Pivot Grid and Scheduler) so you can design rich user experiences with both Blazor.") .OpenGraph("image", "https://static.devexpress.com/Products/Blazor/blazor-components-grid-pivot-scheduler-devexpress.jpg") .Meta("twitter:card", "summary") .Meta("twitter:site", "@@devexpress") .Script("highlight-js", "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js", defer: false) .Script("demo-js", "~/lib/dx-demo.js", defer: false) .Script("dx-blazor-js", "~/lib/dx-blazor/dx-blazor.js", defer: false) .Script("facebook-jssdk", "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0", async: true) .Script("twitter-js", "https://platform.twitter.com/widgets.js", async: true) .StyleSheet("site-css", "~/css/site.css") .StyleSheet("highlight-css", "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/default.min.css") .StyleSheet("demo-css", "~/css/dx-demo.css") .StyleSheet("dx-css", "~/lib/dx-blazor/dx-blazor.css") .StyleSheet( name: "currentTheme", styleSheetUrl: "css/switcher-resources/themes/pulse/bootstrap.min.css" ); DemoPages.ForEach(pageMetadata => { RegisterPageMetadata(registrator, pageMetadata); }); }