This repository was archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
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
1 parent
730feee
commit b85dac8
Showing
7 changed files
with
145 additions
and
14 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,59 @@ | ||
import React from 'react' | ||
import { | ||
List, | ||
ListItem, | ||
ListItemText, | ||
useMediaQuery, | ||
Link, | ||
Paper, | ||
} from '@material-ui/core' | ||
|
||
import { useTheme } from '@material-ui/core/styles' | ||
import Layout from 'components/Layout' | ||
|
||
const About = () => { | ||
const theme = useTheme() | ||
const matches = useMediaQuery(theme.breakpoints.down('xs')) | ||
return ( | ||
<Layout title="About" noContainer={matches}> | ||
<List> | ||
<ListItem divider> | ||
<ListItemText | ||
primary="EhentaiView" | ||
secondary="EhentaiView is not affiliated with E-hentai.org in any way" | ||
/> | ||
</ListItem> | ||
<ListItem divider> | ||
<ListItemText | ||
primary="Author" | ||
secondary="IronKinoko <[email protected]>" | ||
secondaryTypographyProps={{ | ||
component: Link, | ||
href: 'https://github.com/IronKinoko', | ||
target: '_blank', | ||
}} | ||
/> | ||
</ListItem> | ||
<ListItem divider> | ||
<ListItemText | ||
primary="Source" | ||
secondary="https://github.com/IronKinoko/e-hentai-view" | ||
secondaryTypographyProps={{ | ||
component: Link, | ||
href: 'https://github.com/IronKinoko/e-hentai-view.git', | ||
target: '_blank', | ||
}} | ||
/> | ||
</ListItem> | ||
<ListItem divider> | ||
<ListItemText primary="License" secondary="MIT" /> | ||
</ListItem> | ||
<ListItem> | ||
<ListItemText primary="Version" secondary={process.env.VERSION} /> | ||
</ListItem> | ||
</List> | ||
</Layout> | ||
) | ||
} | ||
|
||
export default About |
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,31 @@ | ||
import React, { useEffect, useState } from 'react' | ||
import { setting } from 'apis' | ||
import { NextPage } from 'next' | ||
import Layout from 'components/Layout' | ||
import Loading from 'components/Loading' | ||
|
||
const EHTag: NextPage = () => { | ||
const [loading, setLoading] = useState(true) | ||
useEffect(() => { | ||
setting() | ||
return () => { | ||
setting() | ||
} | ||
}, []) | ||
return ( | ||
<Layout title="EHentai Tags" noContainer fullScreen> | ||
<iframe | ||
src="https://exhentai.org/mytags" | ||
frameBorder="0" | ||
width="100%" | ||
height="100%" | ||
onLoad={() => { | ||
setLoading(false) | ||
}} | ||
/> | ||
{loading && <Loading />} | ||
</Layout> | ||
) | ||
} | ||
|
||
export default EHTag |
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