+
+
+ //
+ // {/*
+ // RiVES
+ //
*/}
+ //
+ // RiscV Verifiable Entertainment System
+ //
)
}
diff --git a/frontend/app/favicon.ico b/frontend/app/favicon.ico
index 718d6fe..6c67b13 100644
Binary files a/frontend/app/favicon.ico and b/frontend/app/favicon.ico differ
diff --git a/frontend/app/globals.css b/frontend/app/globals.css
index 21c8182..87a6691 100644
--- a/frontend/app/globals.css
+++ b/frontend/app/globals.css
@@ -54,13 +54,6 @@ body {
--background-start-rgb: 36, 36, 36;
--background-end-rgb: 105, 105, 105;
--background-end-rgba0: rgba(100, 100, 100, 0.4);
- --highlight-text-start-hex: #BFFFFC;
- --highlight-text-end-hex: #12B8FF;
- --highlight-text-end-rgba0: rgba(18, 184, 255, 0.4);
- --highlight-text-end-rgba1: rgba(18, 184, 255, 0.3);
- --highlight-text-end-rgba2: rgba(18, 184, 255, 0.2);
- --highlight-text-end-rgba3: rgba(18, 184, 255, 0.1);
- --highlight-text-end-rgba4: rgba(18, 184, 255, 0.05);
}
}
:root[data-theme="dark"] {
@@ -69,13 +62,6 @@ body {
--background-start-rgb: 36, 36, 36;
--background-end-rgb: 105, 105, 105;
--background-end-rgba0: rgba(100, 100, 100, 0.4);
- --highlight-text-start-hex: #BFFFFC;
- --highlight-text-end-hex: #12B8FF;
- --highlight-text-end-rgba0: rgba(18, 184, 255, 0.4);
- --highlight-text-end-rgba1: rgba(18, 184, 255, 0.3);
- --highlight-text-end-rgba2: rgba(18, 184, 255, 0.2);
- --highlight-text-end-rgba3: rgba(18, 184, 255, 0.1);
- --highlight-text-end-rgba4: rgba(18, 184, 255, 0.05);
}
}
@@ -231,6 +217,7 @@ body {
transform: translateY(225%) translateX(-50%);
height: 14px;
line-height: 13px;
+ font-size: 60%;
}
.button-57:disabled,
@@ -284,15 +271,15 @@ body {
}
.title-text {
- @apply 2xl:text-9xl xl:text-8xl md:text-6xl sm:text-3xl font-semibold font-poppins title-color leading-none;
+ @apply 2xl:text-8xl xl:text-7xl md:text-3xl sm:text-2xl font-semibold title-color leading-none;
}
.subtitle-text {
- @apply font-semibold 2xl:text-3xl xl:text-xl md:text-lg sm:text-base relative font-poppins;
+ @apply font-semibold 2xl:text-2xl xl:text-lg md:text-sm sm:text-base relative;
}
.cartridge-title-text {
- @apply font-semibold sm:text-4xl text-xl relative font-poppins title-color;
+ @apply font-semibold sm:text-4xl text-xl relative title-color;
}
.games-list-item {
@@ -345,7 +332,7 @@ body {
.web3-connect-btn {
- @apply rounded p-2 shadow-sm shadow-current;/*bg-gradient-to-r from-[var(--highlight-text-start-hex)] to-[var(--highlight-text-end-hex)];*/
+ @apply rounded text-sm p-2 shadow-sm shadow-current;/*bg-gradient-to-r from-[var(--highlight-text-start-hex)] to-[var(--highlight-text-end-hex)];*/
}
.web3-connect-btn:hover {
diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx
index c284206..78f6a79 100644
--- a/frontend/app/layout.tsx
+++ b/frontend/app/layout.tsx
@@ -1,14 +1,12 @@
import type { Metadata } from 'next'
-import { Inter } from 'next/font/google'
import './globals.css'
import Navbar from '@/app/components/Navbar';
import {Web3OnboardProviderClient} from './utils/web3OnboardProvider';
-
-const inter = Inter({ subsets: ['latin'] })
+import { fontPressStart2P } from './utils/font';
export const metadata: Metadata = {
- title: 'World Arcade',
- description: 'Generated by create next app',
+ title: 'RiVES',
+ description: 'RiscV Verifiable Entertainment System',
}
export default function RootLayout({
@@ -19,7 +17,7 @@ export default function RootLayout({
return (
-
+
{children}
diff --git a/frontend/app/utils/font.ts b/frontend/app/utils/font.ts
new file mode 100644
index 0000000..cf2a457
--- /dev/null
+++ b/frontend/app/utils/font.ts
@@ -0,0 +1,8 @@
+import localFont from 'next/font/local'
+
+
+// Font files can be colocated inside of `app`
+export const fontPressStart2P = localFont({
+ src: '../../public/Press_Start_2P/PressStart2P-Regular.ttf',
+ weight: '400'
+ })
\ No newline at end of file
diff --git a/frontend/app/utils/web3-onboard.ts b/frontend/app/utils/web3-onboard.ts
index 3ed8f97..e3cad74 100644
--- a/frontend/app/utils/web3-onboard.ts
+++ b/frontend/app/utils/web3-onboard.ts
@@ -22,9 +22,9 @@ const chains = [ethereumRopsten, polygonMainnet]
const wallets = [injectedModule()]
const appMetadata = {
- name: 'World Arcade',
+ name: 'RiVES',
icon: '',
- description: 'The World Arcade allows users to play riscv-binaries of games on a RISC-V Cartesi Machine on the browser. The game moves are submited onchain so the session can be replayed in a Cartesi Rollups DApp to generate a provable score.',
+ description: 'RiVES allows users to play riscv-binaries of games on a RISC-V Cartesi Machine on the browser. The game moves are submited onchain so the session can be replayed in a Cartesi Rollups DApp to generate a provable score.',
recommendedInjectedWallets: [
{ name: 'MetaMask', url: 'https://metamask.io' },
{ name: 'Coinbase', url: 'https://wallet.coinbase.com/' }
diff --git a/frontend/public/Press_Start_2P/OFL.txt b/frontend/public/Press_Start_2P/OFL.txt
new file mode 100644
index 0000000..70881e0
--- /dev/null
+++ b/frontend/public/Press_Start_2P/OFL.txt
@@ -0,0 +1,93 @@
+Copyright 2012 The Press Start 2P Project Authors (cody@zone38.net), with Reserved Font Name "Press Start 2P".
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/frontend/public/Press_Start_2P/PressStart2P-Regular.ttf b/frontend/public/Press_Start_2P/PressStart2P-Regular.ttf
new file mode 100644
index 0000000..2442aff
Binary files /dev/null and b/frontend/public/Press_Start_2P/PressStart2P-Regular.ttf differ
diff --git a/frontend/public/logo.png b/frontend/public/logo.png
new file mode 100644
index 0000000..e1b8c62
Binary files /dev/null and b/frontend/public/logo.png differ