mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
79ce60c580
Replace eslint and prettier with oxlint and oxfmt for faster linting and formatting across the monorepo. Remove all eslint and prettier configs, dependencies, and related packages. Add .oxlintrc.json and .oxfmtrc.json for the new tooling. Update CI workflows and lefthook hooks accordingly. Reformat codebase with oxfmt. https://claude.ai/code/session_01GMkSf29p78HuMR1mbXn8He
45 lines
1.1 KiB
TypeScript
45 lines
1.1 KiB
TypeScript
import { Component, Input } from "@angular/core";
|
|
|
|
@Component({
|
|
selector: "custom-disclaimer",
|
|
standalone: true,
|
|
template: `
|
|
<div
|
|
[class]="inputClass"
|
|
style="
|
|
text-align: center;
|
|
padding: 20px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border-radius: 10px;
|
|
margin: 10px;
|
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
"
|
|
>
|
|
<h3 style="margin: 0 0 10px 0; font-size: 20px">
|
|
✨ Custom Disclaimer Component ✨
|
|
</h3>
|
|
<p style="margin: 0; font-size: 14px; opacity: 0.9">
|
|
{{
|
|
text || "This is a custom disclaimer demonstrating component overrides!"
|
|
}}
|
|
</p>
|
|
<div
|
|
style="
|
|
margin-top: 15px;
|
|
padding-top: 15px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.3);
|
|
font-size: 12px;
|
|
opacity: 0.7;
|
|
"
|
|
>
|
|
🎨 Styled with custom gradients and animations
|
|
</div>
|
|
</div>
|
|
`,
|
|
})
|
|
export class CustomDisclaimerComponent {
|
|
@Input() text?: string;
|
|
@Input() inputClass?: string;
|
|
}
|