generated from skills/github-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5223c82
commit 85eeea6
Showing
54 changed files
with
6,386 additions
and
1,916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": ["next/core-web-vitals", "next/typescript"], | ||
"rules": { | ||
"react/no-unescaped-entities": "off", | ||
"@next/next/no-page-custom-font": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"no-var": "off" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,36 @@ | ||
# Compiled source # | ||
################### | ||
*.com | ||
*.class | ||
*.dll | ||
*.exe | ||
*.o | ||
*.so | ||
|
||
# Packages # | ||
############ | ||
# it's better to unpack these files and commit the raw source | ||
# git has its own built in compression methods | ||
*.7z | ||
*.dmg | ||
*.gz | ||
*.iso | ||
*.jar | ||
*.rar | ||
*.tar | ||
*.zip | ||
|
||
# Logs and databases # | ||
###################### | ||
*.log | ||
*.sql | ||
*.sqlite | ||
|
||
# OS generated files # | ||
###################### | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
ehthumbs.db | ||
Thumbs.db | ||
pandoc-3.2-1-amd64.deb | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel. | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! | ||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import InteractiveStars from "../components/Sketch"; | ||
|
||
export default function Page() { | ||
<InteractiveStars /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { Button } from "@/components/ui/button" | ||
import { Github, Mail } from "lucide-react" | ||
import Link from "next/link" | ||
|
||
export default function LetsContact() { | ||
return ( | ||
<section id="contact" className="text-center"> | ||
<h2 className="text-3xl font-bold mb-6">Let's Connect</h2> | ||
<div className="flex justify-center space-x-4"> | ||
<Button variant="outline" size="icon" asChild> | ||
<Link href="https://github.com/turbomaster95" target="_blank" rel="noopener noreferrer"> | ||
<Github className="h-5 w-5" /> | ||
<span className="sr-only">GitHub</span> | ||
</Link> | ||
</Button> | ||
<Button variant="outline" size="icon" asChild> | ||
<Link href="mailto:admin@coderrrrr.site"> | ||
<Mail className="h-5 w-5" /> | ||
<span className="sr-only">Email</span> | ||
</Link> | ||
</Button> | ||
<Button variant="outline" size="icon" asChild> | ||
<Link href="https://mastodon.social/@coderrrrr" target="_blank" rel="noopener noreferrer"> | ||
<svg className="h-5 w-5" viewBox="0 0 24 24" fill="currentColor"> | ||
<path d="M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z"/> | ||
</svg> | ||
<span className="sr-only">Mastodon</span> | ||
</Link> | ||
</Button> | ||
<Button variant="outline" size="icon" asChild> | ||
<Link href="https://discord.com/users/765881288740569088" target="_blank" rel="noopener noreferrer"> | ||
<svg className="h-5 w-5" viewBox="0 0 24 24" fill="currentColor"> | ||
<path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/> | ||
</svg> | ||
<span className="sr-only">Discord</span> | ||
</Link> | ||
</Button> | ||
</div> | ||
</section> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
'use client' | ||
|
||
import { useState } from 'react' | ||
import Link from 'next/link' | ||
import { usePathname } from 'next/navigation' | ||
import { Menu, X } from 'lucide-react' | ||
import { Button } from "@/components/ui/button" | ||
|
||
const navItems = [ | ||
{ href: '/', label: 'Home' }, | ||
{ href: '/about', label: 'About' }, | ||
{ href: '/projects', label: 'Projects' }, | ||
{ href: '/contact', label: 'Contact' }, | ||
] | ||
|
||
export default function Navbar() { | ||
const pathname = usePathname() | ||
const [isOpen, setIsOpen] = useState(false) | ||
|
||
return ( | ||
<nav className="bg-background shadow-sm"> | ||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | ||
<div className="flex items-center justify-between h-16"> | ||
<div className="flex items-center"> | ||
<Link href="/" className="flex-shrink-0"> | ||
<span className="text-2xl font-bold text-primary-foreground">👨💻 coderrrrr.site</span> | ||
</Link> | ||
</div> | ||
<div className="hidden md:block"> | ||
<div className="ml-10 flex items-baseline space-x-4"> | ||
{navItems.map((item) => ( | ||
<Link | ||
key={item.href} | ||
href={item.href} | ||
className={`px-3 py-2 rounded-md text-sm font-medium ${ | ||
pathname === item.href | ||
? 'bg-primary text-primary-foreground' | ||
: 'text-foreground hover:bg-accent hover:text-accent-foreground' | ||
}`} | ||
> | ||
{item.label} | ||
</Link> | ||
))} | ||
</div> | ||
</div> | ||
<div className="md:hidden"> | ||
<Button | ||
variant="ghost" | ||
size="icon" | ||
onClick={() => setIsOpen(!isOpen)} | ||
aria-label="Toggle menu" | ||
> | ||
{isOpen ? <X className="h-6 w-6" /> : <Menu className="h-6 w-6" />} | ||
</Button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{/* Mobile menu */} | ||
{isOpen && ( | ||
<div className="md:hidden"> | ||
<div className="px-2 pt-2 pb-3 space-y-1 sm:px-3"> | ||
{navItems.map((item) => ( | ||
<Link | ||
key={item.href} | ||
href={item.href} | ||
className={`block px-3 py-2 rounded-md text-base font-medium ${ | ||
pathname === item.href | ||
? 'bg-primary text-primary-foreground' | ||
: 'text-foreground hover:bg-accent hover:text-accent-foreground' | ||
}`} | ||
onClick={() => setIsOpen(false)} | ||
> | ||
{item.label} | ||
</Link> | ||
))} | ||
</div> | ||
</div> | ||
)} | ||
</nav> | ||
) | ||
} |
Oops, something went wrong.