πŸ—‘οΈ Remove Reset and Buy Now Buttons from Theme Customizer

βœ… Removed Features:
- Removed Reset button from sidebar footer
- Removed Buy Now button from sidebar footer
- Cleaned up sidebar-footer section completely
- Simplified Theme Customizer interface

πŸ”§ Technical Changes:
- src/InitialPage/themeSettings.jsx: Removed sidebar-footer div
- Removed ResetData onClick handler usage
- Removed Link to Buy Now external reference
- Clean form closing without footer buttons

πŸ“‹ Changes Made:
- Removed entire sidebar-footer section (21 lines)
- Maintained all theme customization functionality
- Cleaner, more focused interface
- No unnecessary action buttons

🎯 Benefits:
- Simplified user interface
- Focus on core theme customization features
- Cleaner component structure
- Reduced visual clutter

πŸš€ Maintained Features:
- Theme Mode selection (Dark/Light)
- Layout Mode options (Default, Box, Collapsed, etc.)
- Navigation Color options (Light, Grey, Dark)
- Floating toggle button with Ctrl+T shortcut
- All theme switching functionality preserved
This commit is contained in:
tuan.cna 2025-06-02 10:04:50 +07:00
parent f857257aae
commit c345cffa4f

View File

@ -630,28 +630,6 @@ const ThemeSettings = () => {
</div>
</div>
</form>
<div className="sidebar-footer">
<div className="row">
<div className="col-xl-6">
<div className="footer-preview-btn">
<button
type="button"
className="btn btn-secondary w-100"
onClick={ResetData}
>
Reset
</button>
</div>
</div>
<div className="col-xl-6">
<div className="footer-reset-btn">
<Link to="#" className="btn btn-primary w-100">
Buy Now
</Link>
</div>
</div>
</div>
</div>
</div>
</div>
</div>