wuhp commited on
Commit
66ee2d1
·
verified ·
1 Parent(s): 518de38

Update components/Sidebar.tsx

Browse files
Files changed (1) hide show
  1. components/Sidebar.tsx +9 -2
components/Sidebar.tsx CHANGED
@@ -1,8 +1,8 @@
1
-
2
  import React from 'react';
3
  import { LAYER_DEFINITIONS } from '../constants';
4
  import { LayerType } from '../types';
5
  import { Box, Sparkles, LayoutTemplate, Circle, Search, X, ChevronLeft, ChevronRight } from 'lucide-react';
 
6
 
7
  interface SidebarProps {
8
  onOpenAIBuilder: () => void;
@@ -191,6 +191,13 @@ const Sidebar: React.FC<SidebarProps> = ({ onOpenAIBuilder, onSelectTemplate, is
191
  </div>
192
  ))
193
  )}
 
 
 
 
 
 
 
194
  </div>
195
 
196
  <div className="p-4 border-t border-slate-800 text-[10px] text-slate-500 text-center flex items-center justify-center gap-2 min-w-[16rem]">
@@ -203,4 +210,4 @@ const Sidebar: React.FC<SidebarProps> = ({ onOpenAIBuilder, onSelectTemplate, is
203
  );
204
  };
205
 
206
- export default Sidebar;
 
 
1
  import React from 'react';
2
  import { LAYER_DEFINITIONS } from '../constants';
3
  import { LayerType } from '../types';
4
  import { Box, Sparkles, LayoutTemplate, Circle, Search, X, ChevronLeft, ChevronRight } from 'lucide-react';
5
+ import GoogleAd from './GoogleAd';
6
 
7
  interface SidebarProps {
8
  onOpenAIBuilder: () => void;
 
191
  </div>
192
  ))
193
  )}
194
+
195
+ {/* Sidebar Ad Spot */}
196
+ <div className="pt-4 border-t border-slate-800/50">
197
+ <div className="text-[10px] text-slate-600 mb-2 uppercase tracking-wider font-semibold text-center">Sponsored</div>
198
+ <GoogleAd />
199
+ </div>
200
+
201
  </div>
202
 
203
  <div className="p-4 border-t border-slate-800 text-[10px] text-slate-500 text-center flex items-center justify-center gap-2 min-w-[16rem]">
 
210
  );
211
  };
212
 
213
+ export default Sidebar;