A modern, responsive website for the Shamrock scientific computing framework built with HTML, CSS, and JavaScript.
- Modern Design: Clean, professional design with viridis-inspired color palette
- Responsive Layout: Works perfectly on desktop, tablet, and mobile devices
- Interactive Elements: Smooth animations, copy-to-clipboard functionality, and mobile navigation
- Fast Loading: Optimized static files for quick loading times
- Accessibility: Built with accessibility best practices
website-testing/
├── index.html # Main HTML file
├── styles.css # CSS styles with modern design
├── script.js # JavaScript for interactivity
├── _static/ # Static assets
│ ├── logo.png # Shamrock logo
│ └── no_background_nocolor.png # Shamrock banner
├── .github/workflows/ # CI/CD configuration
│ └── upload-page.yml # GitHub Pages deployment
└── README.md # This file
- Primary Purple:
#440154
- Main brand color - Secondary Purple:
#482475
- Secondary brand color - Blue:
#355f8d
- Accent color - Teal:
#22a884
- Success/positive color - Green:
#7ad151
- Highlight color
- Font Family: Inter (Google Fonts)
- Responsive: Scales appropriately across devices
- Hierarchy: Clear typographic hierarchy with proper contrast
- Navigation: Fixed header with mobile hamburger menu
- Hero Section: Eye-catching introduction with call-to-action buttons
- Quick Links: Grid of important links and resources
- Features: Highlighted feature cards with icons
- Installation: Code examples with copy functionality
- Documentation: Links to various documentation resources
- Community: Community links and contribution call-to-action
- Footer: Comprehensive footer with links and social media
- Clone the repository
- Open
index.html
in your browser - Make changes to HTML, CSS, or JavaScript files
- Refresh browser to see changes
- HTML: Semantic structure with proper accessibility
- CSS: Modern CSS with CSS Grid, Flexbox, and CSS Variables
- JavaScript: Vanilla JS with modern ES6+ features
- Mobile navigation toggle
- Copy-to-clipboard functionality
- Smooth scrolling for anchor links
- Intersection Observer for animations
- Form validation utilities
The website is automatically deployed to GitHub Pages via GitHub Actions.
- Trigger: Push to main branch or pull request
- Build: Copy static files to build directory
- Deploy: Upload to GitHub Pages
- Result: Website available at
https://shamrock-code.github.io/website-testing
If you need to deploy manually:
- Run the build script locally
- Upload files to your web server
- Ensure all assets are accessible
The website is fully responsive with breakpoints at:
- Desktop: 1200px and above
- Tablet: 768px to 1199px
- Mobile: Below 768px
- Hamburger menu navigation
- Touch-friendly buttons and links
- Optimized typography for small screens
- Proper spacing and padding
- Minimal Dependencies: Only Font Awesome for icons
- Efficient CSS: CSS Grid and Flexbox for layout
- Fast Loading: Optimized images and minimal JavaScript
- Caching: Static assets can be cached effectively
- Semantic HTML structure
- CSS custom properties for maintainability
- Progressive enhancement
- Accessibility compliance
Update the CSS variables in styles.css
:
:root {
--primary-purple: #440154;
--secondary-purple: #482475;
/* ... other colors */
}
- Update
index.html
for content changes - Modify
styles.css
for styling changes - Edit
script.js
for functionality changes
- Add HTML structure to
index.html
- Add corresponding CSS to
styles.css
- Add any JavaScript functionality to
script.js
This website is part of the Shamrock project. See the main project repository for license information.
- Fork the repository
- Create a feature branch
- Make your changes
- Test locally
- Submit a pull request
For questions or issues:
- Create an issue in the GitHub repository
- Check the main Shamrock documentation
- Join the community discussions
Built with ❤️ for the Shamrock community