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

https://aescripts.com/

Browse files
Files changed (3) hide show
  1. README.md +8 -5
  2. components/product-card.js +115 -0
  3. index.html +100 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Plugin Paradise
3
- emoji: πŸ“š
4
- colorFrom: purple
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: PlugIn Paradise 🎨
3
+ colorFrom: green
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
components/product-card.js ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class ProductCard extends HTMLElement {
2
+ constructor() {
3
+ super();
4
+ this.attachShadow({ mode: 'open' });
5
+ }
6
+
7
+ connectedCallback() {
8
+ const title = this.getAttribute('title') || 'Product';
9
+ const price = this.getAttribute('price') || '0.00';
10
+ const category = this.getAttribute('category') || 'Plugin';
11
+ const image = this.getAttribute('image') || 'http://static.photos/technology/640x360/1';
12
+ const rating = this.getAttribute('rating') || '5.0';
13
+
14
+ this.shadowRoot.innerHTML = `
15
+ <style>
16
+ .card {
17
+ background: white;
18
+ border-radius: 0.75rem;
19
+ overflow: hidden;
20
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
21
+ transition: transform 0.2s, box-shadow 0.2s;
22
+ }
23
+ .card:hover {
24
+ transform: translateY(-2px);
25
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
26
+ }
27
+ .card-image {
28
+ width: 100%;
29
+ height: 180px;
30
+ object-fit: cover;
31
+ }
32
+ .card-body {
33
+ padding: 1.25rem;
34
+ }
35
+ .card-title {
36
+ font-size: 1.125rem;
37
+ font-weight: 600;
38
+ margin-bottom: 0.5rem;
39
+ color: #1a202c;
40
+ }
41
+ .card-category {
42
+ display: inline-block;
43
+ background-color: #ebf4ff;
44
+ color: #4299e1;
45
+ font-size: 0.75rem;
46
+ font-weight: 500;
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;
55
+ margin-top: 1rem;
56
+ }
57
+ .card-price {
58
+ font-size: 1.25rem;
59
+ font-weight: 700;
60
+ color: #1a202c;
61
+ }
62
+ .card-rating {
63
+ display: flex;
64
+ align-items: center;
65
+ color: #718096;
66
+ font-size: 0.875rem;
67
+ }
68
+ .star-icon {
69
+ color: #f6ad55;
70
+ margin-right: 0.25rem;
71
+ }
72
+
73
+ /* Dark mode styles */
74
+ .dark .card {
75
+ background: #2d3748;
76
+ }
77
+ .dark .card-title {
78
+ color: #f7fafc;
79
+ }
80
+ .dark .card-category {
81
+ background-color: #2b6cb0;
82
+ color: #ebf8ff;
83
+ }
84
+ .dark .card-price {
85
+ color: #f7fafc;
86
+ }
87
+ .dark .card-rating {
88
+ color: #cbd5e0;
89
+ }
90
+ </style>
91
+
92
+ <div class="card">
93
+ <img src="${image}" alt="${title}" class="card-image">
94
+ <div class="card-body">
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>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ `;
107
+
108
+ // Initialize feather icons
109
+ if (window.feather) {
110
+ window.feather.replace();
111
+ }
112
+ }
113
+ }
114
+
115
+ customElements.define('product-card', ProductCard);
index.html CHANGED
@@ -1,19 +1,100 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="light">
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>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script src="components/navbar.js"></script>
12
+ <script src="components/footer.js"></script>
13
+ <script src="components/theme-toggle.js"></script>
14
+ <script src="components/product-card.js"></script>
15
+ </head>
16
+ <body class="bg-gray-50 dark:bg-gray-900">
17
+ <custom-navbar></custom-navbar>
18
+
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"
30
+ category="After Effects"
31
+ image="http://static.photos/technology/640x360/1"
32
+ rating="4.8">
33
+ </product-card>
34
+
35
+ <product-card
36
+ title="FX Console"
37
+ price="29.99"
38
+ category="After Effects"
39
+ image="http://static.photos/technology/640x360/2"
40
+ rating="4.9">
41
+ </product-card>
42
+
43
+ <product-card
44
+ title="Element 3D"
45
+ price="199.99"
46
+ category="3D Animation"
47
+ image="http://static.photos/technology/640x360/3"
48
+ rating="4.7">
49
+ </product-card>
50
+
51
+ <product-card
52
+ title="Saber"
53
+ price="Free"
54
+ category="Visual Effects"
55
+ image="http://static.photos/technology/640x360/4"
56
+ rating="4.9">
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"
71
+ category="Illustrator"
72
+ image="http://static.photos/technology/640x360/5"
73
+ rating="4.8">
74
+ </product-card>
75
+
76
+ <product-card
77
+ title="Newton 3"
78
+ title="149.99"
79
+ category="Physics"
80
+ image="http://static.photos/technology/640x360/6"
81
+ rating="4.6">
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>
99
+ </body>
100
+ </html>