Skip to content

Commit 5caed43

Browse files
author
agent
committed
fix(build): resolve TS6133 unused variable error in MemeGenerator + security + cleanup
1 parent 98f4a6e commit 5caed43

7 files changed

Lines changed: 34 additions & 313 deletions

File tree

CODE_OF_CONDUCT.md.bak

Lines changed: 0 additions & 19 deletions
This file was deleted.

CONTRIBUTING.md.bak

Lines changed: 0 additions & 46 deletions
This file was deleted.

LICENSE.bak

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.md.bak

Lines changed: 0 additions & 185 deletions
This file was deleted.

index.html

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -219,38 +219,5 @@
219219
<body>
220220
<div id="root"></div>
221221
<script type="module" src="/src/main.tsx"></script>
222-
223-
<!-- Hidden SEO Rich Content for Crawlers -->
224-
<div style="position:absolute;left:-9999px;top:-9999px;opacity:0;height:0;width:0;overflow:hidden;" aria-hidden="true">
225-
<h1>Ved Parkash Arya - Founder of Snapforest</h1>
226-
<p>Ved Parkash Arya is the founder and CEO of Snapforest, India's premium creator space platform. Ved Parkash Arya is a BTech CSE-AI graduate, Full-Stack & AI Engineer based in India. Ved Parkash Arya builds open source projects for 10K+ developers. Ved Parkash Arya is a GitHub Star 2026. Snapforest was founded by Ved Parkash Arya to revolutionize the creator economy in India. Ved Parkash Arya Snapforest creator space platform India.</p>
227-
<p>Snapforest allows creators to book studios, rent equipment, and access creator services across India. Founded by Ved Parkash Arya, Snapforest is built with React, tRPC, and PostgreSQL. Ved Parkash Arya is a skilled developer in React, TypeScript, Node.js, Python, AI/ML, and full-stack web development.</p>
228-
<p>Keywords: Ved Parkash Arya, Snapforest, Ved Parkash Arya founder, Ved Parkash Arya Snapforest, Ved Parkash Arya India, Ved Parkash Arya full stack developer, Ved Parkash Arya AI engineer, Ved Parkash Arya BTech, Ved Parkash Arya GEC Lakhisarai, Snapforest India, Snapforest creator space, Snapforest studio booking, Snapforest platform, Snapforest by Ved Parkash Arya, Ved Parkash Arya GitHub, Ved Parkash Arya open source, Ved Parkash Arya developer, Ved Parkash Arya engineer, Ved Parkash Arya entrepreneur, Ved Parkash Arya startup founder, Ved Parkash Arya tech entrepreneur India.</p>
229-
<ul>
230-
<li>Ved Parkash Arya founder of Snapforest</li>
231-
<li>Ved Parkash Arya full stack developer India</li>
232-
<li>Ved Parkash Arya AI engineer</li>
233-
<li>Ved Parkash Arya BTech CSE AI</li>
234-
<li>Ved Parkash Arya GEC Lakhisarai</li>
235-
<li>Ved Parkash Arya GitHub star</li>
236-
<li>Ved Parkash Arya open source contributor</li>
237-
<li>Ved Parkash Arya creator economy India</li>
238-
<li>Ved Parkash Arya React developer</li>
239-
<li>Ved Parkash Arya TypeScript expert</li>
240-
<li>Snapforest by Ved Parkash Arya</li>
241-
<li>Snapforest creator platform India</li>
242-
<li>Snapforest studio booking</li>
243-
<li>Snapforest equipment rental</li>
244-
<li>Snapforest creator services</li>
245-
</ul>
246-
<article>
247-
<h2>About Ved Parkash Arya and Snapforest</h2>
248-
<p>Ved Parkash Arya founded Snapforest in 2026. Ved Parkash Arya is passionate about building technology solutions for creators. Ved Parkash Arya believes in the power of open source and has contributed to multiple projects. Ved Parkash Arya is an achievement hunter who constantly strives for excellence. Ved Parkash Arya built Snapforest using modern web technologies including React, tRPC, and PostgreSQL. Ved Parkash Arya Snapforest is the go-to platform for Indian creators looking for professional studio spaces and high-quality equipment.</p>
249-
<h3>Ved Parkash Arya Skills and Expertise</h3>
250-
<p>Ved Parkash Arya specializes in full-stack development, artificial intelligence engineering, React ecosystem, TypeScript, Node.js, tRPC, PostgreSQL, Prisma ORM, Next.js, and modern web architecture. Ved Parkash Arya is also skilled in Python, machine learning, deep learning, computer vision, and natural language processing. Ved Parkash Arya builds scalable applications that serve thousands of users.</p>
251-
<h3>Snapforest Platform Features</h3>
252-
<p>Snapforest by Ved Parkash Arya offers studio booking, equipment rental, creator marketplace, portfolio hosting, collaboration tools, and community features for Indian content creators, YouTubers, podcasters, filmmakers, and digital artists. Snapforest is India's answer to the growing creator economy.</p>
253-
</article>
254-
</div>
255222
</body>
256223
</html>

src/pages/play/MemeGenerator.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,12 @@ const memeTemplates = [
2222
];
2323

2424
export default function MemeGenerator() {
25-
const [currentMeme, setCurrentMeme] = useState(memeTemplates[0]);
2625
const [topText, setTopText] = useState(memeTemplates[0].top);
2726
const [bottomText, setBottomText] = useState(memeTemplates[0].bottom);
2827
const canvasRef = useRef<HTMLCanvasElement>(null);
2928

3029
const shuffleMeme = useCallback(() => {
3130
const random = memeTemplates[Math.floor(Math.random() * memeTemplates.length)];
32-
setCurrentMeme(random);
3331
setTopText(random.top);
3432
setBottomText(random.bottom);
3533
}, []);

vercel.json

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,39 @@
2323
},
2424
{
2525
"key": "Permissions-Policy",
26-
"value": "camera=(self), microphone=(self), geolocation=(self)"
26+
"value": "camera=(self), microphone=(self), geolocation=(self), accelerometer=(), autoplay=(), encrypted-media=(self), fullscreen=(self), gyroscope=(), magnetometer=(), midi=(), payment=(), picture-in-picture=(self), usb=(), interest-cohort=()"
27+
},
28+
{
29+
"key": "X-XSS-Protection",
30+
"value": "1; mode=block"
31+
},
32+
{
33+
"key": "X-Permitted-Cross-Domain-Policies",
34+
"value": "none"
35+
},
36+
{
37+
"key": "Content-Security-Policy",
38+
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://analytics.google.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https:; font-src 'self' https://fonts.gstatic.com; connect-src 'self' https://api.snapforest.in https://vitals.vercel-insights.com; media-src 'self' blob:; object-src 'none'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests;"
39+
},
40+
{
41+
"key": "Strict-Transport-Security",
42+
"value": "max-age=63072000; includeSubDomains; preload"
43+
},
44+
{
45+
"key": "X-DNS-Prefetch-Control",
46+
"value": "on"
47+
},
48+
{
49+
"key": "Cross-Origin-Resource-Policy",
50+
"value": "same-origin"
51+
},
52+
{
53+
"key": "Cross-Origin-Opener-Policy",
54+
"value": "same-origin"
55+
},
56+
{
57+
"key": "Cross-Origin-Embedder-Policy",
58+
"value": "credentialless"
2759
}
2860
]
2961
},
@@ -50,16 +82,7 @@
5082
]
5183
},
5284
{
53-
"source": "/founder-portrait.jpg",
54-
"headers": [
55-
{
56-
"key": "Cache-Control",
57-
"value": "public, max-age=31536000, immutable"
58-
}
59-
]
60-
},
61-
{
62-
"source": "/hero-studio.jpg",
85+
"source": "/(.*\\.(jpg|jpeg|png|svg|webp|gif|ico|woff|woff2|ttf|otf|eot))",
6386
"headers": [
6487
{
6588
"key": "Cache-Control",

0 commit comments

Comments
 (0)