Skip to content

Commit faf8216

Browse files
committed
Update doc image URLs to use component-specific constants
Replaced hardcoded image URLs in documentation files for Accordion, Alert, Badge, Breadcrumb, and Buttons components with corresponding constants from DemoScreenshotSrcConstants. This ensures each doc page displays a relevant image for its component.
1 parent a369708 commit faf8216

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

BlazorBootstrap.Demo.RCL/Components/Pages/Docs/Accordion/Accordion_Doc_01_Documentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@
3737
private const string pageDescription = $"This documentation provides a comprehensive reference for the <code>{componentName}</code> component, guiding you through its configuration options.";
3838
private const string metaTitle = $"Blazor {componentName} Component";
3939
private const string metaDescription = $"This documentation provides a comprehensive reference for the {componentName} component, guiding you through its configuration options.";
40-
private const string imageUrl = "https://i.imgur.com/FGgEMp6.jpg";
40+
private const string imageUrl = DemoScreenshotSrcConstants.Demos_URL_Accordion;
4141
}

BlazorBootstrap.Demo.RCL/Components/Pages/Docs/Alerts/Alert_Doc_01_Documentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333
private const string pageDescription = $"This documentation provides a comprehensive reference for the <code>{componentName}</code> component, guiding you through its configuration options.";
3434
private const string metaTitle = $"Blazor {componentName} Component";
3535
private const string metaDescription = $"This documentation provides a comprehensive reference for the {componentName} component, guiding you through its configuration options.";
36-
private const string imageUrl = "https://i.imgur.com/FGgEMp6.jpg";
36+
private const string imageUrl = DemoScreenshotSrcConstants.Demos_URL_Alerts;
3737
}

BlazorBootstrap.Demo.RCL/Components/Pages/Docs/Badge/Badge_Doc_01_Documentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
private const string pageDescription = $"This documentation provides a comprehensive reference for the <code>{componentName}</code> component, guiding you through its configuration options.";
2626
private const string metaTitle = $"Blazor {componentName} Component";
2727
private const string metaDescription = $"This documentation provides a comprehensive reference for the {componentName} component, guiding you through its configuration options.";
28-
private const string imageUrl = "https://i.imgur.com/FGgEMp6.jpg";
28+
private const string imageUrl = DemoScreenshotSrcConstants.Demos_URL_Badge;
2929
}

BlazorBootstrap.Demo.RCL/Components/Pages/Docs/Breadcrumb/Breadcrumb_Doc_01_Documentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
private const string pageDescription = $"This documentation provides a comprehensive reference for the <code>{componentName}</code> component, guiding you through its configuration options.";
2626
private const string metaTitle = $"Blazor {componentName} Component";
2727
private const string metaDescription = $"This documentation provides a comprehensive reference for the {componentName} component, guiding you through its configuration options.";
28-
private const string imageUrl = "https://i.imgur.com/FGgEMp6.jpg";
28+
private const string imageUrl = DemoScreenshotSrcConstants.Demos_URL_Breadcrumb;
2929
}

BlazorBootstrap.Demo.RCL/Components/Pages/Docs/Buttons/Buttons_Doc_01_Documentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333
private const string pageDescription = $"This documentation provides a comprehensive reference for the <code>{componentName}</code> component, guiding you through its configuration options.";
3434
private const string metaTitle = $"Blazor {componentName} Component";
3535
private const string metaDescription = $"This documentation provides a comprehensive reference for the {componentName} component, guiding you through its configuration options.";
36-
private const string imageUrl = "https://i.imgur.com/FGgEMp6.jpg";
36+
private const string imageUrl = DemoScreenshotSrcConstants.Demos_URL_Buttons;
3737
}

0 commit comments

Comments
 (0)