### Example React Component for Custom Dashboard Route
Source: https://context7.com/blueprintframework/templates/llms.txt
A sample React component that can be used for custom routes within the Blueprint dashboard. It imports a `PageContentBlock` and renders basic content.
```tsx
// components/sections/ExampleSection.tsx - Custom route section
import React from 'react';
import PageContentBlock from '@/components/elements/PageContentBlock';
const ExampleSection = () => {
return (
This is an example section.
This is a placeholder.
> ); }; export default PlaceholderComponent; ``` -------------------------------- ### Blueprint Extension Configuration (conf.yml) Source: https://context7.com/blueprintframework/templates/llms.txt Defines the metadata, admin views, dashboard integration, routing, and database migrations for a Blueprint extension. This YAML file is essential for Blueprint to register and manage the extension. ```yaml # conf.yml - Extension configuration file info: name: "My Extension" identifier: "myextension" description: "A custom Pterodactyl extension" flags: "" version: "1.0.0" target: "1.11.x" author: "Developer Name" icon: "" website: "https://example.com" admin: view: "admin/view.blade.php" controller: "admin/controller.php" css: "" wrapper: "" dashboard: css: "root.css" wrapper: "" components: "components" data: directory: "" public: "" console: "console" requests: views: "" app: "" routers: application: "" client: "" web: "" database: migrations: "" ``` -------------------------------- ### Admin Configuration Form with Laravel Blade Source: https://context7.com/blueprintframework/templates/llms.txt Renders a configuration form in the admin view using Laravel Blade. It supports various HTML input types and includes JavaScript for automatic save button visibility. The form utilizes CSRF protection and standard HTML form elements. ```php ``` -------------------------------- ### Customize Dashboard Appearance with CSS Variables Source: https://context7.com/blueprintframework/templates/llms.txt Allows extensions to customize the Pterodactyl dashboard's appearance by defining CSS variables for colors and applying them to elements. This ensures consistent styling across the panel using a predefined color palette. ```css /* root.css - Dashboard theme customization */ :root { --neutral-900: hsla(210, 24%, 16%, 1); --neutral-800: hsla(209, 20%, 25%, 1); --neutral-700: hsla(209, 18%, 30%, 1); --neutral-600: hsla(209, 14%, 37%, 1); --neutral-500: hsla(211, 12%, 43%, 1); --primary-800: rgba(30, 64, 175, 1); --primary-700: rgba(29, 78, 216, 1); --primary-600: rgba(37, 99, 235, 1); --primary-500: rgba(59, 130, 246, 1); --green-600: rgba(22, 163, 74, 1); --green-500: rgba(34, 197, 94, 1); --red-600: rgba(220, 38, 38, 1); --red-500: rgba(239, 68, 68, 1); --yellow-500: rgba(234, 179, 8, 1); --cyan-500: rgba(6, 182, 212, 1); --black: rgba(19, 26, 32, 1); --white: rgba(255, 255, 255, 1); --transparent: transparent; } /* Apply custom colors */ .bg-primary-600 { background-color: var(--primary-600); } .bg-neutral-800 { background-color: var(--neutral-800); } .text-white { color: var(--white); } .text-neutral-300 { color: var(--neutral-300); } .border-primary-600 { border-color: var(--primary-600); } ``` -------------------------------- ### Test React Component for Dashboard Injection Source: https://context7.com/blueprintframework/templates/llms.txt A basic React component designed for injection into dashboard elements, such as server rows. It displays simple text content. ```tsx // components/elements/TestElement.tsx - Dashboard injection element import React from 'react'; const TestElement = () => { return ( <> hi world > ); }; export default TestElement; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.