baranayek commited on
Commit
db5e84d
·
verified ·
1 Parent(s): a9644eb

when i press tap on add card button or the arrow right, get error 404

Browse files
Files changed (2) hide show
  1. card-selector.html +20 -28
  2. index.html +4 -8
card-selector.html CHANGED
@@ -32,64 +32,56 @@
32
  <h1 class="text-2xl font-bold mb-6 gradient-text">Select Card Type</h1>
33
 
34
  <div class="grid grid-cols-2 gap-4">
35
- <a href="/training-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
36
- <i data-feather="award" class="w-6 h-6 mb-2 mx-auto"></i>
37
  <h4 class="font-medium">Training Card</h4>
38
  <p class="text-sm text-gray-400">Commands your dog understands</p>
39
  </a>
40
-
41
- <a href="/favorites-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
42
- <i data-feather="heart" class="w-6 h-6 mb-2 mx-auto"></i>
43
  <h4 class="font-medium">Favorite Things</h4>
44
  <p class="text-sm text-gray-400">Toys, snacks & routines</p>
45
  </a>
46
-
47
- <a href="/gallery-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
48
- <i data-feather="image" class="w-6 h-6 mb-2 mx-auto"></i>
49
  <h4 class="font-medium">Photo Gallery</h4>
50
  <p class="text-sm text-gray-400">Pictures for identification</p>
51
  </a>
52
-
53
- <a href="/video-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
54
- <i data-feather="video" class="w-6 h-6 mb-2 mx-auto"></i>
55
  <h4 class="font-medium">Video Card</h4>
56
  <p class="text-sm text-gray-400">Embed video showing behavior</p>
57
  </a>
58
-
59
- <a href="/lost-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
60
- <i data-feather="alert-circle" class="w-6 h-6 mb-2 mx-auto"></i>
61
  <h4 class="font-medium">Lost Poster</h4>
62
  <p class="text-sm text-gray-400">Auto-generated missing dog flyer</p>
63
  </a>
64
-
65
- <a href="/id-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
66
- <i data-feather="credit-card" class="w-6 h-6 mb-2 mx-auto"></i>
67
  <h4 class="font-medium">Dog ID Card</h4>
68
  <p class="text-sm text-gray-400">Basic info & QR code</p>
69
  </a>
70
-
71
- <a href="/location-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
72
- <i data-feather="home" class="w-6 h-6 mb-2 mx-auto"></i>
73
  <h4 class="font-medium">Home Location</h4>
74
  <p class="text-sm text-gray-400">Safe return address</p>
75
  </a>
76
-
77
- <a href="/moments-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
78
- <i data-feather="star" class="w-6 h-6 mb-2 mx-auto"></i>
79
  <h4 class="font-medium">Favorite Moments</h4>
80
  <p class="text-sm text-gray-400">Fun pictures & gifs</p>
81
  </a>
82
-
83
- <a href="/reward-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
84
- <i data-feather="gift" class="w-6 h-6 mb-2 mx-auto"></i>
85
  <h4 class="font-medium">Reward Card</h4>
86
  <p class="text-sm text-gray-400">Optional reward info</p>
87
  </a>
88
  </div>
89
 
90
  <div class="mt-6">
91
- <a href="/" class="px-4 py-2 bg-gray-700 rounded hover:bg-gray-600 inline-block">Back to Profile</a>
92
- </div>
93
  </div>
94
  </div>
95
  <script>
 
32
  <h1 class="text-2xl font-bold mb-6 gradient-text">Select Card Type</h1>
33
 
34
  <div class="grid grid-cols-2 gap-4">
35
+ <a href="training-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
36
+ <i data-feather="award" class="w-6 h-6 mb-2 mx-auto"></i>
37
  <h4 class="font-medium">Training Card</h4>
38
  <p class="text-sm text-gray-400">Commands your dog understands</p>
39
  </a>
40
+ <a href="favorites-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
41
+ <i data-feather="heart" class="w-6 h-6 mb-2 mx-auto"></i>
 
42
  <h4 class="font-medium">Favorite Things</h4>
43
  <p class="text-sm text-gray-400">Toys, snacks & routines</p>
44
  </a>
45
+ <a href="gallery-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
46
+ <i data-feather="image" class="w-6 h-6 mb-2 mx-auto"></i>
 
47
  <h4 class="font-medium">Photo Gallery</h4>
48
  <p class="text-sm text-gray-400">Pictures for identification</p>
49
  </a>
50
+ <a href="video-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
51
+ <i data-feather="video" class="w-6 h-6 mb-2 mx-auto"></i>
 
52
  <h4 class="font-medium">Video Card</h4>
53
  <p class="text-sm text-gray-400">Embed video showing behavior</p>
54
  </a>
55
+ <a href="lost-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
56
+ <i data-feather="alert-circle" class="w-6 h-6 mb-2 mx-auto"></i>
 
57
  <h4 class="font-medium">Lost Poster</h4>
58
  <p class="text-sm text-gray-400">Auto-generated missing dog flyer</p>
59
  </a>
60
+ <a href="id-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
61
+ <i data-feather="credit-card" class="w-6 h-6 mb-2 mx-auto"></i>
 
62
  <h4 class="font-medium">Dog ID Card</h4>
63
  <p class="text-sm text-gray-400">Basic info & QR code</p>
64
  </a>
65
+ <a href="location-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
66
+ <i data-feather="home" class="w-6 h-6 mb-2 mx-auto"></i>
 
67
  <h4 class="font-medium">Home Location</h4>
68
  <p class="text-sm text-gray-400">Safe return address</p>
69
  </a>
70
+ <a href="moments-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
71
+ <i data-feather="star" class="w-6 h-6 mb-2 mx-auto"></i>
 
72
  <h4 class="font-medium">Favorite Moments</h4>
73
  <p class="text-sm text-gray-400">Fun pictures & gifs</p>
74
  </a>
75
+ <a href="reward-card.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
76
+ <i data-feather="gift" class="w-6 h-6 mb-2 mx-auto"></i>
 
77
  <h4 class="font-medium">Reward Card</h4>
78
  <p class="text-sm text-gray-400">Optional reward info</p>
79
  </a>
80
  </div>
81
 
82
  <div class="mt-6">
83
+ <a href="index.html" class="px-4 py-2 bg-gray-700 rounded hover:bg-gray-600 inline-block">Back to Profile</a>
84
+ </div>
85
  </div>
86
  </div>
87
  <script>
index.html CHANGED
@@ -769,22 +769,18 @@ if (profileData.bgAnimation !== undefined) {
769
  <script>
770
  // Card modal functionality
771
  document.getElementById('addCardBtn').addEventListener('click', function() {
772
- window.location.href = '/card-selector.html';
773
  });
774
 
775
  // Navigation functionality
776
  document.getElementById('nextCard').addEventListener('click', function() {
777
- // In a real implementation, this would load the next card in the sequence
778
- // For now we'll simulate it with a placeholder
779
- window.location.href = '/training-card.html';
780
  });
781
 
782
  document.getElementById('prevCard').addEventListener('click', function() {
783
- // Navigate back to profile
784
- window.location.href = '/';
785
  });
786
-
787
- // Swipe detection for mobile
788
  let touchStartX = 0;
789
  let touchEndX = 0;
790
 
 
769
  <script>
770
  // Card modal functionality
771
  document.getElementById('addCardBtn').addEventListener('click', function() {
772
+ window.location.href = 'card-selector.html';
773
  });
774
 
775
  // Navigation functionality
776
  document.getElementById('nextCard').addEventListener('click', function() {
777
+ window.location.href = 'training-card.html';
 
 
778
  });
779
 
780
  document.getElementById('prevCard').addEventListener('click', function() {
781
+ window.location.href = 'index.html';
 
782
  });
783
+ // Swipe detection for mobile
 
784
  let touchStartX = 0;
785
  let touchEndX = 0;
786