Skip to content

Commit adda9e5

Browse files
committed
Enhance navigation and footer styles, improve button feedback, and update permissions in configuration
1 parent b30ede5 commit adda9e5

File tree

5 files changed

+90
-18
lines changed

5 files changed

+90
-18
lines changed

.claude/settings.local.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,21 @@
2929
"Bash(git commit:*)",
3030
"Bash(cat:*)",
3131
"WebFetch(domain:github.com)",
32-
"WebFetch(domain:www.pepewebtech.com)"
32+
"WebFetch(domain:www.pepewebtech.com)",
33+
"Bash(cmd:*)",
34+
"Bash(powershell -Command \"[Environment]::GetFolderPath(''ApplicationData'')\")",
35+
"Read(//c/Users/Josue/AppData/Roaming/**)",
36+
"WebFetch(domain:docs.claude.com)",
37+
"Bash(claude mcp list:*)",
38+
"Bash(Get-Command claude -ErrorAction SilentlyContinue)",
39+
"Read(//c/Users/Josue/.npm-global//**)",
40+
"Bash(npm:*)",
41+
"Bash(where:*)",
42+
"mcp__web-search-prime__webSearchPrime",
43+
"mcp__playwright-mcp__playwright_navigate",
44+
"mcp__playwright-mcp__playwright_screenshot",
45+
"Bash(curl:*)",
46+
"mcp__zai-mcp-server__analyze_image"
3347
],
3448
"deny": [],
3549
"ask": []

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Add files and directories that should not be tracked by Git
33

44
# Documentation and research folders (internal use)
5-
docs/
5+
/docs/
66
*.md
7-
.claude/
7+
/.claude/
88

99
# Dependencies
1010
node_modules/

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ <h3 class="text-xl font-bold mb-4 text-green-400">Connect</h3>
377377

378378
<!-- Footer Bottom -->
379379
<div class="border-t border-gray-700 pt-8 text-center">
380-
<p class="text-gray-400">
380+
<p class="text-gray-400 text-center">
381381
&copy; <span id="current-year"></span> Josue Zazueta LLC. Built with passion and modern web technologies.
382382
</p>
383383
</div>

js/main.js

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,28 +70,60 @@ document.addEventListener("DOMContentLoaded", function () {
7070
document.addEventListener("click", (e) => {
7171
if (!nav.contains(e.target)) {
7272
navCheckbox.checked = false;
73-
selectButton.classList.add("blinking");
73+
// Reset button text when menu closes
74+
selectButton.textContent = originalText;
7475
}
7576
});
7677

77-
// Add blinking state management
78+
// Close menu when clicking overlay
79+
overlay.addEventListener("click", function () {
80+
navCheckbox.checked = false;
81+
// Reset button text when menu closes
82+
selectButton.textContent = originalText;
83+
});
84+
85+
// Close menu when clicking a link
86+
navLinks.forEach((link) => {
87+
link.addEventListener("click", function () {
88+
navCheckbox.checked = false;
89+
// Reset button text when menu closes
90+
selectButton.textContent = originalText;
91+
});
92+
});
93+
94+
// Simple animation management
7895
const selectButton = document.querySelector(".select-button");
96+
const originalText = "Select";
97+
const activeText = "Menu";
98+
99+
// Toggle button text based on menu state
100+
const updateButtonText = () => {
101+
if (navCheckbox.checked) {
102+
selectButton.textContent = activeText;
103+
} else {
104+
selectButton.textContent = originalText;
105+
}
106+
};
107+
108+
// Listen for checkbox changes to update text
109+
navCheckbox.addEventListener("change", updateButtonText);
79110

111+
// Pause animation on hover
80112
selectButton.addEventListener("mouseenter", () => {
81-
selectButton.classList.remove("blinking");
113+
selectButton.style.animation = 'none';
82114
});
83115

84116
selectButton.addEventListener("mouseleave", () => {
85117
if (!navCheckbox.checked) {
86-
selectButton.classList.add("blinking");
118+
selectButton.style.animation = '';
87119
}
88120
});
89121

122+
// Resume animation after navigation
90123
document.querySelector(".dropdown").addEventListener("click", (e) => {
91124
if (e.target.matches("a")) {
92-
// Resume blinking after navigation
93125
setTimeout(() => {
94-
selectButton.classList.add("blinking");
126+
selectButton.style.animation = '';
95127
}, 100);
96128
}
97129
});

styles.css

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@
8787
top: 100%;
8888
}
8989

90+
/* Enhanced active state for better feedback */
91+
.select-button:active {
92+
transform: translateY(0);
93+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
94+
}
95+
9096
/* Contact Section */
9197
.contact-card {
9298
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
@@ -138,6 +144,17 @@ footer p {
138144
line-height: 1.5;
139145
}
140146

147+
/* Footer bottom specific styling */
148+
footer .border-t {
149+
text-align: center;
150+
}
151+
152+
footer .border-t p {
153+
text-align: center !important;
154+
margin: 0 auto;
155+
display: block;
156+
}
157+
141158
footer ul {
142159
list-style: none;
143160
padding: 0;
@@ -440,20 +457,26 @@ footer .text-gray-400 {
440457
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
441458
}
442459

443-
/* Blinking effect */
444-
@keyframes blink {
460+
/* Subtle glow effect - minimal alternative to blinking */
461+
@keyframes soft-glow {
462+
0%, 100% {
463+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
464+
}
445465
50% {
446-
opacity: 0;
466+
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
447467
}
448468
}
449469

450-
.blinking {
451-
animation: none;
470+
/* Only subtle glow when nav is closed */
471+
.nav-checkbox:not(:checked) ~ .select-button {
472+
animation: soft-glow 4s ease-in-out infinite;
452473
}
453474

454-
/* Only blink when nav is closed */
455-
.nav-checkbox:not(:checked) ~ .select-button {
456-
animation: blink 1s infinite;
475+
/* Respect user motion preferences */
476+
@media (prefers-reduced-motion: reduce) {
477+
.nav-checkbox:not(:checked) ~ .select-button {
478+
animation: none;
479+
}
457480
}
458481

459482
/* Navigation styles */
@@ -539,10 +562,13 @@ html {
539562

540563
.select-button:hover {
541564
animation: none;
565+
transform: translateY(-1px);
566+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
542567
}
543568

544569
.select-button {
545570
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
571+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
546572
}
547573

548574
/* Custom utility classes */

0 commit comments

Comments
 (0)