Skip to content

Commit dc9941a

Browse files
authored
Merge pull request #24 from R-Anurag/main
Fixes #13, Fixes #19
2 parents a44dbe4 + 79c360d commit dc9941a

3 files changed

Lines changed: 7 additions & 19 deletions

File tree

docs/css/style.css

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
--primary-700: #1d4ed8;
1313
--secondary-500: #8b5cf6;
1414
--secondary-600: #7c3aed;
15-
1615
--gray-50: #f9fafb;
1716
--gray-100: #f3f4f6;
1817
--gray-200: #e5e7eb;
@@ -23,10 +22,8 @@
2322
--gray-700: #374151;
2423
--gray-800: #1f2937;
2524
--gray-900: #111827;
26-
2725
--white: #ffffff;
2826
--black: #000000;
29-
3027
/* Typography */
3128
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
3229
--font-size-xs: 0.75rem;
@@ -38,7 +35,6 @@
3835
--font-size-3xl: 1.875rem;
3936
--font-size-4xl: 2.25rem;
4037
--font-size-5xl: 3rem;
41-
4238
/* Spacing */
4339
--space-1: 0.25rem;
4440
--space-2: 0.5rem;
@@ -52,21 +48,18 @@
5248
--space-16: 4rem;
5349
--space-20: 5rem;
5450
--space-24: 6rem;
55-
5651
/* Shadows */
5752
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
5853
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
5954
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
6055
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
61-
6256
/* Border Radius */
6357
--radius-sm: 0.25rem;
6458
--radius-md: 0.375rem;
6559
--radius-lg: 0.5rem;
6660
--radius-xl: 0.75rem;
6761
--radius-2xl: 1rem;
6862
--radius-3xl: 1.5rem;
69-
7063
/* Transitions */
7164
--transition-fast: 150ms ease;
7265
--transition-normal: 250ms ease;
@@ -1295,7 +1288,8 @@ section {
12951288
/* Scroll to Top/Bottom Buttons */
12961289
.scroll-btn {
12971290
position: fixed;
1298-
right: var(--space-5); /* 1.25rem */
1291+
right: var(--space-5);
1292+
/* 1.25rem */
12991293
width: 50px;
13001294
height: 50px;
13011295
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

docs/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
2828

2929
<!-- Add GSAP + Physics2D -->
30-
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
31-
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/Physics2DPlugin3.min.js"></script>
30+
<script src="https://cdn.jsdelivr.net/npm/gsap@3.13.0/dist/gsap.min.js"></script>
31+
<script src="https://cdn.jsdelivr.net/npm/gsap@3.13.0/dist/Physics2DPlugin.min.js"></script>
3232
</head>
3333

3434
<body>
@@ -388,12 +388,12 @@ <h2 class="download-title">Ready to Boost Your Productivity?</h2>
388388

389389
<button id="scrollTopBtn" class="scroll-btn" aria-label="Scroll to top" title="Scroll to top">
390390
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
391-
<path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6 1.41 1.41z"/>
391+
<path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6 1.41 1.41z" />
392392
</svg>
393393
</button>
394394
<button id="scrollBottomBtn" class="scroll-btn" aria-label="Scroll to bottom" title="Scroll to bottom">
395395
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
396-
<path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"/>
396+
<path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z" />
397397
</svg>
398398
</button>
399399

docs/js/main.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ document.addEventListener('DOMContentLoaded', function() {
6767

6868
// Track feature interaction
6969
const feature = this.dataset.feature;
70-
console.log('Feature viewed:', feature);
7170

7271
// You can add analytics tracking here
7372
if (typeof gtag !== 'undefined') {
@@ -134,9 +133,6 @@ document.addEventListener('DOMContentLoaded', function() {
134133
const downloadBtns = document.querySelectorAll('a[href*="chromewebstore"]');
135134
downloadBtns.forEach(btn => {
136135
btn.addEventListener('click', function() {
137-
// Track download click event
138-
console.log('Download button clicked');
139-
140136
// You can add Google Analytics or other tracking here
141137
if (typeof gtag !== 'undefined') {
142138
gtag('event', 'click', {
@@ -177,7 +173,6 @@ document.addEventListener('DOMContentLoaded', function() {
177173
this.bindEvents();
178174
this.updateCarousel();
179175
this.startAutoplay();
180-
console.log('Carousel initialized with', this.totalSlides, 'slides');
181176
},
182177

183178
setupInfiniteLoop() {
@@ -270,7 +265,6 @@ document.addEventListener('DOMContentLoaded', function() {
270265
this.isAnimating = false;
271266
}
272267

273-
console.log('Moved to slide', this.getRealSlideIndex() + 1);
274268
},
275269

276270
getRealSlideIndex() {
@@ -558,4 +552,4 @@ document.querySelectorAll('.btn').forEach(button => {
558552
}
559553
}
560554
}
561-
});
555+
});

0 commit comments

Comments
 (0)