Specialized instructions for building a static website for Siddha Durga Puja committee using HTML, Tailwind CSS, and vanilla JavaScript. Optimized for AI coding agents working with GitHub Copilot.
Instructions for AI coding agents to assist with the Siddha Durga Puja website project, a static site built with HTML, Tailwind CSS, and vanilla JavaScript.
This is a static website with no build step or server-side components. All pages are standalone HTML files with Tailwind CSS utilities and vanilla JavaScript for interactivity.
Follow this exact file organization:
- `main.js` - Shared navigation, sliders, common utilities
- `nirghantan.js` - Glossary functionality
- `gallery.js` - Gallery and lightbox logic
1. Copy an existing HTML file as a template (e.g., `index.html`)
2. Update the page title in `<title>` tag
3. Modify the main content area between navigation and footer
4. Update navigation links in all HTML files to include the new page
5. Add any page-specific JavaScript in `assets/js/` and link in the HTML `<head>` or before `</body>`
1. Open `assets/news.json`
2. Add new entry following the existing JSON structure
3. Update the relevant HTML file that displays news (if not dynamically loaded)
1. Place image in `assets/images/`
2. Open `gallery.html`
3. Add new image reference following the existing gallery item pattern
4. Ensure `gallery.js` handles the new item (if using lightbox)
1. Locate the `<nav>` element in the HTML file
2. Update links or add new menu items
3. **IMPORTANT**: Duplicate changes across ALL `.html` files (navigation is not shared via includes)
1. Open `assets/css/styles.css`
2. Update CSS custom properties or Tailwind configuration overrides
3. For Tailwind colors, use utility classes directly in HTML
1. Open `assets/css/styles.css`
2. Add new rules with descriptive class names
3. Reference classes in HTML elements
```
1. Edit assets/news.json
2. Refresh page in browser
3. Verify display in news section
```
```
1. Create new JS file in assets/js/
2. Link script in relevant HTML file
3. Implement feature using vanilla JS
4. Test interactivity in browser
```
```
1. Locate relevant HTML file
2. Adjust Tailwind utility classes
3. Add custom CSS to styles.css if needed
4. Refresh browser to verify
```
```javascript
// In nirghantan.js or data file
{
"term": "Durga",
"definition": "Hindu goddess...",
"category": "deity"
}
```
```html
<!-- In gallery.html -->
<div class="gallery-item">
<img src="assets/images/new-photo.jpg" alt="Description" class="w-full h-64 object-cover rounded-lg shadow-lg">
</div>
```
```css
/* In assets/css/styles.css */
.custom-heading {
color: #8B0000;
font-family: 'Your Custom Font', serif;
}
```
For detailed file purposes and additional customization options, refer to the project's `README.md` file.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/github-copilot-static-site-builder/raw