Complete website optimization: Color scheme standardization and hero page enhancement
- STANDARDIZED COLOR SCHEMES: Unified all service pages to use consistent purple theme (#6d28d9) - Removed theme-specific body classes from automation-flows.html and agentic-ai.html - Removed inline CSS color overrides from machine-learning.html, generative-ai.html, and data-analysis.html - Updated 15+ instances of hardcoded border colors to use rgba(var(--primary-color-rgb), 0.3) - Updated 5+ hover effects to use rgba(var(--primary-color-rgb), 0.4) for consistent glow colors - All service pages now maintain visual consistency with the main website - ENHANCED HERO PAGE: Improved data node scattering for better organic distribution - Repositioned core service nodes (ML, AI, Analytics, Automation) for natural scatter pattern - Enhanced industry nodes positioning with organic right-side distribution - Improved strategic nodes placement across right quadrant for better visual balance - Added varied animation delays and floating patterns for different node groups - Implemented micro-positioning adjustments for more natural appearance - Created size variations and rotation effects for enhanced organic feel - NEW FEATURES ADDED: - Enhanced CSS animations with varied floating patterns - Improved node interaction effects with staggered hover animations - Better responsive design for mobile devices - New documentation files for color standardization completion - TECHNICAL IMPROVEMENTS: - Updated hero-animation.css with enhanced organic scatter positioning - Maintained all existing functionality while improving visual aesthetics - Ensured cross-browser compatibility and mobile responsiveness
This commit is contained in:
57
update-scripts.ps1
Normal file
57
update-scripts.ps1
Normal file
@@ -0,0 +1,57 @@
|
||||
# PowerShell script to update all HTML files with new CSS and JavaScript references
|
||||
|
||||
# Get all HTML files in the workspace and subdirectories
|
||||
$htmlFiles = Get-ChildItem -Path . -Filter *.html -Recurse
|
||||
|
||||
foreach ($file in $htmlFiles) {
|
||||
Write-Host "Processing: $($file.FullName)"
|
||||
|
||||
# Read the content of the file
|
||||
$content = Get-Content -Path $file.FullName -Raw
|
||||
$modified = $false
|
||||
|
||||
# Add animations.css if not already included
|
||||
if (-not $content.Contains('animations.css')) {
|
||||
$content = $content -replace '(<link rel="stylesheet" href=".*hero-animation.css" />)', '$1
|
||||
<link rel="stylesheet" href="css/animations.css" />'
|
||||
|
||||
# Fix paths for subdirectories
|
||||
if ($file.DirectoryName -ne (Get-Location).Path) {
|
||||
$content = $content -replace 'href="css/animations.css"', 'href="../css/animations.css"'
|
||||
}
|
||||
|
||||
$modified = $true
|
||||
}
|
||||
|
||||
# Add new script references if not already included
|
||||
$newScripts = @(
|
||||
"data-node-interactions.js",
|
||||
"page-specific.js",
|
||||
"dynamic-content.js",
|
||||
"form-handler.js"
|
||||
)
|
||||
|
||||
foreach ($script in $newScripts) {
|
||||
if (-not $content.Contains($script)) {
|
||||
$content = $content -replace '(</body>)', " <script src=`"js/$script`" defer></script>`n$1"
|
||||
|
||||
# Fix paths for subdirectories
|
||||
if ($file.DirectoryName -ne (Get-Location).Path) {
|
||||
$content = $content -replace "src=`"js/$script`"", "src=`"../js/$script`""
|
||||
}
|
||||
|
||||
$modified = $true
|
||||
}
|
||||
}
|
||||
|
||||
# Save the modified content back to the file
|
||||
if ($modified) {
|
||||
$content | Set-Content -Path $file.FullName
|
||||
Write-Host "Updated: $($file.FullName)"
|
||||
}
|
||||
else {
|
||||
Write-Host "No changes needed for: $($file.FullName)"
|
||||
}
|
||||
}
|
||||
|
||||
Write-Host "`nScript update complete. All HTML files have been updated with the new CSS and JavaScript references."
|
||||
Reference in New Issue
Block a user