commit f06685898bdcd4a620e0f5e6dc3b32c650261cf0
Author: ffff:105.163.157.33 <ffff:105.163.157.33@hub.scroll.pub>
Date: 2024-12-27 08:36:13 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index 532f6d7..65a659c 100644
--- a/index.scroll
+++ b/index.scroll
@@ -1,8 +1,8 @@
buildHtml
baseUrl https://trackwise.scroll.pub
+title Jones Parcel
metaTags
editButton /edit.html
-title TrackWise - Simple Parcel Tracking
style.css
body.html
-script.js
\ No newline at end of file
+script.js
commit 160cf2e0737f2139ff7be7273a1b3410fbfc2974
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 08:34:29 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..ee666f0
--- /dev/null
+++ b/body.html
@@ -0,0 +1,62 @@
+<header>
+ <nav>
+ <div class="logo">TrackWise</div>
+ <div class="nav-links">
+ <a href="#track">Track</a>
+ <a href="#about">About</a>
+ <a href="#contact">Contact</a>
+ </div>
+ </nav>
+</header>
+
+<main>
+ <section id="hero">
+ <h1>Track Your Parcels</h1>
+ <p>Simple. Fast. Reliable.</p>
+ </section>
+
+ <section id="track" class="tracking-section">
+ <div class="tracking-container">
+ <h2>Track Your Package</h2>
+ <div class="tracking-form">
+ <input type="text" id="tracking-number" placeholder="Enter tracking number" aria-label="Tracking number">
+ <button id="track-button">Track Now</button>
+ </div>
+ <div id="tracking-result" class="tracking-result hidden">
+ <div class="timeline">
+ <div class="timeline-item">
+ <div class="status">Order Placed</div>
+ <div class="date"></div>
+ </div>
+ <div class="timeline-item">
+ <div class="status">In Transit</div>
+ <div class="date"></div>
+ </div>
+ <div class="timeline-item">
+ <div class="status">Out for Delivery</div>
+ <div class="date"></div>
+ </div>
+ <div class="timeline-item">
+ <div class="status">Delivered</div>
+ <div class="date"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="footer-section">
+ <h3>TrackWise</h3>
+ <p>Making parcel tracking simple and efficient.</p>
+ </div>
+ <div class="footer-section">
+ <h3>Quick Links</h3>
+ <a href="#track">Track Package</a>
+ <a href="#about">About Us</a>
+ <a href="#contact">Contact</a>
+ </div>
+ </div>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..532f6d7
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://trackwise.scroll.pub
+metaTags
+editButton /edit.html
+title TrackWise - Simple Parcel Tracking
+style.css
+body.html
+script.js
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..364eac9
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# trackwise.scroll.pub
+Website generated by Claude from prompt: Create me a parcel tracking delivery application
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..74d283c
--- /dev/null
+++ b/script.js
@@ -0,0 +1,50 @@
+document.addEventListener('DOMContentLoaded', () => {
+ const trackButton = document.getElementById('track-button');
+ const trackingNumber = document.getElementById('tracking-number');
+ const trackingResult = document.getElementById('tracking-result');
+
+ trackButton.addEventListener('click', () => {
+ if (trackingNumber.value.trim() === '') {
+ alert('Please enter a tracking number');
+ return;
+ }
+
+ // Simulate tracking result
+ trackingResult.classList.remove('hidden');
+
+ // Add animation to timeline items
+ const timelineItems = document.querySelectorAll('.timeline-item');
+ timelineItems.forEach((item, index) => {
+ setTimeout(() => {
+ item.style.opacity = '0';
+ item.style.transform = 'translateX(-20px)';
+ item.style.transition = 'all 0.5s ease';
+
+ // Add current date to simulate real tracking
+ const date = new Date();
+ date.setDate(date.getDate() - (3 - index));
+ item.querySelector('.date').textContent = date.toLocaleDateString();
+
+ setTimeout(() => {
+ item.style.opacity = '1';
+ item.style.transform = 'translateX(0)';
+ }, 100);
+ }, index * 500);
+ });
+ });
+
+ // Add smooth scrolling for navigation links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+
+ // Add input validation
+ trackingNumber.addEventListener('input', (e) => {
+ e.target.value = e.target.value.replace(/[^a-zA-Z0-9]/g, '');
+ });
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..808ca4d
--- /dev/null
+++ b/style.css
@@ -0,0 +1,179 @@
+:root {
+ --primary-color: #2c3e50;
+ --secondary-color: #3498db;
+ --accent-color: #e74c3c;
+ --background-color: #f8f9fa;
+ --text-color: #2c3e50;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+}
+
+header {
+ background-color: var(--primary-color);
+ padding: 1rem;
+ position: fixed;
+ width: 100%;
+ top: 0;
+ z-index: 1000;
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+}
+
+nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.logo {
+ color: white;
+ font-size: 1.5rem;
+ font-weight: bold;
+}
+
+.nav-links a {
+ color: white;
+ text-decoration: none;
+ margin-left: 2rem;
+ transition: color 0.3s ease;
+}
+
+.nav-links a:hover {
+ color: var(--secondary-color);
+}
+
+main {
+ margin-top: 4rem;
+}
+
+#hero {
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ color: white;
+ text-align: center;
+ padding: 4rem 1rem;
+}
+
+#hero h1 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+}
+
+.tracking-section {
+ padding: 4rem 1rem;
+ max-width: 800px;
+ margin: 0 auto;
+}
+
+.tracking-container {
+ background: white;
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
+}
+
+.tracking-form {
+ display: flex;
+ gap: 1rem;
+ margin: 2rem 0;
+}
+
+input[type="text"] {
+ flex: 1;
+ padding: 1rem;
+ border: 2px solid #ddd;
+ border-radius: 5px;
+ font-size: 1rem;
+}
+
+button {
+ background-color: var(--secondary-color);
+ color: white;
+ border: none;
+ padding: 1rem 2rem;
+ border-radius: 5px;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+}
+
+button:hover {
+ background-color: #2980b9;
+}
+
+.timeline {
+ margin-top: 2rem;
+}
+
+.timeline-item {
+ display: flex;
+ justify-content: space-between;
+ padding: 1rem;
+ border-left: 3px solid var(--secondary-color);
+ margin-left: 1rem;
+ position: relative;
+}
+
+.timeline-item::before {
+ content: '';
+ width: 12px;
+ height: 12px;
+ background-color: var(--secondary-color);
+ border-radius: 50%;
+ position: absolute;
+ left: -7px;
+}
+
+.hidden {
+ display: none;
+}
+
+footer {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem 1rem;
+ margin-top: 4rem;
+}
+
+.footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+}
+
+.footer-section h3 {
+ margin-bottom: 1rem;
+}
+
+.footer-section a {
+ color: white;
+ text-decoration: none;
+ display: block;
+ margin-bottom: 0.5rem;
+}
+
+@media (max-width: 768px) {
+ .tracking-form {
+ flex-direction: column;
+ }
+
+ .nav-links {
+ display: none;
+ }
+
+ #hero h1 {
+ font-size: 2rem;
+ }
+}
\ No newline at end of file