-
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
17 changed files
with
105 additions
and
18 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,30 @@ | ||
import { Noto_Sans } from 'next/dist/compiled/@next/font/dist/google' | ||
import '../global.css' | ||
|
||
const NotoSans = Noto_Sans({ | ||
subsets: ['latin', 'cyrillic', 'greek', 'devanagari'], | ||
style: ['normal', 'italic'], | ||
weight: ['100', '200', '300', '400', '500', '600', '700', '800', '900'], | ||
display: 'swap', | ||
variable: '--font-noto-sans', | ||
}) | ||
|
||
export const metadata = { | ||
title: 'Welcome to hash-rate-game', | ||
description: 'Generated by create-nx-workspace', | ||
} | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang="en"> | ||
<body | ||
className={`${NotoSans.variable} bg-black text-white w-screen min-h-screen`}> | ||
{children} | ||
</body> | ||
</html> | ||
) | ||
} |
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
apps/HashRateGame/src/app/(telegram)/app/(main)/_components/NavBar.tsx
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,7 @@ | ||
export default function NavBar() { | ||
return ( | ||
<div className="bottom-0 left-0 right-0 fixed flex flex-row gap-4 p-4"> | ||
NavBar | ||
</div> | ||
) | ||
} |
3 changes: 3 additions & 0 deletions
3
apps/HashRateGame/src/app/(telegram)/app/(main)/analytics/page.tsx
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,3 @@ | ||
export default function Page() { | ||
return <div>Analytics</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
apps/HashRateGame/src/app/(telegram)/app/(main)/friends/page.tsx
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,3 @@ | ||
export default function Page() { | ||
return <div>Friends</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
apps/HashRateGame/src/app/(telegram)/app/(main)/games/page.tsx
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,3 @@ | ||
export default function Page() { | ||
return <div>Games</div> | ||
} |
15 changes: 15 additions & 0 deletions
15
apps/HashRateGame/src/app/(telegram)/app/(main)/layout.tsx
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,15 @@ | ||
import '../../../global.css' | ||
import NavBar from './_components/NavBar' | ||
|
||
export default function MainLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<div className="bg-[#17212b] text-white w-screen min-h-screen"> | ||
<div className="p-4">{children}</div> | ||
<NavBar /> | ||
</div> | ||
) | ||
} |
3 changes: 3 additions & 0 deletions
3
apps/HashRateGame/src/app/(telegram)/app/(main)/menu/page.tsx
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,3 @@ | ||
export default function Page() { | ||
return <div>Menu</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
apps/HashRateGame/src/app/(telegram)/app/(main)/mining/page.tsx
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,3 @@ | ||
export default function Page() { | ||
return <div>Mining</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
apps/HashRateGame/src/app/(telegram)/app/(main)/rating/page.tsx
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,3 @@ | ||
export default function Page() { | ||
return <div>Rating</div> | ||
} |
3 changes: 3 additions & 0 deletions
3
apps/HashRateGame/src/app/(telegram)/app/(main)/tasks/page.tsx
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,3 @@ | ||
export default function Page() { | ||
return <div>Tasks</div> | ||
} |
6 changes: 3 additions & 3 deletions
6
apps/HashRateGame/src/app/layout.tsx → ...ateGame/src/app/(telegram)/app/layout.tsx
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,17 +1,21 @@ | ||
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind'); | ||
const { join } = require('path'); | ||
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind') | ||
const { join } = require('path') | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: [ | ||
join( | ||
__dirname, | ||
'{src,pages,components,app}/**/*!(*.stories|*.spec).{ts,tsx,html}' | ||
'{src,pages,components,app}/**/*!(*.stories|*.spec).{ts,tsx,html}', | ||
), | ||
...createGlobPatternsForDependencies(__dirname), | ||
], | ||
theme: { | ||
extend: {}, | ||
extend: { | ||
fontFamily: { | ||
sans: ['var(--font-noto-sans)'], | ||
}, | ||
}, | ||
}, | ||
plugins: [], | ||
}; | ||
} |
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