aural-ui 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +952 -0
- package/dist/icons/apple-logo-icon/index.tsx +26 -0
- package/dist/icons/apple-logo-icon/meta.ts +8 -0
- package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +1008 -0
- package/dist/icons/arrow-left-icon/index.tsx +24 -0
- package/dist/icons/arrow-left-icon/meta.ts +8 -0
- package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +1050 -0
- package/dist/icons/backward-ten-seconds-icon/index.tsx +35 -0
- package/dist/icons/backward-ten-seconds-icon/meta.ts +8 -0
- package/dist/icons/camera-icon/CameraIcon.stories.tsx +1271 -0
- package/dist/icons/camera-icon/index.tsx +22 -0
- package/dist/icons/camera-icon/meta.ts +8 -0
- package/dist/icons/coin-icon/CoinIcon.stories.tsx +1382 -0
- package/dist/icons/coin-icon/index.tsx +36 -0
- package/dist/icons/coin-icon/meta.ts +8 -0
- package/dist/icons/email-icon/EmailIcon.stories.tsx +995 -0
- package/dist/icons/email-icon/index.tsx +22 -0
- package/dist/icons/email-icon/meta.ts +8 -0
- package/dist/icons/expand-icon/ExpandIcon.stories.tsx +1167 -0
- package/dist/icons/expand-icon/index.tsx +22 -0
- package/dist/icons/expand-icon/meta.ts +8 -0
- package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +1054 -0
- package/dist/icons/forward-ten-seconds-icon/index.tsx +33 -0
- package/dist/icons/forward-ten-seconds-icon/meta.ts +8 -0
- package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +1004 -0
- package/dist/icons/google-logo-icon/index.tsx +34 -0
- package/dist/icons/google-logo-icon/meta.ts +8 -0
- package/dist/icons/heart-icon/HeartIcon.stories.tsx +1080 -0
- package/dist/icons/heart-icon/index.tsx +21 -0
- package/dist/icons/heart-icon/meta.ts +8 -0
- package/dist/icons/index.ts +32 -4
- package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +1020 -0
- package/dist/icons/indian-flag-icon/index.tsx +46 -0
- package/dist/icons/indian-flag-icon/meta.ts +8 -0
- package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +1449 -0
- package/dist/icons/instagram-icon/index.tsx +17 -0
- package/dist/icons/instagram-icon/meta.ts +8 -0
- package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +1582 -0
- package/dist/icons/linked-in-icon/index.tsx +17 -0
- package/dist/icons/linked-in-icon/meta.ts +8 -0
- package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +1214 -0
- package/dist/icons/minimize-icon/index.tsx +22 -0
- package/dist/icons/minimize-icon/meta.ts +8 -0
- package/dist/icons/pause-icon/PauseIcon.stories.tsx +1060 -0
- package/dist/icons/pause-icon/index.tsx +30 -0
- package/dist/icons/pause-icon/meta.ts +8 -0
- package/dist/icons/share-icon/ShareIcon.stories.tsx +1081 -0
- package/dist/icons/share-icon/index.tsx +22 -0
- package/dist/icons/share-icon/meta.ts +8 -0
- package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +1047 -0
- package/dist/icons/skip-backward-icon/index.tsx +29 -0
- package/dist/icons/skip-backward-icon/meta.ts +8 -0
- package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +1049 -0
- package/dist/icons/skip-forward-icon/index.tsx +29 -0
- package/dist/icons/skip-forward-icon/meta.ts +8 -0
- package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +1020 -0
- package/dist/icons/store-coin-icon/index.tsx +35 -0
- package/dist/icons/store-coin-icon/meta.ts +8 -0
- package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +1489 -0
- package/dist/icons/threads-icon/index.tsx +17 -0
- package/dist/icons/threads-icon/meta.ts +8 -0
- package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +1463 -0
- package/dist/icons/twitter-x-icon/index.tsx +17 -0
- package/dist/icons/twitter-x-icon/meta.ts +8 -0
- package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +1105 -0
- package/dist/icons/video-play-list-icon/index.tsx +22 -0
- package/dist/icons/video-play-list-icon/meta.ts +8 -0
- package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +1416 -0
- package/dist/icons/voice-playing-icon/index.tsx +24 -0
- package/dist/icons/voice-playing-icon/meta.ts +8 -0
- package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +1230 -0
- package/dist/icons/volume-full-icon/index.tsx +25 -0
- package/dist/icons/volume-full-icon/meta.ts +8 -0
- package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +1153 -0
- package/dist/icons/volume-half-icon/index.tsx +25 -0
- package/dist/icons/volume-half-icon/meta.ts +8 -0
- package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +1144 -0
- package/dist/icons/volume-off-icon/index.tsx +26 -0
- package/dist/icons/volume-off-icon/meta.ts +8 -0
- package/dist/icons/warning-icon/WarningIcon.stories.tsx +1106 -0
- package/dist/icons/warning-icon/index.tsx +27 -0
- package/dist/icons/warning-icon/meta.ts +8 -0
- package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +996 -0
- package/dist/icons/youtube-icon/index.tsx +24 -0
- package/dist/icons/youtube-icon/meta.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/styles/aural-theme.css +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1449 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react"
|
|
3
|
+
|
|
4
|
+
import { InstagramIcon } from "."
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof InstagramIcon> = {
|
|
7
|
+
title: "Icons/InstagramIcon",
|
|
8
|
+
component: InstagramIcon,
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: "fullscreen",
|
|
11
|
+
backgrounds: {
|
|
12
|
+
default: "dark",
|
|
13
|
+
values: [
|
|
14
|
+
{ name: "dark", value: "#0a0a0a" },
|
|
15
|
+
{ name: "darker", value: "#000000" },
|
|
16
|
+
{ name: "light", value: "#ffffff" },
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
docs: {
|
|
20
|
+
page: () => (
|
|
21
|
+
<>
|
|
22
|
+
{/* Override default docs styling */}
|
|
23
|
+
<style>
|
|
24
|
+
{`
|
|
25
|
+
.sbdocs-wrapper {
|
|
26
|
+
padding: 0 ;
|
|
27
|
+
max-width: none ;
|
|
28
|
+
background: transparent ;
|
|
29
|
+
}
|
|
30
|
+
.sbdocs-content {
|
|
31
|
+
max-width: none ;
|
|
32
|
+
padding: 0 ;
|
|
33
|
+
margin: 0 ;
|
|
34
|
+
background: transparent ;
|
|
35
|
+
}
|
|
36
|
+
.docs-story {
|
|
37
|
+
background: transparent ;
|
|
38
|
+
}
|
|
39
|
+
.sbdocs {
|
|
40
|
+
background: transparent ;
|
|
41
|
+
}
|
|
42
|
+
body {
|
|
43
|
+
background: #0a0a0a ;
|
|
44
|
+
}
|
|
45
|
+
#storybook-docs {
|
|
46
|
+
background: #0a0a0a ;
|
|
47
|
+
}
|
|
48
|
+
.sbdocs-preview {
|
|
49
|
+
background: transparent ;
|
|
50
|
+
border: none ;
|
|
51
|
+
}
|
|
52
|
+
.sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
|
|
53
|
+
color: white ;
|
|
54
|
+
}
|
|
55
|
+
.sbdocs-p, .sbdocs-li {
|
|
56
|
+
color: rgba(255, 255, 255, 0.7) ;
|
|
57
|
+
}
|
|
58
|
+
.sbdocs-code {
|
|
59
|
+
background: rgba(255, 255, 255, 0.1) ;
|
|
60
|
+
color: rgba(168, 85, 247, 1) ;
|
|
61
|
+
border: 1px solid rgba(255, 255, 255, 0.1) ;
|
|
62
|
+
}
|
|
63
|
+
.sbdocs-pre {
|
|
64
|
+
background: rgba(0, 0, 0, 0.4) ;
|
|
65
|
+
border: 1px solid rgba(255, 255, 255, 0.1) ;
|
|
66
|
+
}
|
|
67
|
+
.sbdocs-table {
|
|
68
|
+
background: rgba(255, 255, 255, 0.05) ;
|
|
69
|
+
border: 1px solid rgba(255, 255, 255, 0.1) ;
|
|
70
|
+
}
|
|
71
|
+
.sbdocs-table th {
|
|
72
|
+
background: rgba(255, 255, 255, 0.05) ;
|
|
73
|
+
color: white ;
|
|
74
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1) ;
|
|
75
|
+
}
|
|
76
|
+
.sbdocs-table td {
|
|
77
|
+
color: rgba(255, 255, 255, 0.7) ;
|
|
78
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.05) ;
|
|
79
|
+
}
|
|
80
|
+
`}
|
|
81
|
+
</style>
|
|
82
|
+
|
|
83
|
+
<div className="min-h-screen bg-gradient-to-br from-gray-900 via-pink-900/20 to-gray-900">
|
|
84
|
+
{/* Header */}
|
|
85
|
+
<div className="relative overflow-hidden border-b border-white/10 bg-black/20 backdrop-blur-xl">
|
|
86
|
+
<div className="absolute inset-0 bg-gradient-to-r from-pink-500/10 via-purple-500/10 to-orange-500/10" />
|
|
87
|
+
<div className="relative !mx-auto max-w-7xl px-6 py-16">
|
|
88
|
+
<div className="!space-y-6 text-center">
|
|
89
|
+
<div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border border-pink-500/30 bg-gradient-to-br from-pink-500/20 via-purple-500/20 to-orange-500/20">
|
|
90
|
+
<InstagramIcon className="h-12 w-12 text-white" />
|
|
91
|
+
</div>
|
|
92
|
+
<h1 className="text-5xl font-bold !text-white">
|
|
93
|
+
InstagramIcon
|
|
94
|
+
</h1>
|
|
95
|
+
<p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
|
|
96
|
+
The official Instagram brand icon featuring the iconic
|
|
97
|
+
camera design. Essential for photo sharing integration,
|
|
98
|
+
social media buttons, profile links, visual content
|
|
99
|
+
promotion, and any interface where Instagram platform
|
|
100
|
+
connectivity and brand recognition is needed.
|
|
101
|
+
</p>
|
|
102
|
+
|
|
103
|
+
{/* Stats */}
|
|
104
|
+
<div className="flex items-center justify-center gap-8 pt-8">
|
|
105
|
+
<div className="text-center">
|
|
106
|
+
<div className="text-3xl font-bold text-pink-300">
|
|
107
|
+
Visual Content
|
|
108
|
+
</div>
|
|
109
|
+
<div className="text-sm text-white/60">
|
|
110
|
+
Photo & video sharing
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
<div className="h-8 w-px bg-white/20" />
|
|
114
|
+
<div className="text-center">
|
|
115
|
+
<div className="text-3xl font-bold text-purple-300">
|
|
116
|
+
Creative Platform
|
|
117
|
+
</div>
|
|
118
|
+
<div className="text-sm text-white/60">
|
|
119
|
+
Artistic expression
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
<div className="h-8 w-px bg-white/20" />
|
|
123
|
+
<div className="text-center">
|
|
124
|
+
<div className="text-3xl font-bold text-orange-300">
|
|
125
|
+
Brand Identity
|
|
126
|
+
</div>
|
|
127
|
+
<div className="text-sm text-white/60">
|
|
128
|
+
Visual storytelling
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
|
|
136
|
+
{/* Content */}
|
|
137
|
+
<div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
|
|
138
|
+
{/* Quick Usage */}
|
|
139
|
+
<div className="!space-y-8">
|
|
140
|
+
<h2 className="text-center text-3xl font-bold !text-white">
|
|
141
|
+
Quick Start
|
|
142
|
+
</h2>
|
|
143
|
+
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
144
|
+
<div className="!space-y-4">
|
|
145
|
+
<h3 className="text-xl font-semibold !text-pink-300">
|
|
146
|
+
Basic Usage
|
|
147
|
+
</h3>
|
|
148
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
149
|
+
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
150
|
+
{`import { InstagramIcon } from "@icons/instagram-icon"
|
|
151
|
+
|
|
152
|
+
function SocialLinks() {
|
|
153
|
+
return (
|
|
154
|
+
<a
|
|
155
|
+
href="https://instagram.com/username"
|
|
156
|
+
className="p-3 rounded-lg bg-gradient-to-br
|
|
157
|
+
from-pink-500 via-purple-500 to-orange-500
|
|
158
|
+
hover:from-pink-600 hover:to-orange-600
|
|
159
|
+
transition-all duration-300"
|
|
160
|
+
aria-label="Follow us on Instagram"
|
|
161
|
+
>
|
|
162
|
+
<InstagramIcon className="h-5 w-5 text-white" />
|
|
163
|
+
</a>
|
|
164
|
+
)
|
|
165
|
+
}`}
|
|
166
|
+
</pre>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
<div className="!space-y-4">
|
|
171
|
+
<h3 className="text-xl font-semibold !text-pink-300">
|
|
172
|
+
Live Preview
|
|
173
|
+
</h3>
|
|
174
|
+
<div className="flex h-32 items-center justify-center rounded-lg border border-white/10 bg-white/5">
|
|
175
|
+
<a
|
|
176
|
+
href="#"
|
|
177
|
+
className="rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-3 transition-all duration-300 hover:from-pink-600 hover:to-orange-600"
|
|
178
|
+
>
|
|
179
|
+
<InstagramIcon className="h-5 w-5 text-white" />
|
|
180
|
+
</a>
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
|
|
186
|
+
{/* Props Documentation */}
|
|
187
|
+
<div className="!space-y-8">
|
|
188
|
+
<h2 className="text-center text-3xl font-bold !text-white">
|
|
189
|
+
Props & Configuration
|
|
190
|
+
</h2>
|
|
191
|
+
|
|
192
|
+
<div className="overflow-hidden rounded-lg border border-white/10 bg-white/5">
|
|
193
|
+
<div className="bg-white/5 p-4">
|
|
194
|
+
<h3 className="text-xl font-semibold !text-white">Props</h3>
|
|
195
|
+
</div>
|
|
196
|
+
<table className="!my-0 w-full">
|
|
197
|
+
<thead className="bg-white/5">
|
|
198
|
+
<tr className="border-b border-white/10">
|
|
199
|
+
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
200
|
+
Prop
|
|
201
|
+
</th>
|
|
202
|
+
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
203
|
+
Type
|
|
204
|
+
</th>
|
|
205
|
+
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
206
|
+
Default
|
|
207
|
+
</th>
|
|
208
|
+
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
209
|
+
Description
|
|
210
|
+
</th>
|
|
211
|
+
</tr>
|
|
212
|
+
</thead>
|
|
213
|
+
<tbody>
|
|
214
|
+
<tr className="border-b border-white/5">
|
|
215
|
+
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
216
|
+
width
|
|
217
|
+
</td>
|
|
218
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
219
|
+
number | string
|
|
220
|
+
</td>
|
|
221
|
+
<td className="px-6 py-4 text-sm !text-white/50">
|
|
222
|
+
auto
|
|
223
|
+
</td>
|
|
224
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
225
|
+
Width of the icon (maintains aspect ratio)
|
|
226
|
+
</td>
|
|
227
|
+
</tr>
|
|
228
|
+
<tr className="border-b border-white/5 !bg-black/10">
|
|
229
|
+
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
230
|
+
height
|
|
231
|
+
</td>
|
|
232
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
233
|
+
number | string
|
|
234
|
+
</td>
|
|
235
|
+
<td className="px-6 py-4 text-sm !text-white/50">
|
|
236
|
+
auto
|
|
237
|
+
</td>
|
|
238
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
239
|
+
Height of the icon (maintains aspect ratio)
|
|
240
|
+
</td>
|
|
241
|
+
</tr>
|
|
242
|
+
<tr className="border-b border-white/5">
|
|
243
|
+
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
244
|
+
fill
|
|
245
|
+
</td>
|
|
246
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
247
|
+
string
|
|
248
|
+
</td>
|
|
249
|
+
<td className="px-6 py-4 text-sm !text-white/50">
|
|
250
|
+
currentColor
|
|
251
|
+
</td>
|
|
252
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
253
|
+
Fill color of the Instagram camera icon
|
|
254
|
+
</td>
|
|
255
|
+
</tr>
|
|
256
|
+
<tr className="border-b border-white/5 !bg-black/10">
|
|
257
|
+
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
258
|
+
className
|
|
259
|
+
</td>
|
|
260
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
261
|
+
string
|
|
262
|
+
</td>
|
|
263
|
+
<td className="px-6 py-4 text-sm !text-white/50">-</td>
|
|
264
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
265
|
+
CSS classes for styling and sizing
|
|
266
|
+
</td>
|
|
267
|
+
</tr>
|
|
268
|
+
<tr className="border-b border-white/5">
|
|
269
|
+
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
270
|
+
onClick
|
|
271
|
+
</td>
|
|
272
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
273
|
+
function
|
|
274
|
+
</td>
|
|
275
|
+
<td className="px-6 py-4 text-sm !text-white/50">-</td>
|
|
276
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
277
|
+
Click handler for social interactions
|
|
278
|
+
</td>
|
|
279
|
+
</tr>
|
|
280
|
+
<tr className="!bg-black/10">
|
|
281
|
+
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
282
|
+
...svgProps
|
|
283
|
+
</td>
|
|
284
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
285
|
+
SVGProps
|
|
286
|
+
</td>
|
|
287
|
+
<td className="px-6 py-4 text-sm !text-white/50">-</td>
|
|
288
|
+
<td className="px-6 py-4 text-sm !text-white/70">
|
|
289
|
+
All standard SVG element props
|
|
290
|
+
</td>
|
|
291
|
+
</tr>
|
|
292
|
+
</tbody>
|
|
293
|
+
</table>
|
|
294
|
+
</div>
|
|
295
|
+
|
|
296
|
+
<div className="rounded-lg border border-pink-500/20 bg-pink-500/10 p-4">
|
|
297
|
+
<div className="flex items-center gap-2 text-sm text-pink-200">
|
|
298
|
+
<InstagramIcon className="h-4 w-4" />
|
|
299
|
+
<span>
|
|
300
|
+
<strong>Brand Guidelines:</strong> Use Instagram's
|
|
301
|
+
signature gradient colors (pink, purple, orange) for
|
|
302
|
+
optimal brand recognition and consistency.
|
|
303
|
+
</span>
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
|
|
308
|
+
{/* Size Variations */}
|
|
309
|
+
<div className="!space-y-8">
|
|
310
|
+
<h2 className="text-center text-3xl font-bold !text-white">
|
|
311
|
+
Size Variations
|
|
312
|
+
</h2>
|
|
313
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-8">
|
|
314
|
+
<div className="!space-y-6">
|
|
315
|
+
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
316
|
+
<div className="!space-y-4">
|
|
317
|
+
<h3 className="text-lg font-semibold !text-pink-300">
|
|
318
|
+
Standard Sizes
|
|
319
|
+
</h3>
|
|
320
|
+
<div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
|
|
321
|
+
<div className="text-center">
|
|
322
|
+
<InstagramIcon className="!mx-auto mb-2 h-3 w-3 text-pink-400" />
|
|
323
|
+
<span className="text-xs text-white/60">12px</span>
|
|
324
|
+
</div>
|
|
325
|
+
<div className="text-center">
|
|
326
|
+
<InstagramIcon className="!mx-auto mb-2 h-4 w-4 text-pink-400" />
|
|
327
|
+
<span className="text-xs text-white/60">16px</span>
|
|
328
|
+
</div>
|
|
329
|
+
<div className="text-center">
|
|
330
|
+
<InstagramIcon className="!mx-auto mb-2 h-5 w-5 text-pink-400" />
|
|
331
|
+
<span className="text-xs text-white/60">20px</span>
|
|
332
|
+
</div>
|
|
333
|
+
<div className="text-center">
|
|
334
|
+
<InstagramIcon className="!mx-auto mb-2 h-6 w-6 text-pink-400" />
|
|
335
|
+
<span className="text-xs text-white/60">24px</span>
|
|
336
|
+
</div>
|
|
337
|
+
<div className="text-center">
|
|
338
|
+
<InstagramIcon className="!mx-auto mb-2 h-8 w-8 text-pink-400" />
|
|
339
|
+
<span className="text-xs text-white/60">32px</span>
|
|
340
|
+
</div>
|
|
341
|
+
<div className="text-center">
|
|
342
|
+
<InstagramIcon className="!mx-auto mb-2 h-12 w-12 text-pink-400" />
|
|
343
|
+
<span className="text-xs text-white/60">48px</span>
|
|
344
|
+
</div>
|
|
345
|
+
</div>
|
|
346
|
+
</div>
|
|
347
|
+
|
|
348
|
+
<div className="!space-y-4">
|
|
349
|
+
<h3 className="text-lg font-semibold !text-pink-300">
|
|
350
|
+
Code Example
|
|
351
|
+
</h3>
|
|
352
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
353
|
+
<pre className="overflow-x-auto text-sm !text-cyan-300">
|
|
354
|
+
{`// Small (16px) - inline social links
|
|
355
|
+
<InstagramIcon className="h-4 w-4" />
|
|
356
|
+
|
|
357
|
+
// Medium (24px) - standard buttons
|
|
358
|
+
<InstagramIcon className="h-6 w-6" />
|
|
359
|
+
|
|
360
|
+
// Large (32px) - prominent displays
|
|
361
|
+
<InstagramIcon className="h-8 w-8" />
|
|
362
|
+
|
|
363
|
+
// Custom size with maintained aspect ratio
|
|
364
|
+
<InstagramIcon width={40} height={40} />`}
|
|
365
|
+
</pre>
|
|
366
|
+
</div>
|
|
367
|
+
</div>
|
|
368
|
+
</div>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
371
|
+
</div>
|
|
372
|
+
|
|
373
|
+
{/* Color & Styling */}
|
|
374
|
+
<div className="!space-y-8">
|
|
375
|
+
<h2 className="text-center text-3xl font-bold !text-white">
|
|
376
|
+
Color & Styling
|
|
377
|
+
</h2>
|
|
378
|
+
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
379
|
+
<div className="!space-y-4">
|
|
380
|
+
<h3 className="text-lg font-semibold !text-pink-300">
|
|
381
|
+
Brand Colors & Gradients
|
|
382
|
+
</h3>
|
|
383
|
+
<div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
384
|
+
<div className="flex items-center gap-4">
|
|
385
|
+
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500">
|
|
386
|
+
<InstagramIcon className="h-6 w-6 text-white" />
|
|
387
|
+
</div>
|
|
388
|
+
<div>
|
|
389
|
+
<div className="text-sm font-medium text-white">
|
|
390
|
+
Official Gradient
|
|
391
|
+
</div>
|
|
392
|
+
<div className="text-xs text-white/60">
|
|
393
|
+
Pink to purple to orange
|
|
394
|
+
</div>
|
|
395
|
+
</div>
|
|
396
|
+
</div>
|
|
397
|
+
<div className="flex items-center gap-4">
|
|
398
|
+
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-pink-500">
|
|
399
|
+
<InstagramIcon className="h-6 w-6 text-white" />
|
|
400
|
+
</div>
|
|
401
|
+
<div>
|
|
402
|
+
<div className="text-sm font-medium text-white">
|
|
403
|
+
Pink Monochrome
|
|
404
|
+
</div>
|
|
405
|
+
<div className="text-xs text-white/60">
|
|
406
|
+
Single brand color
|
|
407
|
+
</div>
|
|
408
|
+
</div>
|
|
409
|
+
</div>
|
|
410
|
+
<div className="flex items-center gap-4">
|
|
411
|
+
<div className="flex h-12 w-12 items-center justify-center rounded-lg border border-gray-300 bg-white">
|
|
412
|
+
<InstagramIcon className="h-6 w-6 text-black" />
|
|
413
|
+
</div>
|
|
414
|
+
<div>
|
|
415
|
+
<div className="text-sm font-medium text-white">
|
|
416
|
+
Monochrome Black
|
|
417
|
+
</div>
|
|
418
|
+
<div className="text-xs text-white/60">
|
|
419
|
+
Light backgrounds
|
|
420
|
+
</div>
|
|
421
|
+
</div>
|
|
422
|
+
</div>
|
|
423
|
+
<div className="flex items-center gap-4">
|
|
424
|
+
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-gray-800">
|
|
425
|
+
<InstagramIcon className="h-6 w-6 text-white" />
|
|
426
|
+
</div>
|
|
427
|
+
<div>
|
|
428
|
+
<div className="text-sm font-medium text-white">
|
|
429
|
+
Monochrome White
|
|
430
|
+
</div>
|
|
431
|
+
<div className="text-xs text-white/60">
|
|
432
|
+
Dark backgrounds
|
|
433
|
+
</div>
|
|
434
|
+
</div>
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
</div>
|
|
438
|
+
|
|
439
|
+
<div className="!space-y-4">
|
|
440
|
+
<h3 className="text-lg font-semibold !text-pink-300">
|
|
441
|
+
Gradient Examples
|
|
442
|
+
</h3>
|
|
443
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
444
|
+
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
445
|
+
{`// Official Instagram gradient background
|
|
446
|
+
<div className="bg-gradient-to-br from-pink-500
|
|
447
|
+
via-purple-500 to-orange-500 p-3 rounded-lg">
|
|
448
|
+
<InstagramIcon className="h-6 w-6 text-white" />
|
|
449
|
+
</div>
|
|
450
|
+
|
|
451
|
+
// Alternative gradient
|
|
452
|
+
<div className="bg-gradient-to-r from-pink-400
|
|
453
|
+
to-orange-400 p-3 rounded-lg">
|
|
454
|
+
<InstagramIcon className="h-6 w-6 text-white" />
|
|
455
|
+
</div>
|
|
456
|
+
|
|
457
|
+
// Monochrome with hover gradient
|
|
458
|
+
<div className="bg-gray-800 hover:bg-gradient-to-br
|
|
459
|
+
hover:from-pink-500 hover:to-orange-500
|
|
460
|
+
p-3 rounded-lg transition-all duration-300">
|
|
461
|
+
<InstagramIcon className="h-6 w-6 text-white" />
|
|
462
|
+
</div>
|
|
463
|
+
|
|
464
|
+
// Icon with gradient text color (using CSS)
|
|
465
|
+
<InstagramIcon
|
|
466
|
+
className="h-6 w-6 bg-gradient-to-r from-pink-500
|
|
467
|
+
to-orange-500 bg-clip-text text-transparent"
|
|
468
|
+
/>
|
|
469
|
+
|
|
470
|
+
// Inherit parent color
|
|
471
|
+
<InstagramIcon className="h-6 w-6" />`}
|
|
472
|
+
</pre>
|
|
473
|
+
</div>
|
|
474
|
+
</div>
|
|
475
|
+
</div>
|
|
476
|
+
</div>
|
|
477
|
+
|
|
478
|
+
{/* Usage Examples */}
|
|
479
|
+
<div className="!space-y-8">
|
|
480
|
+
<h2 className="text-center text-3xl font-bold !text-white">
|
|
481
|
+
Usage Examples
|
|
482
|
+
</h2>
|
|
483
|
+
|
|
484
|
+
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
485
|
+
{/* Social Media Cards */}
|
|
486
|
+
<div className="!space-y-4">
|
|
487
|
+
<h3 className="text-lg font-semibold !text-pink-300">
|
|
488
|
+
Social Media Cards
|
|
489
|
+
</h3>
|
|
490
|
+
<div className="!space-y-4">
|
|
491
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
492
|
+
<div className="space-y-4">
|
|
493
|
+
<h4 className="mb-4 text-sm font-medium text-white">
|
|
494
|
+
Follow us on social media
|
|
495
|
+
</h4>
|
|
496
|
+
<div className="grid grid-cols-2 gap-4">
|
|
497
|
+
<a href="#" className="group block">
|
|
498
|
+
<div className="rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-4 transition-transform group-hover:scale-105">
|
|
499
|
+
<div className="flex items-center gap-3">
|
|
500
|
+
<InstagramIcon className="h-6 w-6 flex-shrink-0 text-white" />
|
|
501
|
+
<div>
|
|
502
|
+
<div className="text-sm font-semibold text-white">
|
|
503
|
+
Instagram
|
|
504
|
+
</div>
|
|
505
|
+
<div className="text-xs text-white/80">
|
|
506
|
+
@ourcompany
|
|
507
|
+
</div>
|
|
508
|
+
</div>
|
|
509
|
+
</div>
|
|
510
|
+
<div className="mt-3 text-xs text-white/90">
|
|
511
|
+
Behind-the-scenes content and daily updates
|
|
512
|
+
</div>
|
|
513
|
+
<div className="mt-2 text-xs font-medium text-white">
|
|
514
|
+
15.2k followers
|
|
515
|
+
</div>
|
|
516
|
+
</div>
|
|
517
|
+
</a>
|
|
518
|
+
<a href="#" className="group block">
|
|
519
|
+
<div className="rounded-lg border border-gray-700 bg-black p-4 transition-all group-hover:border-gray-600 group-hover:bg-gray-900">
|
|
520
|
+
<div className="flex items-center gap-3">
|
|
521
|
+
<div className="flex h-6 w-6 items-center justify-center">
|
|
522
|
+
<span className="text-lg text-white">
|
|
523
|
+
𝕏
|
|
524
|
+
</span>
|
|
525
|
+
</div>
|
|
526
|
+
<div>
|
|
527
|
+
<div className="text-sm font-semibold text-white">
|
|
528
|
+
X (Twitter)
|
|
529
|
+
</div>
|
|
530
|
+
<div className="text-xs text-white/60">
|
|
531
|
+
@ourcompany
|
|
532
|
+
</div>
|
|
533
|
+
</div>
|
|
534
|
+
</div>
|
|
535
|
+
<div className="mt-3 text-xs text-white/70">
|
|
536
|
+
News, updates, and community discussions
|
|
537
|
+
</div>
|
|
538
|
+
<div className="mt-2 text-xs font-medium text-white">
|
|
539
|
+
8.7k followers
|
|
540
|
+
</div>
|
|
541
|
+
</div>
|
|
542
|
+
</a>
|
|
543
|
+
</div>
|
|
544
|
+
<div className="border-t border-white/10 pt-4">
|
|
545
|
+
<div className="flex items-center justify-center gap-4">
|
|
546
|
+
<a
|
|
547
|
+
href="#"
|
|
548
|
+
className="rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-3 transition-transform hover:scale-110"
|
|
549
|
+
>
|
|
550
|
+
<InstagramIcon className="h-5 w-5 text-white" />
|
|
551
|
+
</a>
|
|
552
|
+
<a
|
|
553
|
+
href="#"
|
|
554
|
+
className="rounded-lg border border-gray-700 bg-black p-3 transition-transform hover:scale-110"
|
|
555
|
+
>
|
|
556
|
+
<span className="text-lg text-white">𝕏</span>
|
|
557
|
+
</a>
|
|
558
|
+
<a
|
|
559
|
+
href="#"
|
|
560
|
+
className="rounded-lg bg-blue-600 p-3 transition-transform hover:scale-110"
|
|
561
|
+
>
|
|
562
|
+
<span className="text-lg text-white">📘</span>
|
|
563
|
+
</a>
|
|
564
|
+
<a
|
|
565
|
+
href="#"
|
|
566
|
+
className="rounded-lg bg-blue-500 p-3 transition-transform hover:scale-110"
|
|
567
|
+
>
|
|
568
|
+
<span className="text-lg text-white">💼</span>
|
|
569
|
+
</a>
|
|
570
|
+
</div>
|
|
571
|
+
</div>
|
|
572
|
+
</div>
|
|
573
|
+
</div>
|
|
574
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
575
|
+
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
576
|
+
{`// Social media cards component
|
|
577
|
+
<div className="social-media-cards">
|
|
578
|
+
<h4>Follow us on social media</h4>
|
|
579
|
+
<div className="cards-grid">
|
|
580
|
+
<a href={instagramUrl} className="instagram-card">
|
|
581
|
+
<div className="card-content gradient-bg">
|
|
582
|
+
<div className="card-header">
|
|
583
|
+
<InstagramIcon className="h-6 w-6 text-white" />
|
|
584
|
+
<div className="platform-info">
|
|
585
|
+
<div className="platform-name">Instagram</div>
|
|
586
|
+
<div className="platform-handle">@ourcompany</div>
|
|
587
|
+
</div>
|
|
588
|
+
</div>
|
|
589
|
+
<div className="card-description">
|
|
590
|
+
Behind-the-scenes content and daily updates
|
|
591
|
+
</div>
|
|
592
|
+
<div className="follower-count">15.2k followers</div>
|
|
593
|
+
</div>
|
|
594
|
+
</a>
|
|
595
|
+
<TwitterCard />
|
|
596
|
+
</div>
|
|
597
|
+
<SocialIconRow />
|
|
598
|
+
</div>`}
|
|
599
|
+
</pre>
|
|
600
|
+
</div>
|
|
601
|
+
</div>
|
|
602
|
+
</div>
|
|
603
|
+
|
|
604
|
+
{/* Photo Gallery Integration */}
|
|
605
|
+
<div className="!space-y-4">
|
|
606
|
+
<h3 className="text-lg font-semibold !text-pink-300">
|
|
607
|
+
Photo Gallery Integration
|
|
608
|
+
</h3>
|
|
609
|
+
<div className="!space-y-4">
|
|
610
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
611
|
+
<div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
|
|
612
|
+
<div className="border-b border-white/10 bg-white/5 p-4">
|
|
613
|
+
<div className="flex items-center justify-between">
|
|
614
|
+
<h4 className="text-lg font-semibold text-white">
|
|
615
|
+
Latest from Instagram
|
|
616
|
+
</h4>
|
|
617
|
+
<a
|
|
618
|
+
href="#"
|
|
619
|
+
className="flex items-center gap-2 rounded-full bg-gradient-to-r from-pink-500 to-orange-500 px-3 py-1 text-sm text-white transition-colors hover:from-pink-600 hover:to-orange-600"
|
|
620
|
+
>
|
|
621
|
+
<InstagramIcon className="h-4 w-4" />
|
|
622
|
+
<span>View All</span>
|
|
623
|
+
</a>
|
|
624
|
+
</div>
|
|
625
|
+
</div>
|
|
626
|
+
<div className="p-4">
|
|
627
|
+
<div className="grid grid-cols-3 gap-3">
|
|
628
|
+
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-blue-500/20 to-purple-500/20">
|
|
629
|
+
<span className="text-2xl">🌅</span>
|
|
630
|
+
</div>
|
|
631
|
+
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-green-500/20 to-teal-500/20">
|
|
632
|
+
<span className="text-2xl">🌿</span>
|
|
633
|
+
</div>
|
|
634
|
+
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-yellow-500/20 to-orange-500/20">
|
|
635
|
+
<span className="text-2xl">☕</span>
|
|
636
|
+
</div>
|
|
637
|
+
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-purple-500/20 to-pink-500/20">
|
|
638
|
+
<span className="text-2xl">🎨</span>
|
|
639
|
+
</div>
|
|
640
|
+
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-red-500/20 to-pink-500/20">
|
|
641
|
+
<span className="text-2xl">🌺</span>
|
|
642
|
+
</div>
|
|
643
|
+
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-indigo-500/20 to-blue-500/20">
|
|
644
|
+
<span className="text-2xl">🌊</span>
|
|
645
|
+
</div>
|
|
646
|
+
</div>
|
|
647
|
+
<div className="mt-4 text-center">
|
|
648
|
+
<a
|
|
649
|
+
href="#"
|
|
650
|
+
className="text-sm text-pink-400 transition-colors hover:text-pink-300"
|
|
651
|
+
>
|
|
652
|
+
@ourcompany • 245 posts
|
|
653
|
+
</a>
|
|
654
|
+
</div>
|
|
655
|
+
</div>
|
|
656
|
+
</div>
|
|
657
|
+
</div>
|
|
658
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
659
|
+
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
660
|
+
{`// Instagram gallery feed widget
|
|
661
|
+
<div className="instagram-gallery">
|
|
662
|
+
<div className="gallery-header">
|
|
663
|
+
<h3>Latest from Instagram</h3>
|
|
664
|
+
<a
|
|
665
|
+
href={instagramUrl}
|
|
666
|
+
className="view-all-btn"
|
|
667
|
+
>
|
|
668
|
+
<InstagramIcon className="h-4 w-4" />
|
|
669
|
+
<span>View All</span>
|
|
670
|
+
</a>
|
|
671
|
+
</div>
|
|
672
|
+
<div className="photo-grid">
|
|
673
|
+
{instagramPosts.map(post => (
|
|
674
|
+
<a
|
|
675
|
+
key={post.id}
|
|
676
|
+
href={post.permalink}
|
|
677
|
+
className="photo-item"
|
|
678
|
+
target="_blank"
|
|
679
|
+
rel="noopener noreferrer"
|
|
680
|
+
>
|
|
681
|
+
<img
|
|
682
|
+
src={post.media_url}
|
|
683
|
+
alt={post.caption}
|
|
684
|
+
className="photo-image"
|
|
685
|
+
/>
|
|
686
|
+
<div className="photo-overlay">
|
|
687
|
+
<InstagramIcon className="h-5 w-5 text-white" />
|
|
688
|
+
</div>
|
|
689
|
+
</a>
|
|
690
|
+
))}
|
|
691
|
+
</div>
|
|
692
|
+
<div className="gallery-footer">
|
|
693
|
+
<a href={instagramUrl}>@{instagramHandle} • {postCount} posts</a>
|
|
694
|
+
</div>
|
|
695
|
+
</div>`}
|
|
696
|
+
</pre>
|
|
697
|
+
</div>
|
|
698
|
+
</div>
|
|
699
|
+
</div>
|
|
700
|
+
|
|
701
|
+
{/* Profile Bio Section */}
|
|
702
|
+
<div className="!space-y-4">
|
|
703
|
+
<h3 className="text-lg font-semibold !text-pink-300">
|
|
704
|
+
Creator Profile Bio
|
|
705
|
+
</h3>
|
|
706
|
+
<div className="!space-y-4">
|
|
707
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
708
|
+
<div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
|
|
709
|
+
<div className="relative h-32 bg-gradient-to-r from-pink-500/20 via-purple-500/20 to-orange-500/20">
|
|
710
|
+
<div className="absolute -bottom-8 left-6">
|
|
711
|
+
<div className="flex h-16 w-16 items-center justify-center rounded-full border-4 border-black/50 bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500">
|
|
712
|
+
<span className="text-2xl">📸</span>
|
|
713
|
+
</div>
|
|
714
|
+
</div>
|
|
715
|
+
</div>
|
|
716
|
+
<div className="p-6 pt-12">
|
|
717
|
+
<div className="flex items-start justify-between">
|
|
718
|
+
<div>
|
|
719
|
+
<h4 className="text-lg font-semibold text-white">
|
|
720
|
+
Alex Thompson
|
|
721
|
+
</h4>
|
|
722
|
+
<p className="text-sm text-white/60">
|
|
723
|
+
@alexcreates
|
|
724
|
+
</p>
|
|
725
|
+
<p className="mt-2 max-w-sm text-sm text-white/70">
|
|
726
|
+
Visual storyteller & photographer capturing
|
|
727
|
+
life's beautiful moments 📷✨
|
|
728
|
+
</p>
|
|
729
|
+
</div>
|
|
730
|
+
<button className="rounded-lg bg-gradient-to-r from-pink-500 to-orange-500 px-4 py-2 font-medium text-white transition-colors hover:from-pink-600 hover:to-orange-600">
|
|
731
|
+
Follow
|
|
732
|
+
</button>
|
|
733
|
+
</div>
|
|
734
|
+
<div className="mt-4 flex items-center gap-6">
|
|
735
|
+
<div className="text-sm">
|
|
736
|
+
<span className="font-medium text-white">
|
|
737
|
+
1,847
|
|
738
|
+
</span>
|
|
739
|
+
<span className="ml-1 text-white/60">
|
|
740
|
+
Posts
|
|
741
|
+
</span>
|
|
742
|
+
</div>
|
|
743
|
+
<div className="text-sm">
|
|
744
|
+
<span className="font-medium text-white">
|
|
745
|
+
52.1k
|
|
746
|
+
</span>
|
|
747
|
+
<span className="ml-1 text-white/60">
|
|
748
|
+
Followers
|
|
749
|
+
</span>
|
|
750
|
+
</div>
|
|
751
|
+
<div className="text-sm">
|
|
752
|
+
<span className="font-medium text-white">
|
|
753
|
+
943
|
|
754
|
+
</span>
|
|
755
|
+
<span className="ml-1 text-white/60">
|
|
756
|
+
Following
|
|
757
|
+
</span>
|
|
758
|
+
</div>
|
|
759
|
+
</div>
|
|
760
|
+
<div className="mt-4 flex items-center gap-4 border-t border-white/10 pt-4">
|
|
761
|
+
<span className="text-sm text-white/60">
|
|
762
|
+
Connect:
|
|
763
|
+
</span>
|
|
764
|
+
<div className="flex gap-2">
|
|
765
|
+
<a
|
|
766
|
+
href="#"
|
|
767
|
+
className="rounded bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-2 transition-transform hover:scale-110"
|
|
768
|
+
aria-label="Follow on Instagram"
|
|
769
|
+
>
|
|
770
|
+
<InstagramIcon className="h-4 w-4 text-white" />
|
|
771
|
+
</a>
|
|
772
|
+
<a
|
|
773
|
+
href="#"
|
|
774
|
+
className="rounded bg-red-600 p-2 transition-colors hover:bg-red-700"
|
|
775
|
+
aria-label="Subscribe on YouTube"
|
|
776
|
+
>
|
|
777
|
+
<span className="text-sm text-white">📺</span>
|
|
778
|
+
</a>
|
|
779
|
+
<a
|
|
780
|
+
href="#"
|
|
781
|
+
className="rounded bg-pink-500 p-2 transition-colors hover:bg-pink-600"
|
|
782
|
+
aria-label="View TikTok"
|
|
783
|
+
>
|
|
784
|
+
<span className="text-sm text-white">🎵</span>
|
|
785
|
+
</a>
|
|
786
|
+
<a
|
|
787
|
+
href="#"
|
|
788
|
+
className="rounded bg-gray-600 p-2 transition-colors hover:bg-gray-700"
|
|
789
|
+
aria-label="Portfolio Website"
|
|
790
|
+
>
|
|
791
|
+
<span className="text-sm text-white">🌐</span>
|
|
792
|
+
</a>
|
|
793
|
+
</div>
|
|
794
|
+
</div>
|
|
795
|
+
</div>
|
|
796
|
+
</div>
|
|
797
|
+
</div>
|
|
798
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
799
|
+
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
800
|
+
{`// Creator profile with Instagram prominence
|
|
801
|
+
<div className="creator-profile">
|
|
802
|
+
<div className="profile-header">
|
|
803
|
+
<CoverImage gradient="instagram" />
|
|
804
|
+
<ProfileAvatar gradient="instagram" />
|
|
805
|
+
</div>
|
|
806
|
+
<div className="profile-content">
|
|
807
|
+
<div className="profile-info">
|
|
808
|
+
<CreatorDetails creator={creator} />
|
|
809
|
+
<FollowButton creatorId={creator.id} />
|
|
810
|
+
</div>
|
|
811
|
+
<ProfileStats stats={creator.stats} />
|
|
812
|
+
<div className="social-links">
|
|
813
|
+
<span>Connect:</span>
|
|
814
|
+
<div className="link-group">
|
|
815
|
+
<a
|
|
816
|
+
href={creator.socialLinks.instagram}
|
|
817
|
+
className="social-link instagram-link gradient-bg"
|
|
818
|
+
aria-label="Follow on Instagram"
|
|
819
|
+
>
|
|
820
|
+
<InstagramIcon className="h-4 w-4 text-white" />
|
|
821
|
+
</a>
|
|
822
|
+
<YouTubeLink url={creator.socialLinks.youtube} />
|
|
823
|
+
<TikTokLink url={creator.socialLinks.tiktok} />
|
|
824
|
+
<WebsiteLink url={creator.website} />
|
|
825
|
+
</div>
|
|
826
|
+
</div>
|
|
827
|
+
</div>
|
|
828
|
+
</div>`}
|
|
829
|
+
</pre>
|
|
830
|
+
</div>
|
|
831
|
+
</div>
|
|
832
|
+
</div>
|
|
833
|
+
|
|
834
|
+
{/* Brand Showcase */}
|
|
835
|
+
<div className="!space-y-4">
|
|
836
|
+
<h3 className="text-lg font-semibold !text-pink-300">
|
|
837
|
+
Brand Visual Showcase
|
|
838
|
+
</h3>
|
|
839
|
+
<div className="!space-y-4">
|
|
840
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
841
|
+
<div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
|
|
842
|
+
<div className="p-6">
|
|
843
|
+
<div className="mb-6 text-center">
|
|
844
|
+
<h4 className="mb-2 text-xl font-semibold text-white">
|
|
845
|
+
Share Your Story
|
|
846
|
+
</h4>
|
|
847
|
+
<p className="text-sm text-white/70">
|
|
848
|
+
Show the world your brand's visual journey
|
|
849
|
+
</p>
|
|
850
|
+
</div>
|
|
851
|
+
<div className="mb-6 grid grid-cols-2 gap-4">
|
|
852
|
+
<div className="rounded-lg border border-pink-500/20 bg-gradient-to-br from-pink-500/10 to-orange-500/10 p-4">
|
|
853
|
+
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500">
|
|
854
|
+
<InstagramIcon className="h-6 w-6 text-white" />
|
|
855
|
+
</div>
|
|
856
|
+
<h5 className="mb-2 text-sm font-semibold text-white">
|
|
857
|
+
Visual Content
|
|
858
|
+
</h5>
|
|
859
|
+
<p className="text-xs text-white/60">
|
|
860
|
+
Share photos, stories, and reels to showcase
|
|
861
|
+
your brand personality
|
|
862
|
+
</p>
|
|
863
|
+
</div>
|
|
864
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
865
|
+
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
|
|
866
|
+
<span className="text-xl">👥</span>
|
|
867
|
+
</div>
|
|
868
|
+
<h5 className="mb-2 text-sm font-semibold text-white">
|
|
869
|
+
Community
|
|
870
|
+
</h5>
|
|
871
|
+
<p className="text-xs text-white/60">
|
|
872
|
+
Build meaningful connections with your
|
|
873
|
+
audience through visual storytelling
|
|
874
|
+
</p>
|
|
875
|
+
</div>
|
|
876
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
877
|
+
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg bg-orange-500/20">
|
|
878
|
+
<span className="text-xl">📈</span>
|
|
879
|
+
</div>
|
|
880
|
+
<h5 className="mb-2 text-sm font-semibold text-white">
|
|
881
|
+
Growth
|
|
882
|
+
</h5>
|
|
883
|
+
<p className="text-xs text-white/60">
|
|
884
|
+
Reach new audiences and grow your brand
|
|
885
|
+
presence organically
|
|
886
|
+
</p>
|
|
887
|
+
</div>
|
|
888
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
889
|
+
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
|
|
890
|
+
<span className="text-xl">✨</span>
|
|
891
|
+
</div>
|
|
892
|
+
<h5 className="mb-2 text-sm font-semibold text-white">
|
|
893
|
+
Inspiration
|
|
894
|
+
</h5>
|
|
895
|
+
<p className="text-xs text-white/60">
|
|
896
|
+
Inspire others with authentic content that
|
|
897
|
+
reflects your values
|
|
898
|
+
</p>
|
|
899
|
+
</div>
|
|
900
|
+
</div>
|
|
901
|
+
<div className="text-center">
|
|
902
|
+
<a
|
|
903
|
+
href="#"
|
|
904
|
+
className="inline-flex items-center gap-2 rounded-lg bg-gradient-to-r from-pink-500 via-purple-500 to-orange-500 px-6 py-3 font-medium text-white transition-colors hover:from-pink-600 hover:to-orange-600"
|
|
905
|
+
>
|
|
906
|
+
<InstagramIcon className="h-5 w-5" />
|
|
907
|
+
<span>Get Started on Instagram</span>
|
|
908
|
+
</a>
|
|
909
|
+
</div>
|
|
910
|
+
</div>
|
|
911
|
+
</div>
|
|
912
|
+
</div>
|
|
913
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
914
|
+
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
915
|
+
{`// Brand showcase with Instagram integration
|
|
916
|
+
<div className="brand-showcase">
|
|
917
|
+
<div className="showcase-header">
|
|
918
|
+
<h2>Share Your Story</h2>
|
|
919
|
+
<p>Show the world your brand's visual journey</p>
|
|
920
|
+
</div>
|
|
921
|
+
<div className="feature-grid">
|
|
922
|
+
<div className="feature-card instagram-feature">
|
|
923
|
+
<div className="feature-icon gradient-bg">
|
|
924
|
+
<InstagramIcon className="h-6 w-6 text-white" />
|
|
925
|
+
</div>
|
|
926
|
+
<h3>Visual Content</h3>
|
|
927
|
+
<p>Share photos, stories, and reels to showcase your brand personality</p>
|
|
928
|
+
</div>
|
|
929
|
+
<CommunityFeature />
|
|
930
|
+
<GrowthFeature />
|
|
931
|
+
<InspirationFeature />
|
|
932
|
+
</div>
|
|
933
|
+
<div className="cta-section">
|
|
934
|
+
<a
|
|
935
|
+
href={instagramSignUpUrl}
|
|
936
|
+
className="cta-button gradient-bg"
|
|
937
|
+
>
|
|
938
|
+
<InstagramIcon className="h-5 w-5" />
|
|
939
|
+
<span>Get Started on Instagram</span>
|
|
940
|
+
</a>
|
|
941
|
+
</div>
|
|
942
|
+
</div>`}
|
|
943
|
+
</pre>
|
|
944
|
+
</div>
|
|
945
|
+
</div>
|
|
946
|
+
</div>
|
|
947
|
+
</div>
|
|
948
|
+
</div>
|
|
949
|
+
|
|
950
|
+
{/* Accessibility */}
|
|
951
|
+
<div className="!space-y-8">
|
|
952
|
+
<h2 className="text-center text-3xl font-bold !text-white">
|
|
953
|
+
Accessibility Features
|
|
954
|
+
</h2>
|
|
955
|
+
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
956
|
+
<div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
957
|
+
<h3 className="text-lg font-semibold !text-green-300">
|
|
958
|
+
✅ Built-in Features
|
|
959
|
+
</h3>
|
|
960
|
+
<ul className="!space-y-2 text-sm !text-white/70">
|
|
961
|
+
<li className="!text-white/70">
|
|
962
|
+
Uses Radix UI AccessibleIcon wrapper
|
|
963
|
+
</li>
|
|
964
|
+
<li className="!text-white/70">
|
|
965
|
+
Provides screen reader label "Instagram icon"
|
|
966
|
+
</li>
|
|
967
|
+
<li className="!text-white/70">
|
|
968
|
+
Supports keyboard navigation when interactive
|
|
969
|
+
</li>
|
|
970
|
+
<li className="!text-white/70">
|
|
971
|
+
High contrast design for visibility
|
|
972
|
+
</li>
|
|
973
|
+
<li className="!text-white/70">
|
|
974
|
+
Maintains aspect ratio across all sizes
|
|
975
|
+
</li>
|
|
976
|
+
</ul>
|
|
977
|
+
</div>
|
|
978
|
+
|
|
979
|
+
<div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
980
|
+
<h3 className="text-lg font-semibold !text-pink-300">
|
|
981
|
+
💡 Best Practices
|
|
982
|
+
</h3>
|
|
983
|
+
<ul className="!space-y-2 text-sm text-white/70">
|
|
984
|
+
<li className="!text-white/70">
|
|
985
|
+
Always provide descriptive aria-labels for Instagram
|
|
986
|
+
actions
|
|
987
|
+
</li>
|
|
988
|
+
<li className="!text-white/70">
|
|
989
|
+
Use Instagram's official gradient colors for brand
|
|
990
|
+
consistency
|
|
991
|
+
</li>
|
|
992
|
+
<li className="!text-white/70">
|
|
993
|
+
Ensure sufficient contrast with gradient backgrounds
|
|
994
|
+
</li>
|
|
995
|
+
<li className="!text-white/70">
|
|
996
|
+
Include external link indicators for Instagram URLs
|
|
997
|
+
</li>
|
|
998
|
+
<li className="!text-white/70">
|
|
999
|
+
Consider visual content accessibility in related
|
|
1000
|
+
features
|
|
1001
|
+
</li>
|
|
1002
|
+
</ul>
|
|
1003
|
+
</div>
|
|
1004
|
+
</div>
|
|
1005
|
+
|
|
1006
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
1007
|
+
<h3 className="mb-4 text-lg font-semibold !text-blue-300">
|
|
1008
|
+
Proper ARIA Implementation
|
|
1009
|
+
</h3>
|
|
1010
|
+
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
1011
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
1012
|
+
<pre className="overflow-x-auto text-sm !text-cyan-300">
|
|
1013
|
+
{`// Instagram profile link
|
|
1014
|
+
<a
|
|
1015
|
+
href="https://instagram.com/username"
|
|
1016
|
+
className="instagram-link"
|
|
1017
|
+
aria-label="Follow @username on Instagram"
|
|
1018
|
+
target="_blank"
|
|
1019
|
+
rel="noopener noreferrer"
|
|
1020
|
+
>
|
|
1021
|
+
<InstagramIcon className="h-5 w-5 text-white" />
|
|
1022
|
+
</a>
|
|
1023
|
+
|
|
1024
|
+
// Photo gallery with Instagram integration
|
|
1025
|
+
<div className="instagram-gallery">
|
|
1026
|
+
<h2 id="gallery-title">Latest from Instagram</h2>
|
|
1027
|
+
<div
|
|
1028
|
+
className="photo-grid"
|
|
1029
|
+
role="grid"
|
|
1030
|
+
aria-labelledby="gallery-title"
|
|
1031
|
+
>
|
|
1032
|
+
{photos.map(photo => (
|
|
1033
|
+
<a
|
|
1034
|
+
key={photo.id}
|
|
1035
|
+
href={photo.permalink}
|
|
1036
|
+
role="gridcell"
|
|
1037
|
+
aria-label={photo.alt_text || photo.caption}
|
|
1038
|
+
target="_blank"
|
|
1039
|
+
rel="noopener noreferrer"
|
|
1040
|
+
>
|
|
1041
|
+
<img src={photo.thumbnail} alt={photo.alt_text} />
|
|
1042
|
+
<InstagramIcon className="overlay-icon" aria-hidden="true" />
|
|
1043
|
+
</a>
|
|
1044
|
+
))}
|
|
1045
|
+
</div>
|
|
1046
|
+
</div>
|
|
1047
|
+
|
|
1048
|
+
// Social media card
|
|
1049
|
+
<div className="social-card instagram-card">
|
|
1050
|
+
<a
|
|
1051
|
+
href={instagramUrl}
|
|
1052
|
+
aria-describedby="instagram-desc"
|
|
1053
|
+
>
|
|
1054
|
+
<InstagramIcon className="h-6 w-6" />
|
|
1055
|
+
<div className="platform-info">
|
|
1056
|
+
<div className="platform-name">Instagram</div>
|
|
1057
|
+
<div className="platform-handle">@company</div>
|
|
1058
|
+
</div>
|
|
1059
|
+
</a>
|
|
1060
|
+
<div id="instagram-desc" className="sr-only">
|
|
1061
|
+
Follow our Instagram for behind-the-scenes content and daily updates
|
|
1062
|
+
</div>
|
|
1063
|
+
</div>
|
|
1064
|
+
|
|
1065
|
+
// Share to Instagram button
|
|
1066
|
+
<button
|
|
1067
|
+
onClick={shareToInstagram}
|
|
1068
|
+
className="share-btn"
|
|
1069
|
+
aria-label="Share this content to Instagram Stories"
|
|
1070
|
+
>
|
|
1071
|
+
<InstagramIcon className="h-4 w-4" />
|
|
1072
|
+
<span>Share to Stories</span>
|
|
1073
|
+
</button>
|
|
1074
|
+
|
|
1075
|
+
// Creator profile with Instagram prominence
|
|
1076
|
+
<div className="creator-profile">
|
|
1077
|
+
<div className="profile-header">
|
|
1078
|
+
<h1>{creator.name}</h1>
|
|
1079
|
+
<div className="creator-social">
|
|
1080
|
+
<a
|
|
1081
|
+
href={creator.instagram}
|
|
1082
|
+
className="primary-social-link"
|
|
1083
|
+
aria-label={"Follow " + creator.name + " on Instagram"}
|
|
1084
|
+
>
|
|
1085
|
+
<InstagramIcon className="h-5 w-5" />
|
|
1086
|
+
<span className="sr-only">Primary social platform</span>
|
|
1087
|
+
</a>
|
|
1088
|
+
</div>
|
|
1089
|
+
</div>
|
|
1090
|
+
</div>`}
|
|
1091
|
+
</pre>
|
|
1092
|
+
</div>
|
|
1093
|
+
<div className="!space-y-4">
|
|
1094
|
+
<p className="text-sm !text-white/70">
|
|
1095
|
+
When using InstagramIcon for visual content integration,
|
|
1096
|
+
always provide proper alt text for images and clear
|
|
1097
|
+
context about visual content accessibility for users
|
|
1098
|
+
with visual impairments.
|
|
1099
|
+
</p>
|
|
1100
|
+
<div className="rounded-lg border border-pink-500/20 bg-pink-500/10 p-4">
|
|
1101
|
+
<div className="flex items-center gap-2 text-sm text-pink-200">
|
|
1102
|
+
<InstagramIcon className="h-4 w-4" />
|
|
1103
|
+
<span>
|
|
1104
|
+
Consider image descriptions and alt text when
|
|
1105
|
+
integrating Instagram content
|
|
1106
|
+
</span>
|
|
1107
|
+
</div>
|
|
1108
|
+
</div>
|
|
1109
|
+
</div>
|
|
1110
|
+
</div>
|
|
1111
|
+
</div>
|
|
1112
|
+
</div>
|
|
1113
|
+
|
|
1114
|
+
{/* Related Icons */}
|
|
1115
|
+
<div className="!space-y-8">
|
|
1116
|
+
<h2 className="text-center text-3xl font-bold !text-white">
|
|
1117
|
+
Related Icons
|
|
1118
|
+
</h2>
|
|
1119
|
+
<div className="grid grid-cols-2 gap-6 md:grid-cols-4">
|
|
1120
|
+
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
1121
|
+
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
|
|
1122
|
+
<span className="!text-2xl !text-white">📘</span>
|
|
1123
|
+
</div>
|
|
1124
|
+
<div>
|
|
1125
|
+
<div className="font-medium text-white">FacebookIcon</div>
|
|
1126
|
+
<div className="text-xs text-white/60">
|
|
1127
|
+
Social platform
|
|
1128
|
+
</div>
|
|
1129
|
+
</div>
|
|
1130
|
+
</div>
|
|
1131
|
+
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
1132
|
+
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-black">
|
|
1133
|
+
<span className="!text-2xl !text-white">𝕏</span>
|
|
1134
|
+
</div>
|
|
1135
|
+
<div>
|
|
1136
|
+
<div className="font-medium text-white">TwitterXIcon</div>
|
|
1137
|
+
<div className="text-xs text-white/60">
|
|
1138
|
+
Social network
|
|
1139
|
+
</div>
|
|
1140
|
+
</div>
|
|
1141
|
+
</div>
|
|
1142
|
+
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
1143
|
+
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-red-500/20">
|
|
1144
|
+
<span className="!text-2xl !text-white">📺</span>
|
|
1145
|
+
</div>
|
|
1146
|
+
<div>
|
|
1147
|
+
<div className="font-medium text-white">YouTubeIcon</div>
|
|
1148
|
+
<div className="text-xs text-white/60">
|
|
1149
|
+
Video platform
|
|
1150
|
+
</div>
|
|
1151
|
+
</div>
|
|
1152
|
+
</div>
|
|
1153
|
+
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
1154
|
+
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
|
|
1155
|
+
<span className="!text-2xl !text-white">🎵</span>
|
|
1156
|
+
</div>
|
|
1157
|
+
<div>
|
|
1158
|
+
<div className="font-medium text-white">TikTokIcon</div>
|
|
1159
|
+
<div className="text-xs text-white/60">Short video</div>
|
|
1160
|
+
</div>
|
|
1161
|
+
</div>
|
|
1162
|
+
</div>
|
|
1163
|
+
</div>
|
|
1164
|
+
</div>
|
|
1165
|
+
|
|
1166
|
+
{/* Footer */}
|
|
1167
|
+
<div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
|
|
1168
|
+
<div className="!mx-auto max-w-7xl px-6 py-8">
|
|
1169
|
+
<div className="!space-y-4 text-center">
|
|
1170
|
+
<p className="!text-white/60">
|
|
1171
|
+
InstagramIcon is part of the Aural UI icon library, built
|
|
1172
|
+
with accessibility and visual content integration best
|
|
1173
|
+
practices in mind.
|
|
1174
|
+
</p>
|
|
1175
|
+
<p className="text-sm !text-white/40">
|
|
1176
|
+
All icons use Radix UI's AccessibleIcon for screen reader
|
|
1177
|
+
compatibility and follow WCAG guidelines for social media
|
|
1178
|
+
recognition and visual content accessibility.
|
|
1179
|
+
</p>
|
|
1180
|
+
</div>
|
|
1181
|
+
</div>
|
|
1182
|
+
</div>
|
|
1183
|
+
</div>
|
|
1184
|
+
</>
|
|
1185
|
+
),
|
|
1186
|
+
},
|
|
1187
|
+
},
|
|
1188
|
+
tags: ["autodocs"],
|
|
1189
|
+
argTypes: {
|
|
1190
|
+
width: {
|
|
1191
|
+
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
1192
|
+
description: "Width of the icon (maintains aspect ratio)",
|
|
1193
|
+
},
|
|
1194
|
+
height: {
|
|
1195
|
+
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
1196
|
+
description: "Height of the icon (maintains aspect ratio)",
|
|
1197
|
+
},
|
|
1198
|
+
fill: {
|
|
1199
|
+
control: "color",
|
|
1200
|
+
description: "Fill color of the Instagram camera icon",
|
|
1201
|
+
},
|
|
1202
|
+
className: {
|
|
1203
|
+
control: "text",
|
|
1204
|
+
description: "CSS classes for styling and sizing",
|
|
1205
|
+
},
|
|
1206
|
+
onClick: {
|
|
1207
|
+
action: "clicked",
|
|
1208
|
+
description: "Click handler for social interactions",
|
|
1209
|
+
},
|
|
1210
|
+
},
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
export default meta
|
|
1214
|
+
type Story = StoryObj<typeof InstagramIcon>
|
|
1215
|
+
|
|
1216
|
+
// Story parameters for consistent dark theme
|
|
1217
|
+
const storyParameters = {
|
|
1218
|
+
backgrounds: {
|
|
1219
|
+
default: "dark",
|
|
1220
|
+
values: [
|
|
1221
|
+
{ name: "dark", value: "#0a0a0a" },
|
|
1222
|
+
{ name: "darker", value: "#000000" },
|
|
1223
|
+
],
|
|
1224
|
+
},
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
export const Default: Story = {
|
|
1228
|
+
args: {
|
|
1229
|
+
className: "h-8 w-8 text-pink-400",
|
|
1230
|
+
},
|
|
1231
|
+
parameters: storyParameters,
|
|
1232
|
+
render: (args) => (
|
|
1233
|
+
<div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
|
|
1234
|
+
<InstagramIcon {...args} />
|
|
1235
|
+
</div>
|
|
1236
|
+
),
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
export const SizeVariations: Story = {
|
|
1240
|
+
parameters: {
|
|
1241
|
+
...storyParameters,
|
|
1242
|
+
docs: {
|
|
1243
|
+
description: {
|
|
1244
|
+
story:
|
|
1245
|
+
"InstagramIcon in different sizes, from small inline social links to large brand displays.",
|
|
1246
|
+
},
|
|
1247
|
+
},
|
|
1248
|
+
},
|
|
1249
|
+
render: () => (
|
|
1250
|
+
<div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
|
|
1251
|
+
<div className="text-center">
|
|
1252
|
+
<InstagramIcon className="!mx-auto mb-2 h-3 w-3 text-pink-400" />
|
|
1253
|
+
<span className="text-xs text-white/60">12px</span>
|
|
1254
|
+
</div>
|
|
1255
|
+
<div className="text-center">
|
|
1256
|
+
<InstagramIcon className="!mx-auto mb-2 h-4 w-4 text-pink-400" />
|
|
1257
|
+
<span className="text-xs text-white/60">16px</span>
|
|
1258
|
+
</div>
|
|
1259
|
+
<div className="text-center">
|
|
1260
|
+
<InstagramIcon className="!mx-auto mb-2 h-5 w-5 text-pink-400" />
|
|
1261
|
+
<span className="text-xs text-white/60">20px</span>
|
|
1262
|
+
</div>
|
|
1263
|
+
<div className="text-center">
|
|
1264
|
+
<InstagramIcon className="!mx-auto mb-2 h-6 w-6 text-pink-400" />
|
|
1265
|
+
<span className="text-xs text-white/60">24px</span>
|
|
1266
|
+
</div>
|
|
1267
|
+
<div className="text-center">
|
|
1268
|
+
<InstagramIcon className="!mx-auto mb-2 h-8 w-8 text-pink-400" />
|
|
1269
|
+
<span className="text-xs text-white/60">32px</span>
|
|
1270
|
+
</div>
|
|
1271
|
+
<div className="text-center">
|
|
1272
|
+
<InstagramIcon className="!mx-auto mb-2 h-12 w-12 text-pink-400" />
|
|
1273
|
+
<span className="text-xs text-white/60">48px</span>
|
|
1274
|
+
</div>
|
|
1275
|
+
</div>
|
|
1276
|
+
),
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
export const BrandGradients: Story = {
|
|
1280
|
+
parameters: {
|
|
1281
|
+
...storyParameters,
|
|
1282
|
+
docs: {
|
|
1283
|
+
description: {
|
|
1284
|
+
story:
|
|
1285
|
+
"InstagramIcon with Instagram's signature gradient colors and brand-compliant styling.",
|
|
1286
|
+
},
|
|
1287
|
+
},
|
|
1288
|
+
},
|
|
1289
|
+
render: () => (
|
|
1290
|
+
<div className="grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8 md:grid-cols-4">
|
|
1291
|
+
<div className="text-center">
|
|
1292
|
+
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500">
|
|
1293
|
+
<InstagramIcon className="h-8 w-8 text-white" />
|
|
1294
|
+
</div>
|
|
1295
|
+
<div className="text-sm font-medium text-white">Official Gradient</div>
|
|
1296
|
+
<div className="text-xs text-pink-400">Pink to orange</div>
|
|
1297
|
+
</div>
|
|
1298
|
+
<div className="text-center">
|
|
1299
|
+
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg bg-pink-500">
|
|
1300
|
+
<InstagramIcon className="h-8 w-8 text-white" />
|
|
1301
|
+
</div>
|
|
1302
|
+
<div className="text-sm font-medium text-white">Pink Monochrome</div>
|
|
1303
|
+
<div className="text-xs text-pink-400">Single brand color</div>
|
|
1304
|
+
</div>
|
|
1305
|
+
<div className="text-center">
|
|
1306
|
+
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-gray-300 bg-white">
|
|
1307
|
+
<InstagramIcon className="h-8 w-8 text-black" />
|
|
1308
|
+
</div>
|
|
1309
|
+
<div className="text-sm font-medium text-white">Monochrome Black</div>
|
|
1310
|
+
<div className="text-xs text-white/60">Light backgrounds</div>
|
|
1311
|
+
</div>
|
|
1312
|
+
<div className="text-center">
|
|
1313
|
+
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg bg-gray-800">
|
|
1314
|
+
<InstagramIcon className="h-8 w-8 text-white" />
|
|
1315
|
+
</div>
|
|
1316
|
+
<div className="text-sm font-medium text-white">Monochrome White</div>
|
|
1317
|
+
<div className="text-xs text-white/60">Dark backgrounds</div>
|
|
1318
|
+
</div>
|
|
1319
|
+
</div>
|
|
1320
|
+
),
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
export const UsageExamples: Story = {
|
|
1324
|
+
parameters: {
|
|
1325
|
+
...storyParameters,
|
|
1326
|
+
docs: {
|
|
1327
|
+
description: {
|
|
1328
|
+
story:
|
|
1329
|
+
"Real-world usage examples showing InstagramIcon in different visual content and social media contexts.",
|
|
1330
|
+
},
|
|
1331
|
+
},
|
|
1332
|
+
},
|
|
1333
|
+
render: () => (
|
|
1334
|
+
<div className="min-h-dvh !space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
|
|
1335
|
+
{/* Social Media Card */}
|
|
1336
|
+
<div className="!space-y-2">
|
|
1337
|
+
<h3 className="text-sm font-medium text-white">Social Media Card</h3>
|
|
1338
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
1339
|
+
<div className="rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-4">
|
|
1340
|
+
<div className="flex items-center gap-3">
|
|
1341
|
+
<InstagramIcon className="h-6 w-6 flex-shrink-0 text-white" />
|
|
1342
|
+
<div>
|
|
1343
|
+
<div className="text-sm font-semibold text-white">
|
|
1344
|
+
Instagram
|
|
1345
|
+
</div>
|
|
1346
|
+
<div className="text-xs text-white/80">@ourcompany</div>
|
|
1347
|
+
</div>
|
|
1348
|
+
</div>
|
|
1349
|
+
<div className="mt-3 text-xs text-white/90">
|
|
1350
|
+
Behind-the-scenes content and daily updates
|
|
1351
|
+
</div>
|
|
1352
|
+
<div className="mt-2 text-xs font-medium text-white">
|
|
1353
|
+
15.2k followers
|
|
1354
|
+
</div>
|
|
1355
|
+
</div>
|
|
1356
|
+
</div>
|
|
1357
|
+
</div>
|
|
1358
|
+
|
|
1359
|
+
{/* Photo Gallery */}
|
|
1360
|
+
<div className="!space-y-2">
|
|
1361
|
+
<h3 className="text-sm font-medium text-white">
|
|
1362
|
+
Instagram Gallery Widget
|
|
1363
|
+
</h3>
|
|
1364
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
1365
|
+
<div className="mb-4 flex items-center justify-between">
|
|
1366
|
+
<h4 className="text-sm font-semibold text-white">
|
|
1367
|
+
Latest from Instagram
|
|
1368
|
+
</h4>
|
|
1369
|
+
<a
|
|
1370
|
+
href="#"
|
|
1371
|
+
className="flex items-center gap-2 rounded-full bg-gradient-to-r from-pink-500 to-orange-500 px-3 py-1 text-xs text-white transition-colors hover:from-pink-600 hover:to-orange-600"
|
|
1372
|
+
>
|
|
1373
|
+
<InstagramIcon className="h-3 w-3" />
|
|
1374
|
+
<span>View All</span>
|
|
1375
|
+
</a>
|
|
1376
|
+
</div>
|
|
1377
|
+
<div className="grid grid-cols-4 gap-2">
|
|
1378
|
+
<div className="flex aspect-square items-center justify-center rounded bg-gradient-to-br from-blue-500/20 to-purple-500/20">
|
|
1379
|
+
<span className="text-lg">🌅</span>
|
|
1380
|
+
</div>
|
|
1381
|
+
<div className="flex aspect-square items-center justify-center rounded bg-gradient-to-br from-green-500/20 to-teal-500/20">
|
|
1382
|
+
<span className="text-lg">🌿</span>
|
|
1383
|
+
</div>
|
|
1384
|
+
<div className="flex aspect-square items-center justify-center rounded bg-gradient-to-br from-yellow-500/20 to-orange-500/20">
|
|
1385
|
+
<span className="text-lg">☕</span>
|
|
1386
|
+
</div>
|
|
1387
|
+
<div className="flex aspect-square items-center justify-center rounded bg-gradient-to-br from-purple-500/20 to-pink-500/20">
|
|
1388
|
+
<span className="text-lg">🎨</span>
|
|
1389
|
+
</div>
|
|
1390
|
+
</div>
|
|
1391
|
+
</div>
|
|
1392
|
+
</div>
|
|
1393
|
+
|
|
1394
|
+
{/* Social Links */}
|
|
1395
|
+
<div className="!space-y-2">
|
|
1396
|
+
<h3 className="text-sm font-medium text-white">Social Media Links</h3>
|
|
1397
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
1398
|
+
<div className="flex items-center gap-3">
|
|
1399
|
+
<span className="text-sm text-white/60">Follow us:</span>
|
|
1400
|
+
<div className="flex gap-2">
|
|
1401
|
+
<a
|
|
1402
|
+
href="#"
|
|
1403
|
+
className="rounded bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-2 transition-transform hover:scale-110"
|
|
1404
|
+
>
|
|
1405
|
+
<InstagramIcon className="h-4 w-4 text-white" />
|
|
1406
|
+
</a>
|
|
1407
|
+
<a
|
|
1408
|
+
href="#"
|
|
1409
|
+
className="rounded border border-gray-700 bg-black p-2 transition-transform hover:scale-110"
|
|
1410
|
+
>
|
|
1411
|
+
<span className="text-sm text-white">𝕏</span>
|
|
1412
|
+
</a>
|
|
1413
|
+
<a
|
|
1414
|
+
href="#"
|
|
1415
|
+
className="rounded bg-red-600 p-2 transition-transform hover:scale-110"
|
|
1416
|
+
>
|
|
1417
|
+
<span className="text-sm text-white">📺</span>
|
|
1418
|
+
</a>
|
|
1419
|
+
</div>
|
|
1420
|
+
</div>
|
|
1421
|
+
</div>
|
|
1422
|
+
</div>
|
|
1423
|
+
</div>
|
|
1424
|
+
),
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
export const Playground: Story = {
|
|
1428
|
+
parameters: {
|
|
1429
|
+
...storyParameters,
|
|
1430
|
+
docs: {
|
|
1431
|
+
description: {
|
|
1432
|
+
story:
|
|
1433
|
+
"Interactive playground to experiment with different InstagramIcon configurations.",
|
|
1434
|
+
},
|
|
1435
|
+
},
|
|
1436
|
+
},
|
|
1437
|
+
args: {
|
|
1438
|
+
width: 24,
|
|
1439
|
+
height: 24,
|
|
1440
|
+
className: "text-pink-400",
|
|
1441
|
+
},
|
|
1442
|
+
render: (args) => (
|
|
1443
|
+
<div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
|
|
1444
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-8">
|
|
1445
|
+
<InstagramIcon {...args} />
|
|
1446
|
+
</div>
|
|
1447
|
+
</div>
|
|
1448
|
+
),
|
|
1449
|
+
}
|