Skip to content

Commit c5e4c85

Browse files
committed
updated footer linls
1 parent ade254a commit c5e4c85

11 files changed

Lines changed: 318 additions & 17 deletions

File tree

frontend/auth.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ <h1 class="text-center text-[20px] font-bold text-white" id="title">Welcome back
344344
<span>by</span>
345345
<a href="https://amanulla.in/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Aman Ulla</a>
346346
<span>,</span>
347-
<a href="#" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
347+
<a href="https://www.linkedin.com/in/srinivasalva/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
348348
<span class="text-white/40">|</span>
349349
<a href="https://vision.hack2skill.com/event/genaiexchangehackathon/?utm_source=hack2skill&utm_medium=homepage#overview" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors">Hack2Skill‑Google Hackathon</a>
350350
<span class="text-white/40">|</span>
@@ -369,6 +369,38 @@ <h1 class="text-center text-[20px] font-bold text-white" id="title">Welcome back
369369
</svg>
370370
</div>
371371
</footer>
372+
373+
<!-- Footer Hover with Delay Script -->
374+
<script>
375+
// Footer hover functionality with delay
376+
(function() {
377+
const footer = document.querySelector('footer');
378+
const footerCircle = document.querySelector('.footer-circle');
379+
const footerExpanded = document.querySelector('.footer-expanded');
380+
let hideTimeout = null;
381+
382+
function showFooter() {
383+
if (hideTimeout) {
384+
clearTimeout(hideTimeout);
385+
hideTimeout = null;
386+
}
387+
if (footerExpanded) footerExpanded.classList.add('show');
388+
if (footerCircle) footerCircle.classList.add('hover');
389+
}
390+
391+
function hideFooter() {
392+
hideTimeout = setTimeout(() => {
393+
if (footerExpanded) footerExpanded.classList.remove('show');
394+
if (footerCircle) footerCircle.classList.remove('hover');
395+
}, 600); // 600ms delay before hiding
396+
}
397+
398+
if (footer) {
399+
footer.addEventListener('mouseenter', showFooter);
400+
footer.addEventListener('mouseleave', hideFooter);
401+
}
402+
})();
403+
</script>
372404
</body>
373405
</html>
374406

frontend/create-report.html

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h2 class="text-xl font-semibold mb-4 text-center">Create Startup Report</h2>
127127
<span>by</span>
128128
<a href="https://amanulla.in/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Aman Ulla</a>
129129
<span>,</span>
130-
<a href="#" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
130+
<a href="https://www.linkedin.com/in/srinivasalva/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
131131
<span class="text-white/40">|</span>
132132
<a href="https://vision.hack2skill.com/event/genaiexchangehackathon/?utm_source=hack2skill&utm_medium=homepage#overview" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors">Hack2Skill‑Google Hackathon</a>
133133
<span class="text-white/40">|</span>
@@ -275,7 +275,7 @@ <h2 class="text-xl font-semibold mb-4 text-center">Create Startup Report</h2>
275275
<span>by</span>
276276
<a href="https://amanulla.in/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Aman Ulla</a>
277277
<span>,</span>
278-
<a href="#" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
278+
<a href="https://www.linkedin.com/in/srinivasalva/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
279279
<span class="text-white/40">|</span>
280280
<a href="https://vision.hack2skill.com/event/genaiexchangehackathon/?utm_source=hack2skill&utm_medium=homepage#overview" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors">Hack2Skill‑Google Hackathon</a>
281281
<span class="text-white/40">|</span>
@@ -330,6 +330,38 @@ <h3 class="text-lg font-semibold text-white">Navigation</h3>
330330
<!-- Load Navbar Component -->
331331
<script src="/static/navbar.js"></script>
332332

333+
<!-- Footer Hover with Delay Script -->
334+
<script>
335+
// Footer hover functionality with delay
336+
(function() {
337+
const footer = document.querySelector('footer');
338+
const footerCircle = document.querySelector('.footer-circle');
339+
const footerExpanded = document.querySelector('.footer-expanded');
340+
let hideTimeout = null;
341+
342+
function showFooter() {
343+
if (hideTimeout) {
344+
clearTimeout(hideTimeout);
345+
hideTimeout = null;
346+
}
347+
if (footerExpanded) footerExpanded.classList.add('show');
348+
if (footerCircle) footerCircle.classList.add('hover');
349+
}
350+
351+
function hideFooter() {
352+
hideTimeout = setTimeout(() => {
353+
if (footerExpanded) footerExpanded.classList.remove('show');
354+
if (footerCircle) footerCircle.classList.remove('hover');
355+
}, 600); // 600ms delay before hiding
356+
}
357+
358+
if (footer) {
359+
footer.addEventListener('mouseenter', showFooter);
360+
footer.addEventListener('mouseleave', hideFooter);
361+
}
362+
})();
363+
</script>
364+
333365
<!-- Mobile Menu JavaScript -->
334366
<script>
335367
// Mobile menu functionality

frontend/extension.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ <h6 class="font-semibold text-white mb-2">Popup Doesn't Open:</h6>
651651
<span>by</span>
652652
<a href="https://amanulla.in/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Aman Ulla</a>
653653
<span>,</span>
654-
<a href="#" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
654+
<a href="https://www.linkedin.com/in/srinivasalva/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
655655
<span class="text-white/40">|</span>
656656
<a href="https://vision.hack2skill.com/event/genaiexchangehackathon/?utm_source=hack2skill&utm_medium=homepage#overview" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors">Hack2Skill‑Google Hackathon</a>
657657
<span class="text-white/40">|</span>
@@ -703,6 +703,38 @@ <h3 class="text-lg font-semibold text-white">Navigation</h3>
703703
</div>
704704
</div>
705705

706+
<!-- Footer Hover with Delay Script -->
707+
<script>
708+
// Footer hover functionality with delay
709+
(function() {
710+
const footer = document.querySelector('footer');
711+
const footerCircle = document.querySelector('.footer-circle');
712+
const footerExpanded = document.querySelector('.footer-expanded');
713+
let hideTimeout = null;
714+
715+
function showFooter() {
716+
if (hideTimeout) {
717+
clearTimeout(hideTimeout);
718+
hideTimeout = null;
719+
}
720+
if (footerExpanded) footerExpanded.classList.add('show');
721+
if (footerCircle) footerCircle.classList.add('hover');
722+
}
723+
724+
function hideFooter() {
725+
hideTimeout = setTimeout(() => {
726+
if (footerExpanded) footerExpanded.classList.remove('show');
727+
if (footerCircle) footerCircle.classList.remove('hover');
728+
}, 600); // 600ms delay before hiding
729+
}
730+
731+
if (footer) {
732+
footer.addEventListener('mouseenter', showFooter);
733+
footer.addEventListener('mouseleave', hideFooter);
734+
}
735+
})();
736+
</script>
737+
706738
<!-- Mobile Menu JavaScript -->
707739
<script>
708740
// Mobile menu functionality

frontend/index.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<span>by</span>
8080
<a href="https://amanulla.in/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Aman Ulla</a>
8181
<span>,</span>
82-
<a href="#" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
82+
<a href="https://www.linkedin.com/in/srinivasalva/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
8383
<span class="text-white/40">|</span>
8484
<a href="https://vision.hack2skill.com/event/genaiexchangehackathon/?utm_source=hack2skill&utm_medium=homepage#overview" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors">Hack2Skill‑Google Hackathon</a>
8585
<span class="text-white/40">|</span>
@@ -104,6 +104,38 @@
104104
</svg>
105105
</div>
106106
</footer>
107+
108+
<!-- Footer Hover with Delay Script -->
109+
<script>
110+
// Footer hover functionality with delay
111+
(function() {
112+
const footer = document.querySelector('footer');
113+
const footerCircle = document.querySelector('.footer-circle');
114+
const footerExpanded = document.querySelector('.footer-expanded');
115+
let hideTimeout = null;
116+
117+
function showFooter() {
118+
if (hideTimeout) {
119+
clearTimeout(hideTimeout);
120+
hideTimeout = null;
121+
}
122+
if (footerExpanded) footerExpanded.classList.add('show');
123+
if (footerCircle) footerCircle.classList.add('hover');
124+
}
125+
126+
function hideFooter() {
127+
hideTimeout = setTimeout(() => {
128+
if (footerExpanded) footerExpanded.classList.remove('show');
129+
if (footerCircle) footerCircle.classList.remove('hover');
130+
}, 600); // 600ms delay before hiding
131+
}
132+
133+
if (footer) {
134+
footer.addEventListener('mouseenter', showFooter);
135+
footer.addEventListener('mouseleave', hideFooter);
136+
}
137+
})();
138+
</script>
107139
</body>
108140

109141
</html>

frontend/investment.html

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ <h3 class="text-lg font-semibold text-white mb-2">Analysis Failed</h3>
515515
<span>by</span>
516516
<a href="https://amanulla.in/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Aman Ulla</a>
517517
<span>,</span>
518-
<a href="#" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
518+
<a href="https://www.linkedin.com/in/srinivasalva/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
519519
<span class="text-white/40">|</span>
520520
<a href="https://vision.hack2skill.com/event/genaiexchangehackathon/?utm_source=hack2skill&utm_medium=homepage#overview" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors">Hack2Skill‑Google Hackathon</a>
521521
</div>
@@ -554,6 +554,38 @@ <h3 class="text-lg font-semibold text-white">Navigation</h3>
554554
</div>
555555
</div>
556556

557+
<!-- Footer Hover with Delay Script -->
558+
<script>
559+
// Footer hover functionality with delay
560+
(function() {
561+
const footer = document.querySelector('footer');
562+
const footerCircle = document.querySelector('.footer-circle');
563+
const footerExpanded = document.querySelector('.footer-expanded');
564+
let hideTimeout = null;
565+
566+
function showFooter() {
567+
if (hideTimeout) {
568+
clearTimeout(hideTimeout);
569+
hideTimeout = null;
570+
}
571+
if (footerExpanded) footerExpanded.classList.add('show');
572+
if (footerCircle) footerCircle.classList.add('hover');
573+
}
574+
575+
function hideFooter() {
576+
hideTimeout = setTimeout(() => {
577+
if (footerExpanded) footerExpanded.classList.remove('show');
578+
if (footerCircle) footerCircle.classList.remove('hover');
579+
}, 600); // 600ms delay before hiding
580+
}
581+
582+
if (footer) {
583+
footer.addEventListener('mouseenter', showFooter);
584+
footer.addEventListener('mouseleave', hideFooter);
585+
}
586+
})();
587+
</script>
588+
557589
<!-- Mobile Menu JavaScript -->
558590
<script>
559591
// Mobile menu functionality
@@ -642,6 +674,18 @@ <h3 class="text-lg font-semibold text-white">Navigation</h3>
642674
});
643675
}
644676

677+
// Function to toggle AI recommendation button visibility
678+
function toggleAiRecommendationButton(hasInvestments) {
679+
const aiBtn = document.getElementById('aiRecommendationBtn');
680+
if (aiBtn) {
681+
if (hasInvestments) {
682+
aiBtn.classList.remove('hidden');
683+
} else {
684+
aiBtn.classList.add('hidden');
685+
}
686+
}
687+
}
688+
645689
// Generate AI recommendations
646690
async function generateAiRecommendations() {
647691
try {
@@ -792,6 +836,26 @@ <h5 class="text-white font-medium mb-2">${suggestion.title || `Suggestion ${inde
792836
return 'bg-gray-500/20 text-gray-400 border border-gray-500/30';
793837
}
794838
}
839+
840+
// Initialize AI button visibility on page load
841+
window.addEventListener('DOMContentLoaded', async () => {
842+
const investments = await getAllInvestments();
843+
toggleAiRecommendationButton(investments.length > 0);
844+
});
845+
846+
// Observer to watch for investment changes
847+
const investmentsGrid = document.getElementById('investmentsGrid');
848+
const emptyState = document.getElementById('emptyState');
849+
850+
if (investmentsGrid && emptyState) {
851+
const observer = new MutationObserver(async () => {
852+
const investments = await getAllInvestments();
853+
toggleAiRecommendationButton(investments.length > 0);
854+
});
855+
856+
observer.observe(investmentsGrid, { childList: true, subtree: true });
857+
observer.observe(emptyState, { attributes: true, attributeFilter: ['class'] });
858+
}
795859
</script>
796860
</body>
797861
</html>

frontend/main.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ const CTA = () => (
738738
<p className="mt-2 text-secondary">Hack2Skill‑Google Hackathon</p>
739739
<div className="mt-6 flex items-center justify-center gap-4">
740740
<a href="https://amanulla.in/" target="_blank" rel="noopener noreferrer" className="text-accent hover:text-white transition-colors font-medium">Aman Ulla</a>
741-
<a href="#" target="_blank" rel="noopener noreferrer" className="text-accent hover:text-white transition-colors font-medium">Srinivas Alva</a>
741+
<a href="https://www.linkedin.com/in/srinivasalva/" target="_blank" rel="noopener noreferrer" className="text-accent hover:text-white transition-colors font-medium">Srinivas Alva</a>
742742
<a href="https://vision.hack2skill.com/event/genaiexchangehackathon/?utm_source=hack2skill&utm_medium=homepage#overview" target="_blank" rel="noopener noreferrer" className="text-accent hover:text-white transition-colors">Hackathon</a>
743743
<a href="https://github.com/connectaman/PitchLense" target="_blank" rel="noopener noreferrer" className="text-accent hover:text-white transition-colors">GitHub</a>
744744
<a href="https://pypi.org/project/pitchlense-mcp/" target="_blank" rel="noopener noreferrer" className="text-accent hover:text-white transition-colors">PyPI</a>

frontend/news.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ <h5 class="font-semibold text-red-400 mb-3 flex items-center gap-2">
925925
<span>by</span>
926926
<a href="https://amanulla.in/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Aman Ulla</a>
927927
<span>,</span>
928-
<a href="#" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
928+
<a href="https://www.linkedin.com/in/srinivasalva/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
929929
<span class="text-white/40">|</span>
930930
<a href="https://vision.hack2skill.com/event/genaiexchangehackathon/?utm_source=hack2skill&utm_medium=homepage#overview" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors">Hack2Skill‑Google Hackathon</a>
931931
</div>
@@ -964,6 +964,38 @@ <h3 class="text-lg font-semibold text-white">Navigation</h3>
964964
</div>
965965
</div>
966966

967+
<!-- Footer Hover with Delay Script -->
968+
<script>
969+
// Footer hover functionality with delay
970+
(function() {
971+
const footer = document.querySelector('footer');
972+
const footerCircle = document.querySelector('.footer-circle');
973+
const footerExpanded = document.querySelector('.footer-expanded');
974+
let hideTimeout = null;
975+
976+
function showFooter() {
977+
if (hideTimeout) {
978+
clearTimeout(hideTimeout);
979+
hideTimeout = null;
980+
}
981+
if (footerExpanded) footerExpanded.classList.add('show');
982+
if (footerCircle) footerCircle.classList.add('hover');
983+
}
984+
985+
function hideFooter() {
986+
hideTimeout = setTimeout(() => {
987+
if (footerExpanded) footerExpanded.classList.remove('show');
988+
if (footerCircle) footerCircle.classList.remove('hover');
989+
}, 600); // 600ms delay before hiding
990+
}
991+
992+
if (footer) {
993+
footer.addEventListener('mouseenter', showFooter);
994+
footer.addEventListener('mouseleave', hideFooter);
995+
}
996+
})();
997+
</script>
998+
967999
<!-- Mobile Menu JavaScript -->
9681000
<script>
9691001
// Mobile menu functionality

frontend/report.html

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,7 @@ <h3 class="text-lg font-semibold text-white mb-3">Legend</h3>
16421642
<span>by</span>
16431643
<a href="https://amanulla.in/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Aman Ulla</a>
16441644
<span>,</span>
1645-
<a href="#" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
1645+
<a href="https://www.linkedin.com/in/srinivasalva/" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors font-medium">Srinivas Alva</a>
16461646
<span class="text-white/40">|</span>
16471647
<a href="https://vision.hack2skill.com/event/genaiexchangehackathon/?utm_source=hack2skill&utm_medium=homepage#overview" target="_blank" rel="noopener noreferrer" class="text-[#60a5fa] hover:text-white transition-colors">Hack2Skill‑Google Hackathon</a>
16481648
<span class="text-white/40">|</span>
@@ -1669,6 +1669,37 @@ <h3 class="text-lg font-semibold text-white mb-3">Legend</h3>
16691669
</footer>
16701670
</div>
16711671

1672+
<!-- Footer Hover with Delay Script -->
1673+
<script>
1674+
// Footer hover functionality with delay
1675+
(function() {
1676+
const footer = document.querySelector('footer');
1677+
const footerCircle = document.querySelector('.footer-circle');
1678+
const footerExpanded = document.querySelector('.footer-expanded');
1679+
let hideTimeout = null;
1680+
1681+
function showFooter() {
1682+
if (hideTimeout) {
1683+
clearTimeout(hideTimeout);
1684+
hideTimeout = null;
1685+
}
1686+
if (footerExpanded) footerExpanded.classList.add('show');
1687+
if (footerCircle) footerCircle.classList.add('hover');
1688+
}
1689+
1690+
function hideFooter() {
1691+
hideTimeout = setTimeout(() => {
1692+
if (footerExpanded) footerExpanded.classList.remove('show');
1693+
if (footerCircle) footerCircle.classList.remove('hover');
1694+
}, 600); // 600ms delay before hiding
1695+
}
1696+
1697+
if (footer) {
1698+
footer.addEventListener('mouseenter', showFooter);
1699+
footer.addEventListener('mouseleave', hideFooter);
1700+
}
1701+
})();
1702+
</script>
16721703

16731704
<script>
16741705
// Global variables

0 commit comments

Comments
 (0)