@@ -26,6 +26,7 @@ import {
2626 Github
2727} from 'lucide-react'
2828import { useSearchStore } from '@/stores'
29+ import { Tabs , TabsContent , TabsList , TabsTrigger } from '@/components/ui/tabs'
2930
3031export default function QuickWinsPage ( ) {
3132 const { isLoading, orgData } = useRequireAuth ( )
@@ -190,14 +191,7 @@ export default function QuickWinsPage() {
190191 </ div >
191192 ) }
192193
193- { /* Info Alert */ }
194- < Alert >
195- < Info className = "h-4 w-4" />
196- < AlertDescription >
197- < strong > Tips:</ strong > Look for issues with labels like "good first issue", "help wanted",
198- or "beginner friendly". These are typically well-documented and perfect for new contributors.
199- </ AlertDescription >
200- </ Alert >
194+
201195
202196 { /* Quick Wins Tabs */ }
203197 < Tabs value = { currentTab } onValueChange = { handleTabChange } className = "w-full" >
@@ -239,52 +233,7 @@ export default function QuickWinsPage() {
239233 </ TabsContent >
240234 </ Tabs >
241235
242- { /* Getting Started Tips */ }
243- { ! hasData && ! loadingGoodIssues && ! loadingEasyFixes && (
244- < Card className = "mt-8" >
245- < CardHeader >
246- < CardTitle className = "flex items-center gap-2" >
247- < Info className = "w-5 h-5 text-blue-500" />
248- Getting Started with Open Source
249- </ CardTitle >
250- </ CardHeader >
251- < CardContent >
252- < div className = "space-y-4" >
253- < div >
254- < h4 className = "font-semibold mb-2" > 1. Add Your GitHub Token</ h4 >
255- < p className = "text-sm text-gray-600" >
256- To access more issues and repositories, add your GitHub personal access token
257- in the login page. This increases your API rate limit significantly.
258- </ p >
259- </ div >
260-
261- < div >
262- < h4 className = "font-semibold mb-2" > 2. Look for Beginner-Friendly Labels</ h4 >
263- < div className = "flex flex-wrap gap-2" >
264- < Badge variant = "outline" > good first issue</ Badge >
265- < Badge variant = "outline" > help wanted</ Badge >
266- < Badge variant = "outline" > beginner friendly</ Badge >
267- < Badge variant = "outline" > easy</ Badge >
268- </ div >
269- </ div >
270236
271- < div >
272- < h4 className = "font-semibold mb-2" > 3. Choose Your Technology</ h4 >
273- < p className = "text-sm text-gray-600" >
274- Filter by programming language to find issues in technologies you're comfortable with.
275- </ p >
276- </ div >
277-
278- < div className = "pt-4 border-t" >
279- < Button onClick = { refreshAll } className = "w-full" >
280- < RefreshCw className = "w-4 h-4 mr-2" />
281- Load Quick Wins
282- </ Button >
283- </ div >
284- </ div >
285- </ CardContent >
286- </ Card >
287- ) }
288237 </ div >
289238
290239 < SearchModal />
0 commit comments