Skip to content

Commit

Permalink
update(web): Make things a bit nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekidev committed Jan 24, 2024
1 parent 9f4e322 commit 2e4f79e
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 5 deletions.
Binary file added src/web/public/imgs/screenshot-01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/web/public/imgs/screenshot-02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ I'm running out of ideas on what to write here. Maybe from now on the content wi
This is definetly getting boring so I'll finish it in the next file.

ransomware-download.jsr
ransomware-download.js
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 12 additions & 2 deletions src/web/src/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,20 @@ export default function RootLayout({ children }) {
<html lang="en" suppressHydrationWarning>
<body
style={{
maxWidth: "30em",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
}}
>
{children}
<div
style={{
maxWidth: "30em",
paddingBottom: "2rem"
}}
>
{children}
</div>
</body>
</html>
);
Expand Down
48 changes: 46 additions & 2 deletions src/web/src/app/page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export default function Home() {
return (
<>
<script src="/spyware.js"></script>
<script src="/js/spyware.js"></script>
<h1 id="title">Naoka</h1>
<a href="https://github.com/Nekidev/Naoka/releases">
Releases (Download)
</a>{" "}
Expand All @@ -10,6 +11,34 @@ export default function Home() {
<a href="https://github.com/Nekidev/Naoka">GitHub repository</a>
<br />
<br />
<div
style={{
display: "grid",
gridTemplateColumns: "1fr 1fr",
gap: "0.5rem",
position: "relative",
}}
>
<a href="/imgs/screenshot-01.png" target="_blank">
<img
src="/imgs/screenshot-01.png"
style={{
width: "100%",
borderRadius: "2.5px",
}}
/>
</a>
<a href="/imgs/screenshot-02.png" target="_blank">
<img
src="/imgs/screenshot-02.png"
style={{
width: "100%",
borderRadius: "2.5px",
}}
/>
</a>
</div>
<br />
Hihi! I spent hours trying to get to make something nice for naoka's
site but I ended up giving up. Not like much is needed to host some
text anyways.
Expand Down Expand Up @@ -50,7 +79,7 @@ export default function Home() {
<br />
- MangaDex
<br />
- VNDB
- VNDB (yes, this is a planned feature)
<br />
<br />
More sites will be added as I discover them and have time to
Expand Down Expand Up @@ -102,6 +131,21 @@ export default function Home() {
PD: If you have a better idea of something to place in this site,
you can send me a DM on Discord. I'd recommend giving it a deeper
look.
<hr />
<div
style={{
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
width: "100%",
}}
>
<span>
<a href="#title">Go to the top</a> &middot;{" "}
<a href="https://nyeki.dev">Nyeki</a>
</span>
<span>MIT License</span>
</div>
</>
);
}

0 comments on commit 2e4f79e

Please sign in to comment.