Skip to content

Commit cc62e15

Browse files
committed
feat: Remove GitHub setup feature and related UI components
1 parent 0e9aef6 commit cc62e15

2 files changed

Lines changed: 5 additions & 26 deletions

File tree

src/App.jsx

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import {
44
ShieldCheck,
55
Clock,
66
Type,
7-
AlignLeft,
8-
Github
7+
AlignLeft
98
} from 'lucide-react';
109

1110
// Layout components
@@ -17,8 +16,7 @@ import {
1716
JwtDebugger,
1817
EpochConverter,
1918
StringTools,
20-
CharacterCount,
21-
GitHubSetup
19+
CharacterCount
2220
} from './features';
2321

2422
// UI components
@@ -33,7 +31,6 @@ const NAV_ITEMS = [
3331
{ id: 'epoch', label: 'Epoch Converter', icon: Clock },
3432
{ id: 'string', label: 'Base64 / URL', icon: Type },
3533
{ id: 'charcount', label: 'Word Counter', icon: AlignLeft },
36-
{ id: 'github', label: 'GitHub Setup', icon: Github },
3734
];
3835

3936
/**
@@ -69,15 +66,7 @@ const App = () => {
6966

7067
<main className="flex-1 overflow-hidden p-4 md:p-6 relative">
7168
<div className="h-full w-full max-w-6xl mx-auto">
72-
{ActiveFeature ? (
73-
<ActiveFeature />
74-
) : activeTab === 'github' && (
75-
<div className="max-w-2xl mx-auto mt-10 h-full">
76-
<Card title="Integration Guide" className="h-full">
77-
<GitHubSetup />
78-
</Card>
79-
</div>
80-
)}
69+
{ActiveFeature && <ActiveFeature />}
8170
</div>
8271
</main>
8372
</div>

src/layouts/Header.jsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
1-
import { Github } from 'lucide-react';
1+
import React from 'react';
22

33
/**
4-
* Header component with title and actions
4+
* Header component with title
55
* @param {Object} props
66
* @param {string} props.title - Page title
77
*/
88
const Header = ({ title }) => {
99
return (
1010
<header className="h-14 bg-slate-900/50 border-b border-slate-800 flex items-center px-6 justify-between backdrop-blur-md shrink-0">
1111
<h2 className="font-semibold text-slate-200">{title}</h2>
12-
<div className="flex gap-2">
13-
<a
14-
href="https://github.com"
15-
target="_blank"
16-
rel="noopener noreferrer"
17-
className="text-slate-500 hover:text-white transition-colors"
18-
>
19-
<Github size={20} />
20-
</a>
21-
</div>
2212
</header>
2313
);
2414
};

0 commit comments

Comments
 (0)