import os footer_path = 'src/components/Footer.jsx' footer_content = '''import { Link } from 'react-router-dom'; export default function Footer() { return ( ); } ''' with open(footer_path, 'w', encoding='utf-8') as f: f.write(footer_content) print('Footer fully updated to premium dark layout.')