mirror of
https://github.com/mmahdium/portfolio.git
synced 2026-08-17 05:24:30 +03:30
chore: add BMAD agent workflows and configuration system
- Add comprehensive agent workflow definitions for 8 specialized roles (analyst, architect, developer, product manager, scrum master, technical writer, UX designer, QA engineer) - Add 35+ workflow definitions covering analysis, planning, solutioning, and implementation phases - Add BMAD configuration system with agent, task, tool, workflow, and file manifests - Add BMM (Business Model Methodology) documentation including quick-start guides, architecture references, and workflow analysis - Add test architecture knowledge base with 20+ testing patterns and best practices - Add team configuration templates and party mode setup for collaborative development - Establish foundation for enterprise agentic development framework with adaptive scaling capabilities
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
export default defineNuxtPlugin(() => {
|
||||
if (import.meta.client) {
|
||||
// Remove promotional banners after mount
|
||||
const removeBanners = () => {
|
||||
// Target common banner selectors
|
||||
const selectors = [
|
||||
'[class*="VueSchool"]',
|
||||
'[class*="vue-school"]',
|
||||
'[class*="promotional"]',
|
||||
'[class*="Banner"]',
|
||||
'div[class*="bg-blue-950"]', // Common @nuxt/ui banner style
|
||||
'a[href*="vueschool.io"]'
|
||||
]
|
||||
|
||||
selectors.forEach(selector => {
|
||||
const elements = document.querySelectorAll(selector)
|
||||
elements.forEach(el => {
|
||||
// Check if this looks like a promotional banner
|
||||
const parent = el.closest('div')
|
||||
if (parent && (
|
||||
el.textContent?.toLowerCase().includes('certification') ||
|
||||
el.textContent?.toLowerCase().includes('black friday') ||
|
||||
el.textContent?.toLowerCase().includes('vueschool') ||
|
||||
el.textContent?.toLowerCase().includes('get certified')
|
||||
)) {
|
||||
parent.remove()
|
||||
el.remove()
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
// Run on mount and watch for dynamic additions
|
||||
onMounted(() => {
|
||||
removeBanners()
|
||||
|
||||
// Use MutationObserver to catch dynamically injected banners
|
||||
const observer = new MutationObserver(() => {
|
||||
removeBanners()
|
||||
})
|
||||
|
||||
observer.observe(document.body, {
|
||||
childList: true,
|
||||
subtree: true
|
||||
})
|
||||
|
||||
// Cleanup on unmount
|
||||
onUnmounted(() => {
|
||||
observer.disconnect()
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user