Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Luckyhv/aniplay
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertixx01 committed Mar 21, 2024
2 parents c35eead + cf74ab4 commit cadb97f
Show file tree
Hide file tree
Showing 6 changed files with 10,721 additions and 7,396 deletions.
8 changes: 5 additions & 3 deletions src/app/anime/watch/[[...watchid]]/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ async function AnimeWatch({ params, searchParams }) {
{data?.status === 'RELEASING' &&
<NextAiringDate nextAiringEpisode={data?.nextAiringEpisode} />
}
<DisqusComments
<div className="p-1">
<DisqusComments
key={epId}
post={{
id: id,
Expand All @@ -102,6 +103,7 @@ async function AnimeWatch({ params, searchParams }) {
name: "aniplayz",
}}
/>
</div>
</div>
<div className="h-full lg:flex lg:flex-col md:max-lg:w-full gap-10">
{/* <div className="rounded-lg hidden lg:block lg:max-w-[280px] xl:max-w-[380px] w-[100%] xl:overflow-y-scroll xl:overflow-x-hidden overflow-hidden scrollbar-hide overflow-y-hidden">
Expand All @@ -114,9 +116,9 @@ async function AnimeWatch({ params, searchParams }) {
{/* <div className="lg:hidden">
<Animecards data={data?.relations?.edges} cardid="Related Anime"/>
</div> */}
<div className="lg:hidden">
{/* <div className="lg:hidden">
<Animecards data={data?.recommendations?.nodes} cardid={"Recommendations"}/>
</div>
</div> */}
</div>
</>
);
Expand Down
10 changes: 5 additions & 5 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
@tailwind components;
@tailwind utilities;

@font-face {
/* @font-face {
font-family: "28 Days Later";
src: url('../static-fonts/28 Days Later.ttf');
}
.aniplay{
font-family: "28 Days Later";
}
} */

#disqus_thread { color-scheme: none; }

/*
html {
/* scroll-behavior: smooth !important; */
scroll-behavior: smooth !important;
letter-spacing:0.05rem;
}
} */

::-webkit-scrollbar {
width: 6px;
Expand Down
8 changes: 4 additions & 4 deletions src/app/layout.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Electrolize } from 'next/font/google'
import { Inter } from 'next/font/google'
import './globals.css'
import { NextUiProvider } from "./NextUiProvider";
// import NextTopLoader from 'nextjs-toploader';
import Search from '@/components/search/Search'
import GoToTop from '@/components/GoToTop';
import localFont from 'next/font/local';
// import localFont from 'next/font/local';
import Footer from '@/components/Footer';
import Script from "next/script";
import { getAuthSession } from './api/auth/[...nextauth]/route';
Expand All @@ -13,7 +13,7 @@ import Changelogs from '../components/Changelogs';
import FloatingButton from '@/components/FloatingButton';
import { AuthProvider } from './SessionProvider';

const electrolize = Electrolize({ weight: '400', subsets: ['latin'] })
const inter = Inter({ subsets: ['latin'] })
//const myfont = localFont({ src: "../static-fonts/AldotheApache.ttf" })

const APP_NAME = "Aniplay";
Expand Down Expand Up @@ -96,7 +96,7 @@ export default async function RootLayout({ children }) {
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png" />
{/* <script src="https://kit.fontawesome.com/c189d5d7c5.js" crossOrigin="anonymous" async></script> */}
</head>
<body className={electrolize.className}>
<body className={inter.className}>
<AuthProvider session={session}>
<NextUiProvider>
{children}
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function Navbarcomponent({ home = false }) {
<div className={styles.logoContainer}>
<Link href="/" className={styles.logoLink}>
{/* ANIPLAY */}
<Image src='/logo.svg' width={50} height={50} className="w-32 h-20 "/>
<Image src='/logo.svg' width={50} height={50} className="w-32 !h-12 "/>
</Link>
</div>
<div className={styles.navItemsContainer}>
Expand Down
8 changes: 4 additions & 4 deletions src/styles/Navbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
justify-content: space-between;
align-items: center;
color: white;
height: 68px;
height: 64px;
padding: 0 6.8%;
margin: auto;
background: transparent;
Expand All @@ -24,10 +24,10 @@
justify-content: space-between;
align-items: center;
color: white;
height: 68px;
height: 60px;
padding: 0 3%;
margin: auto;
background-color: rgba(0, 0, 0, 0.7);
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
position: fixed;
top: 0;
Expand Down Expand Up @@ -58,7 +58,7 @@
}

.logoLink {
font-size: 2.2rem;
font-size: 2rem;
margin: 4px 0 0 0;
line-height: normal;
text-decoration: none;
Expand Down
Loading

0 comments on commit cadb97f

Please sign in to comment.