From f09eaadf81f3dc7058ee76bf7f64511227a058d8 Mon Sep 17 00:00:00 2001 From: Piyush Acharya Date: Tue, 25 Feb 2025 21:03:08 -0800 Subject: [PATCH] Add product feature timeline view --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/VerisimilitudeX/DNAnalyzer?shareId=XXXX-XXXX-XXXX-XXXX). --- web/index.html | 9 +++++++++ web/index.js | 39 ++++++++++++++++++++++++++++++++++++++- web/style.css | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+), 1 deletion(-) diff --git a/web/index.html b/web/index.html index e5e0d9e1..e047e7a3 100644 --- a/web/index.html +++ b/web/index.html @@ -182,6 +182,15 @@

Ready to Start?

+
+
+

Product Feature Timeline

+
+ +
+
+
+

Detailed Features

diff --git a/web/index.js b/web/index.js index c002f286..d334c236 100644 --- a/web/index.js +++ b/web/index.js @@ -198,4 +198,41 @@ document.addEventListener('DOMContentLoaded', function() { nav.classList.remove('responsive'); } }); -}); \ No newline at end of file + + // Timeline Data + const timelineData = [ + { date: '2022-01-01', title: 'Project Initiation', description: 'DNAnalyzer project was initiated by Piyush Acharya.' }, + { date: '2022-06-15', title: 'First Release', description: 'First version of DNAnalyzer was released.' }, + { date: '2023-03-10', title: 'ML Integration', description: 'Integrated machine learning models for advanced DNA analysis.' }, + { date: '2024-08-25', title: 'Web Interface', description: 'Launched the web-based user interface for DNAnalyzer.' }, + { date: '2025-05-30', title: 'Community Growth', description: 'DNAnalyzer community reached 10,000+ users.' } + ]; + + // Populate Timeline + const timelineContainer = document.querySelector('.timeline-container'); + if (timelineContainer) { + timelineData.forEach(item => { + const timelineItem = document.createElement('div'); + timelineItem.className = 'timeline-item'; + + const timelineDate = document.createElement('div'); + timelineDate.className = 'timeline-date'; + timelineDate.textContent = item.date; + + const timelineContent = document.createElement('div'); + timelineContent.className = 'timeline-content'; + + const timelineTitle = document.createElement('h3'); + timelineTitle.textContent = item.title; + + const timelineDescription = document.createElement('p'); + timelineDescription.textContent = item.description; + + timelineContent.appendChild(timelineTitle); + timelineContent.appendChild(timelineDescription); + timelineItem.appendChild(timelineDate); + timelineItem.appendChild(timelineContent); + timelineContainer.appendChild(timelineItem); + }); + } +}); diff --git a/web/style.css b/web/style.css index 29038ccc..6a3cb0ed 100644 --- a/web/style.css +++ b/web/style.css @@ -656,6 +656,56 @@ body { margin-bottom: 2rem; } +/* Timeline Section */ +#timeline { + padding: 6rem 2rem; + background: rgba(10, 12, 27, 0.5); +} + +.timeline-container { + max-width: 1200px; + margin: 0 auto; + display: grid; + gap: 2rem; +} + +.timeline-item { + display: flex; + align-items: center; + gap: 1.5rem; + padding: 1.5rem; + background: rgba(255, 255, 255, 0.03); + border-radius: 16px; + border: 1px solid rgba(255, 255, 255, 0.1); + transition: all 0.3s ease; +} + +.timeline-item:hover { + transform: translateY(-5px); + border-color: rgba(255, 255, 255, 0.2); + box-shadow: 0 8px 32px rgba(0, 122, 255, 0.1); +} + +.timeline-date { + font-size: 1.2rem; + font-weight: 700; + color: var(--gradient-start); +} + +.timeline-content { + flex: 1; +} + +.timeline-content h3 { + font-size: 1.5rem; + margin-bottom: 0.5rem; + color: white; +} + +.timeline-content p { + color: rgba(255, 255, 255, 0.8); +} + /* Footer */ .footer-content { background: rgba(10, 12, 27, 0.95);