-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import { | ||
Block, | ||
Navbar, | ||
NavbarBackLink, | ||
Page, | ||
List, | ||
ListItem, | ||
} from 'konsta/react' | ||
import type { Route } from './+types/_index' | ||
import { useNavigate } from 'react-router' | ||
|
||
export function meta({}: Route.MetaArgs) { | ||
return [{ title: 'About - Subtitle App' }] | ||
} | ||
|
||
export default function About({}: Route.ComponentProps) { | ||
let navigate = useNavigate() | ||
|
||
return ( | ||
<Page> | ||
<Navbar | ||
title="About" | ||
large | ||
transparent | ||
centerTitle | ||
left={<NavbarBackLink text="Back" onClick={() => navigate(-1)} />} | ||
/> | ||
<Block className="px-4"> | ||
<p className="text-sm text-gray-600"> | ||
Subtitle App by{' '} | ||
<a href="https://github.com/patdx" target="_blank" rel="noreferrer"> | ||
patdx | ||
</a> | ||
. | ||
</p> | ||
</Block> | ||
|
||
<List strongIos outlineIos> | ||
<ListItem | ||
link | ||
title="Visit patdx on GitHub" | ||
href="https://github.com/patdx" | ||
target="_blank" | ||
rel="noreferrer" | ||
/> | ||
<ListItem | ||
link | ||
title="View the Subtitle App repository" | ||
href="https://github.com/patdx/subtitle-app" | ||
target="_blank" | ||
rel="noreferrer" | ||
/> | ||
</List> | ||
</Page> | ||
) | ||
} |