Update disclaimer and footer, add link to git repo
This commit is contained in:
28
src/App.tsx
28
src/App.tsx
@@ -10,6 +10,7 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { GitBranch } from 'lucide-react';
|
||||
|
||||
// Components
|
||||
import DaySchedule from './components/day-schedule';
|
||||
@@ -18,6 +19,7 @@ import Settings from './components/settings';
|
||||
import LanguageSelector from './components/language-selector';
|
||||
import DisclaimerModal from './components/disclaimer-modal';
|
||||
import { Button } from './components/ui/button';
|
||||
import { PROJECT_REPOSITORY_URL } from './constants/defaults';
|
||||
|
||||
// Custom Hooks
|
||||
import { useAppState } from './hooks/useAppState';
|
||||
@@ -185,14 +187,24 @@ const MedPlanAssistant = () => {
|
||||
<h3 className="font-semibold mb-2 text-foreground">{t('importantNote')}</h3>
|
||||
<p>{t('disclaimer')}</p>
|
||||
</div>
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onClick={handleOpenDisclaimer}
|
||||
className="w-full sm:w-auto"
|
||||
>
|
||||
{t('disclaimerModalFooterLink')}
|
||||
</Button>
|
||||
<div className="flex items-center justify-between">
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onClick={handleOpenDisclaimer}
|
||||
>
|
||||
{t('disclaimerModalFooterLink')}
|
||||
</Button>
|
||||
<a
|
||||
href={PROJECT_REPOSITORY_URL}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="inline-flex items-center justify-center w-8 h-8 rounded-md hover:bg-accent text-foreground hover:text-accent-foreground transition-colors"
|
||||
title={t('footerProjectRepo')}
|
||||
>
|
||||
<GitBranch size={18} />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user