Skip to content

Commit b267d25

Browse files
docker file update
1 parent 3ea09b0 commit b267d25

19 files changed

Lines changed: 368 additions & 130 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
3+
{
4+
"name": "Node.js",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm",
7+
"features": {
8+
"ghcr.io/devcontainers-extra/features/prisma:2": {}
9+
}
10+
11+
// Features to add to the dev container. More info: https://containers.dev/features.
12+
// "features": {},
13+
14+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
15+
// "forwardPorts": [],
16+
17+
// Use 'postCreateCommand' to run commands after the container is created.
18+
// "postCreateCommand": "yarn install",
19+
20+
// Configure tool-specific properties.
21+
// "customizations": {},
22+
23+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
24+
// "remoteUser": "root"
25+
}

.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
npm-debug.log
3+
.next
4+
.env
5+
.env.local
6+
.gitignore

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ yarn-error.log*
3939
# typescript
4040
*.tsbuildinfo
4141
next-env.d.ts
42+
node_modules/
43+
44+
.DS_Store
45+
Dockerfile

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"window.zoomLevel": 1,
3+
"editor.mouseWheelZoom": true,
4+
"editor.fontSize": 15
5+
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { SignIn } from '@clerk/nextjs'
2-
3-
export default function Page() {
4-
return <div className='flex items-center justify-center h-screen'>
5-
<SignIn />
6-
</div>
1+
import { SignIn } from '@clerk/nextjs'
2+
3+
export default function Page() {
4+
return <div className='flex items-center justify-center h-screen'>
5+
<SignIn />
6+
</div>
77
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { SignUp } from '@clerk/nextjs'
2-
3-
export default function Page() {
4-
return <SignUp />
1+
import { SignUp } from '@clerk/nextjs'
2+
3+
export default function Page() {
4+
return <SignUp />
55
}

app/about/page.jsx

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
import Image from 'next/image';
2+
3+
const About = () => {
4+
const sessions = [
5+
{
6+
host: "Shahbaz Asif",
7+
title: "Next JS | TypeScript | Figma for Web Design",
8+
time: "6:00 to 7:00 PM (Sunday off)",
9+
description: "Figma for Web & Mobile Apps",
10+
discordLink: "https://discord.gg/GKRK7AUswr",
11+
youtubeLink: "https://www.youtube.com/@LearnthenDesign/streams",
12+
linkedinLink: "https://www.linkedin.com/events/basicweblayout-buttonsandfonts-7280738364230688768/theater/",
13+
emoji: "💻"
14+
},
15+
{
16+
host: "Rabia Noreen",
17+
title: "Day 2: English Speaking Practice | Personal Pronouns",
18+
time: "7:00 to 8:00 PM (Sunday, Wednesday off)",
19+
description: "Beginners to Advance | Mastering in English",
20+
discordLink: "https://discord.gg/hKPuwpQbgS",
21+
youtubeLink: "https://www.youtube.com/live/e7kktLjaVbY?si=IveS3DSn7GvYLpZN",
22+
linkedinLink: "https://www.linkedin.com/events/day2-englishspeakingpracticeonl7280700168629370880/theater/",
23+
emoji: "🗣️"
24+
},
25+
{
26+
host: "Minahil Nawaz",
27+
title: "Lec-3: Python | String Complete | Conditional Statements",
28+
time: "8:00 PM to 9:00 PM",
29+
description: "Basic To Advance Full Course",
30+
discordLink: "https://discord.gg/Pgw2nf2ewn",
31+
youtubeLink: "https://youtube.com/live/0m3Q0a2UkIw?feature=share",
32+
linkedinLink: "https://www.linkedin.com/events/lec-3-python-stringcomplete-con7280748479679782913/theater/",
33+
emoji: "🐍"
34+
},
35+
{
36+
host: "Minahil Nawaz",
37+
title: "Agent AI PIAIC201",
38+
time: "9:00 PM to 11:59 PM",
39+
description: "Agent AI Exploring LLM Models Generation & Script Analysis + LangChain RAG",
40+
discordLink: "https://discord.gg/Pgw2nf2ewn",
41+
youtubeLink: "https://youtube.com/live/0m3Q0a2UkIw?feature=share",
42+
linkedinLink: "https://www.linkedin.com/events/langchainrag-llmmodelsforcreati7280751452996722688/theater/",
43+
emoji: "🤖"
44+
},
45+
{
46+
host: "Muhammad Tahir",
47+
title: "FastAPI PostgreSQL with Next.js",
48+
time: "10:00 PM to 11:00 PM",
49+
description: "Implementing FastAPI with PostgreSQL and Next.js",
50+
discordLink: "https://discord.gg/72AjJzquu8",
51+
youtubeLink: "https://youtube.com/live/YLHenP2i980?feature=share",
52+
linkedinLink: "https://www.linkedin.com/events/implementingstudentsapiwithfast7280754291022192640/theater/",
53+
channelLink: "https://www.youtube.com/@motivation2code",
54+
emoji: "⚙️"
55+
}
56+
];
57+
58+
return (
59+
<div className="max-w-6xl mx-auto px-4 py-8">
60+
<div className="text-center mb-6">
61+
<Image
62+
src="/logo1.jpg"
63+
alt="Logo"
64+
width={150}
65+
height={150}
66+
className="mx-auto mb-4"
67+
/>
68+
<h1 className="text-3xl font-semibold text-gray-800">About Us</h1>
69+
<p className="mt-2 text-lg text-gray-600">We offer a variety of online courses to help you improve your skills.</p>
70+
<p className="mt-2 text-lg text-gray-600">TypeScript 🟨 | Next.js ⚛️ | Figma 🎨</p>
71+
</div>
72+
73+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mt-8">
74+
{sessions.map((session, index) => (
75+
<div key={index} className="bg-white shadow-lg rounded-lg overflow-hidden relative group">
76+
<div className="absolute inset-0 bg-cover bg-center opacity-40 group-hover:opacity-50" style={{ backgroundImage: 'url(/logo1.png)' }}></div>
77+
<div className="p-6 relative z-10">
78+
<h2 className="text-2xl font-semibold text-slate-950">
79+
{session.title} {session.emoji}
80+
</h2>
81+
<p className="mt-2 text-lg text-slate-950"><strong>Host:</strong> {session.host}</p>
82+
<p className="mt-2 text-lg text-slate-950"><strong>Time:</strong> {session.time}</p>
83+
<p className="mt-4 text-slate-950">{session.description}</p>
84+
</div>
85+
<div className="px-6 py-4 border-t border-gray-200 relative z-10">
86+
<div className="flex space-x-4">
87+
<a href={session.discordLink} className="text-blue-500 hover:underline">Discord</a>
88+
<a href={session.youtubeLink} className="text-blue-500 hover:underline">YouTube</a>
89+
<a href={session.linkedinLink} className="text-blue-500 hover:underline">LinkedIn</a>
90+
{session.channelLink && (
91+
<a href={session.channelLink} className="text-blue-500 hover:underline">Channel</a>
92+
)}
93+
</div>
94+
</div>
95+
</div>
96+
))}
97+
</div>
98+
</div>
99+
);
100+
}
101+
102+
export default About;

app/page.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Button } from "@/components/ui/button"; // Import your Button component
44
import Image from "next/image"; // Import Image for usage if needed
55
import { UserButton } from '@clerk/nextjs';
66

7+
78
export default function Home() {
89
return (
910
<>
@@ -28,6 +29,7 @@ export default function Home() {
2829
<Button>Subcribe</Button>
2930
<UserButton />
3031
{/* Add any images or additional content here */}
32+
3133
</div>
3234
</>
3335
);

app/seo/metadata.js

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
export const metadata = {
2-
title: "AI PDF Reader - Unlock Insights from Your Documents",
3-
description: "AI PDF Reader is a powerful tool to analyze and extract content from PDFs efficiently. Explore AI-powered document analysis today.",
4-
keywords: "AI PDF Reader, PDF analysis, AI tools, document reader, AI-powered tools, PDF content extraction",
5-
author: "AI PDF Reader Team",
6-
robots: "index, follow",
7-
openGraph: {
8-
type: "website",
9-
title: "AI PDF Reader - Unlock Insights from Your Documents",
10-
description: "AI PDF Reader is a powerful tool to analyze and extract content from PDFs efficiently. Explore AI-powered document analysis today.",
11-
url: "https://ai-pdf-reader.vercel.app/",
12-
images: [
13-
{
14-
url: "https://ai-pdf-reader.vercel.app/og-image.jpg", // Replace with actual image URL
15-
width: 1200,
16-
height: 630,
17-
alt: "AI PDF Reader Preview Image",
18-
},
19-
],
20-
},
21-
twitter: {
22-
card: "summary_large_image",
23-
title: "AI PDF Reader - Unlock Insights from Your Documents",
24-
description: "AI PDF Reader is a powerful tool to analyze and extract content from PDFs efficiently. Explore AI-powered document analysis today.",
25-
image: "https://ai-pdf-reader.vercel.app/twitter-image.jpg", // Replace with actual image URL
26-
},
27-
};
1+
export const metadata = {
2+
title: "AI PDF Reader - Unlock Insights from Your Documents",
3+
description: "AI PDF Reader is a powerful tool to analyze and extract content from PDFs efficiently. Explore AI-powered document analysis today.",
4+
keywords: "AI PDF Reader, PDF analysis, AI tools, document reader, AI-powered tools, PDF content extraction",
5+
author: "AI PDF Reader Team",
6+
robots: "index, follow",
7+
openGraph: {
8+
type: "website",
9+
title: "AI PDF Reader - Unlock Insights from Your Documents",
10+
description: "AI PDF Reader is a powerful tool to analyze and extract content from PDFs efficiently. Explore AI-powered document analysis today.",
11+
url: "https://ai-pdf-reader.vercel.app/",
12+
images: [
13+
{
14+
url: "https://ai-pdf-reader.vercel.app/og-image.jpg", // Replace with actual image URL
15+
width: 1200,
16+
height: 630,
17+
alt: "AI PDF Reader Preview Image",
18+
},
19+
],
20+
},
21+
twitter: {
22+
card: "summary_large_image",
23+
title: "AI PDF Reader - Unlock Insights from Your Documents",
24+
description: "AI PDF Reader is a powerful tool to analyze and extract content from PDFs efficiently. Explore AI-powered document analysis today.",
25+
image: "https://ai-pdf-reader.vercel.app/twitter-image.jpg", // Replace with actual image URL
26+
},
27+
};
2828

0 commit comments

Comments
 (0)