A modern, responsive social links page with dark/light theme toggle. Share all your social media profiles in one beautiful place.
- π Dark/Light Theme Toggle - Switch between themes with smooth transitions
- πΎ Theme Persistence - Your preferred theme is saved in localStorage
- π± Fully Responsive - Looks great on all devices (desktop, tablet, mobile)
- π¨ Modern Glassmorphism Design - Beautiful blur effects and gradients
- β‘ Smooth Animations - Hover effects, shine animations, and transitions
- π Social Media Icons - Font Awesome brand icons for all platforms
Simply open index.html in your browser to view the page.
LinkHub/
βββ index.html # Main HTML file
βββ index.css # Styles with CSS variables for theming
βββ index.js # Theme toggle functionality
βββ README.md # Documentation
Edit the index.html file. Each link follows this structure:
<div class="links">
<div class="link-content">
<i class="fa-brands fa-[platform] logo [platform]"></i>
<h2>Platform Name</h2>
</div>
<a class="button" href="https://your-link.com" target="_blank">Follow</a>
</div>Edit the CSS variables in index.css:
:root {
/* Light Theme Colors */
--bg-gradient: linear-gradient(...);
--navbar-bg: linear-gradient(...);
--text-primary: #01579b;
/* ... more variables */
}
[data-theme="dark"] {
/* Dark Theme Colors */
--bg-gradient: linear-gradient(...);
/* ... more variables */
}- Add the icon class from Font Awesome
- Add matching CSS for the icon background color
- HTML5 - Semantic markup
- CSS3 - Flexbox, CSS Variables, Gradients, Animations
- JavaScript - Theme toggle with localStorage
- Google Fonts - Orbitron & Poppins
- Font Awesome 6 - Social media icons
| Device | Breakpoint |
|---|---|
| Desktop | > 768px |
| Tablet | β€ 768px |
| Mobile | β€ 480px |
| Small Mobile | β€ 360px |
This project is open source and available under the MIT License.
Danny K
- GitHub: @Danyalkhattak
- LinkedIn: dannyk739
- Instagram: @dannyk_739
β Star this repo if you found it helpful!