Skip to content

Commit 3355f0a

Browse files
committed
Resolve conflicts with main
2 parents 710fd1c + 2a4bd44 commit 3355f0a

43 files changed

Lines changed: 24713 additions & 128 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cla-check.yml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,31 @@ jobs:
1616
uses: actions/github-script@v7
1717
with:
1818
script: |
19-
const body = `## 📋 Contributor License Agreement (CLA)
19+
const body = `## Contributor License Agreement (CLA)
2020
21-
Thank you for your contribution to ToolBox!
21+
Thank you for your contribution to ToolBox.
2222
2323
**By submitting this pull request, you automatically agree to our [Contributor License Agreement (CLA)](https://github.com/${context.repo.owner}/${context.repo.repo}/blob/main/CLA.md).**
2424
25-
### ⚠️ Important Points:
25+
### Key Terms
2626
27-
- You grant the project owner exclusive commercial rights to this project
28-
- You waive any claims to commercialization or royalties
29-
- You retain rights to use your contributions for non-commercial purposes
30-
- You confirm your contributions are your original work
31-
- This agreement is automatic upon submission
27+
- You grant the project owner exclusive commercial rights to this project
28+
- You waive any claims to commercialization or royalties
29+
- You retain rights to use your contributions for non-commercial purposes
30+
- You confirm your contributions are your original work
31+
- This agreement is automatic upon submission
3232
33-
### 📖 Full Agreement
33+
### Full Agreement
3434
35-
Please read the complete [CLA](https://github.com/${context.repo.owner}/${context.repo.repo}/blob/main/CLA.md) for all terms and conditions.
35+
Please review the complete [CLA](https://github.com/${context.repo.owner}/${context.repo.repo}/blob/main/CLA.md) for all terms and conditions.
3636
37-
### Questions?
37+
### Questions
3838
39-
If you have questions about the CLA, please comment on this PR or open a discussion.
39+
If you have questions about the CLA, please comment on this pull request or open a discussion.
4040
4141
---
4242
43-
**By keeping this PR open or updating it, you confirm your acceptance of the CLA.**`;
43+
**By continuing with this pull request, you confirm your acceptance of the CLA.**`;
4444
4545
// Check if we've already commented
4646
const comments = await github.rest.issues.listComments({
@@ -62,14 +62,3 @@ jobs:
6262
body: body
6363
});
6464
}
65-
66-
- name: Add CLA Label
67-
uses: actions/github-script@v7
68-
with:
69-
script: |
70-
await github.rest.issues.addLabels({
71-
owner: context.repo.owner,
72-
repo: context.repo.repo,
73-
issue_number: context.issue.number,
74-
labels: ['cla-required']
75-
});

.github/workflows/deploy-docs.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy Docs
2+
on:
3+
push:
4+
branches: [ main ]
5+
paths:
6+
- 'docs/**'
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-deploy:
11+
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: docs
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
- run: npm ci
21+
- run: npm run build
22+
- uses: actions/upload-pages-artifact@v3
23+
with:
24+
path: docs/build
25+
- uses: actions/deploy-pages@v4

app/tools/profile-tracker/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,15 @@ export default function ProfileTrackerPage() {
159159
All Platforms
160160
</TabsTrigger>
161161
{platforms.map((platform) => {
162-
const Icon = Icons[platform.icon as keyof typeof Icons];
162+
const Icon = Icons[platform.icon as keyof typeof Icons] as React.ComponentType<{ className?: string }>;
163163
return (
164164
<TabsTrigger
165165
key={platform.id}
166166
value={platform.id}
167167
onClick={() => setSelectedPlatform(platform.id as PlatformType)}
168168
className="flex items-center gap-2"
169169
>
170-
<Icon className={`w-4 h-4 ${platform.color}`} />
170+
{Icon && <Icon className={`w-4 h-4 ${platform.color}`} />}
171171
{platform.name}
172172
</TabsTrigger>
173173
);

components/category-tree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function CategoryTree({
5252
</div>
5353
{hasSubCategories && (
5454
<div className="pl-4">
55-
{category.subCategories.map((subCategory) =>
55+
{category.subCategories?.map((subCategory) =>
5656
renderCategory(subCategory, depth + 1)
5757
)}
5858
</div>

components/profiles/profile-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface ProfileCardProps {
1616

1717
export function ProfileCard({ profile, onEdit, onDelete }: ProfileCardProps) {
1818
const platform = getPlatform(profile.platform);
19-
const PlatformIcon = platform ? Icons[platform.icon as keyof typeof Icons] : Icons.Globe;
19+
const PlatformIcon = (platform ? Icons[platform.icon as keyof typeof Icons] : Icons.Globe) as React.ComponentType<{ className?: string }>;
2020

2121
return (
2222
<Card className="p-6 hover:shadow-lg transition-shadow">

components/profiles/profile-form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ export function ProfileForm({ profile, onSubmit, onCancel }: ProfileFormProps) {
7474
</SelectTrigger>
7575
<SelectContent>
7676
{platforms.map((platform) => {
77-
const Icon = Icons[platform.icon as keyof typeof Icons];
77+
const Icon = Icons[platform.icon as keyof typeof Icons] as React.ComponentType<{ className?: string }>;
7878
return (
7979
<SelectItem key={platform.id} value={platform.id}>
8080
<div className="flex items-center gap-2">
81-
<Icon className={`w-4 h-4 ${platform.color}`} />
81+
{Icon && <Icon className={`w-4 h-4 ${platform.color}`} />}
8282
<span>{platform.name}</span>
8383
</div>
8484
</SelectItem>

components/tool-card.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ interface ToolCardProps {
99
}
1010

1111
export function ToolCard({ tool }: ToolCardProps) {
12-
const Icon = Icons[tool.icon as keyof typeof Icons];
12+
const Icon = Icons[tool.icon as keyof typeof Icons] as React.ComponentType<{ className?: string }>;
1313

1414
return (
1515
<Card className="p-6 flex flex-col h-full">
1616
<div className="flex items-start justify-between mb-4">
1717
<div className="p-2 bg-primary/10 rounded-lg">
18-
<Icon className="h-6 w-6 text-primary" />
18+
{Icon && <Icon className="h-6 w-6 text-primary" />}
1919
</div>
2020
</div>
2121
<h3 className="text-lg font-semibold mb-2">{tool.name}</h3>

components/ui/calendar.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,12 @@ function Calendar({
5454
...classNames,
5555
}}
5656
components={{
57-
IconLeft: ({ ...props }) => <ChevronLeft className="h-4 w-4" />,
58-
IconRight: ({ ...props }) => <ChevronRight className="h-4 w-4" />,
57+
Chevron: ({ orientation }) =>
58+
orientation === 'left' ? (
59+
<ChevronLeft className="h-4 w-4" />
60+
) : (
61+
<ChevronRight className="h-4 w-4" />
62+
),
5963
}}
6064
{...props}
6165
/>

docs/.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*

docs/README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Website
2+
3+
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
4+
5+
## Installation
6+
7+
```bash
8+
yarn
9+
```
10+
11+
## Local Development
12+
13+
```bash
14+
yarn start
15+
```
16+
17+
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
18+
19+
## Build
20+
21+
```bash
22+
npm run build
23+
```
24+
25+
This command generates static content into the `build` directory and can be served using any static contents hosting service.
26+
27+
## Deployment
28+
29+
Using SSH:
30+
31+
```bash
32+
USE_SSH=true yarn deploy
33+
```
34+
35+
Not using SSH:
36+
37+
```bash
38+
GIT_USER=<Your GitHub username> yarn deploy
39+
```
40+
41+
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

0 commit comments

Comments
 (0)