Monter4 commited on
Commit
f5c3796
·
verified ·
1 Parent(s): 3d16d09

https://aescripts.com/after-effects/

Browse files
Files changed (3) hide show
  1. components/product-card.js +16 -4
  2. index.html +11 -15
  3. style.css +9 -11
components/product-card.js CHANGED
@@ -47,8 +47,10 @@ class ProductCard extends HTMLElement {
47
  padding: 0.25rem 0.5rem;
48
  border-radius: 9999px;
49
  margin-bottom: 0.75rem;
 
 
50
  }
51
- .card-footer {
52
  display: flex;
53
  justify-content: space-between;
54
  align-items: center;
@@ -59,7 +61,15 @@ class ProductCard extends HTMLElement {
59
  font-weight: 700;
60
  color: #1a202c;
61
  }
62
- .card-rating {
 
 
 
 
 
 
 
 
63
  display: flex;
64
  align-items: center;
65
  color: #718096;
@@ -95,8 +105,10 @@ class ProductCard extends HTMLElement {
95
  <h3 class="card-title">${title}</h3>
96
  <span class="card-category">${category}</span>
97
  <div class="card-footer">
98
- <span class="card-price">$${price}</span>
99
- <span class="card-rating">
 
 
100
  <i data-feather="star" class="star-icon"></i>
101
  ${rating}
102
  </span>
 
47
  padding: 0.25rem 0.5rem;
48
  border-radius: 9999px;
49
  margin-bottom: 0.75rem;
50
+ text-transform: uppercase;
51
+ letter-spacing: 0.05em;
52
  }
53
+ .card-footer {
54
  display: flex;
55
  justify-content: space-between;
56
  align-items: center;
 
61
  font-weight: 700;
62
  color: #1a202c;
63
  }
64
+ .free-badge {
65
+ background-color: #48bb78;
66
+ color: white;
67
+ padding: 0.25rem 0.5rem;
68
+ border-radius: 0.25rem;
69
+ font-size: 0.75rem;
70
+ font-weight: bold;
71
+ }
72
+ .card-rating {
73
  display: flex;
74
  align-items: center;
75
  color: #718096;
 
105
  <h3 class="card-title">${title}</h3>
106
  <span class="card-category">${category}</span>
107
  <div class="card-footer">
108
+ ${price === 'Free' ?
109
+ '<span class="free-badge">FREE</span>' :
110
+ `<span class="card-price">${price}</span>`}
111
+ <span class="card-rating">
112
  <i data-feather="star" class="star-icon"></i>
113
  ${rating}
114
  </span>
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>PlugIn Paradise | Creative Tools Marketplace</title>
7
  <link rel="stylesheet" href="style.css">
8
  <script src="https://cdn.tailwindcss.com"></script>
9
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
@@ -19,11 +19,10 @@
19
  <main class="container mx-auto px-4 py-8">
20
  <section class="mb-12">
21
  <div class="flex justify-between items-center mb-6">
22
- <h1 class="text-3xl font-bold text-gray-900 dark:text-white">Featured Plugins</h1>
23
- <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">View all</a>
24
  </div>
25
-
26
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
27
  <product-card
28
  title="Motion Tools"
29
  price="49.99"
@@ -57,14 +56,12 @@
57
  </product-card>
58
  </div>
59
  </section>
60
-
61
  <section class="mb-12">
62
  <div class="flex justify-between items-center mb-6">
63
- <h2 class="text-3xl font-bold text-gray-900 dark:text-white">New Releases</h2>
64
- <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">View all</a>
65
  </div>
66
-
67
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
68
  <product-card
69
  title="Overlord"
70
  price="39.99"
@@ -82,17 +79,16 @@
82
  </product-card>
83
  </div>
84
  </section>
85
-
86
  <section class="bg-blue-50 dark:bg-gray-800 rounded-xl p-8 mb-12">
87
  <div class="max-w-3xl mx-auto text-center">
88
- <h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">Join Our Creative Community</h2>
89
- <p class="text-gray-600 dark:text-gray-300 mb-6">Get access to exclusive plugins, tutorials, and resources for creative professionals.</p>
90
  <button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-lg transition duration-200">
91
- Sign Up Free
92
  </button>
93
  </div>
94
  </section>
95
- </main>
96
 
97
  <custom-footer></custom-footer>
98
  <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AE Scripts | Professional After Effects Plugins</title>
7
  <link rel="stylesheet" href="style.css">
8
  <script src="https://cdn.tailwindcss.com"></script>
9
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
 
19
  <main class="container mx-auto px-4 py-8">
20
  <section class="mb-12">
21
  <div class="flex justify-between items-center mb-6">
22
+ <h1 class="text-3xl font-bold text-gray-900 dark:text-white">After Effects Plugins</h1>
23
+ <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">Browse All Plugins</a>
24
  </div>
25
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
 
26
  <product-card
27
  title="Motion Tools"
28
  price="49.99"
 
56
  </product-card>
57
  </div>
58
  </section>
 
59
  <section class="mb-12">
60
  <div class="flex justify-between items-center mb-6">
61
+ <h2 class="text-3xl font-bold text-gray-900 dark:text-white">New & Updated</h2>
62
+ <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">See What's New</a>
63
  </div>
64
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
 
65
  <product-card
66
  title="Overlord"
67
  price="39.99"
 
79
  </product-card>
80
  </div>
81
  </section>
 
82
  <section class="bg-blue-50 dark:bg-gray-800 rounded-xl p-8 mb-12">
83
  <div class="max-w-3xl mx-auto text-center">
84
+ <h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">AE Scripts Membership</h2>
85
+ <p class="text-gray-600 dark:text-gray-300 mb-6">Get unlimited access to all our plugins with a single membership.</p>
86
  <button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-lg transition duration-200">
87
+ Learn About Membership
88
  </button>
89
  </div>
90
  </section>
91
+ </main>
92
 
93
  <custom-footer></custom-footer>
94
  <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
style.css CHANGED
@@ -1,8 +1,10 @@
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
4
  }
5
-
6
  h1 {
7
  font-size: 16px;
8
  margin-top: 0;
@@ -14,15 +16,11 @@ p {
14
  margin-bottom: 10px;
15
  margin-top: 5px;
16
  }
17
-
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
-
26
  .card p:last-child {
27
  margin-bottom: 0;
28
  }
 
1
+
2
  body {
3
+ padding: 0;
4
+ margin: 0;
5
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
6
+ line-height: 1.5;
7
  }
 
8
  h1 {
9
  font-size: 16px;
10
  margin-top: 0;
 
16
  margin-bottom: 10px;
17
  margin-top: 5px;
18
  }
19
+ .container {
20
+ max-width: 1280px;
21
+ margin: 0 auto;
22
+ padding: 0 1rem;
 
 
 
23
  }
 
24
  .card p:last-child {
25
  margin-bottom: 0;
26
  }