Changes to trackwise.scroll.pub

ffff:105.163.157.33
ffff:105.163.157.33
26 days ago
updated index.scroll
index.scroll
Changed around line 1
+ title Jones Parcel
- title TrackWise - Simple Parcel Tracking
- script.js
+ script.js
root
root
26 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+
+
+
+
+
+

Track Your Parcels

+

Simple. Fast. Reliable.

+
+
+
+
+

Track Your Package

+
+
+
+
+
+
+
+
Order Placed
+
+
+
+
In Transit
+
+
+
+
Out for Delivery
+
+
+
+
Delivered
+
+
+
+
+
+
+
+
+
+
+
+

TrackWise

+

Making parcel tracking simple and efficient.

+
+
+

Quick Links

+
+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://trackwise.scroll.pub
+ metaTags
+ editButton /edit.html
+ title TrackWise - Simple Parcel Tracking
+ style.css
+ body.html
+ script.js
readme.scroll
Changed around line 1
+ # trackwise.scroll.pub
+ Website generated by Claude from prompt: Create me a parcel tracking delivery application
script.js
Changed around line 1
+ 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, '');
+ });
+ });
style.css
Changed around line 1
+ :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;
+ }
+ }