Added opensource notice in settings
This commit is contained in:
parent
19a52e28cd
commit
16a1bd12c2
1 changed files with 23 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import React, { useState } from 'react';
|
||||
import { useAppContext } from '../store/AppContext';
|
||||
import { Sun, Moon, Lock, Trash2, Film, ChevronRight, AlertTriangle } from 'lucide-react';
|
||||
import { Sun, Moon, Lock, Trash2, Film, ChevronRight, AlertTriangle, Code, ExternalLink } from 'lucide-react';
|
||||
|
||||
const TMDB_GENRES = [
|
||||
{ id: 28, name: 'Action' },
|
||||
|
|
@ -345,6 +345,28 @@ export const Settings: React.FC = () => {
|
|||
<ChevronRight className="w-5 h-5 text-red-500" />
|
||||
</button>
|
||||
)}
|
||||
|
||||
{/* Open Source */}
|
||||
<div className="mt-6 pt-4 border-t border-border">
|
||||
<div className="bg-surface rounded-2xl border border-border p-4 space-y-3">
|
||||
<div className="flex items-center gap-3">
|
||||
<Code className="w-5 h-5 text-primary" />
|
||||
<p className="font-medium">Open Source</p>
|
||||
</div>
|
||||
<p className="text-sm text-muted">
|
||||
CineMatch is open source software licensed under CC BY-NC-SA 4.0. Contributions, issues and feedback are welcome!
|
||||
</p>
|
||||
<a
|
||||
href="https://git.plexi09.me/Plexi09/CineMatch"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="inline-flex items-center gap-2 text-sm text-primary hover:text-primary-hover transition-colors"
|
||||
>
|
||||
<ExternalLink className="w-4 h-4" />
|
||||
View on Forgejo
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue