diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index d332522..2fed0a0 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -31,3 +31,4 @@ jobs: - run: npm install - run: npm run lint - run: npm run build + - run: npm run start diff --git a/backend/README.md b/backend/README.md index 16b205a..7a2069d 100644 --- a/backend/README.md +++ b/backend/README.md @@ -1,15 +1,19 @@ -# Sample Hardhat Project +# Backend -This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a Hardhat Ignition module that deploys that contract. +Compiling: -Try running some of the following tasks: +```shell +npm install +npx hardhat clean +npx hardhat compile +``` + +Testing: ```shell -npx hardhat help npx hardhat test -REPORT_GAS=true npx hardhat test -npx hardhat node -npx hardhat ignition deploy ./ignition/modules/Lock.ts +npx hardhat coverage +npx istanbul check-coverage --lines 80 ``` Deployment: diff --git a/frontend/README.md b/frontend/README.md index a75ac52..cad689a 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -1,40 +1,19 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). +# Frontend ## Getting Started -First, run the development server: +Compiling: -```bash -npm run dev -# or -yarn dev -# or -pnpm dev -# or -bun dev +``` +npm install +npm run lint +npm run build ``` -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel +Run the development server: -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. +```bash +npm run dev +``` -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. +Then open http://localhost:3000 with your browser. diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico index 718d6fe..81686b3 100644 Binary files a/frontend/public/favicon.ico and b/frontend/public/favicon.ico differ diff --git a/frontend/src/pages/_document.tsx b/frontend/src/pages/_document.tsx index b2fff8b..1c23e6f 100644 --- a/frontend/src/pages/_document.tsx +++ b/frontend/src/pages/_document.tsx @@ -3,7 +3,12 @@ import { Html, Head, Main, NextScript } from "next/document"; export default function Document() { return ( - + + Sponsors 🫢🏽 + + + +
diff --git a/frontend/src/pages/index.tsx b/frontend/src/pages/index.tsx index 35ab434..afb9e31 100644 --- a/frontend/src/pages/index.tsx +++ b/frontend/src/pages/index.tsx @@ -1,117 +1,34 @@ import Image from "next/image"; -import { Inter } from "next/font/google"; - -const inter = Inter({ subsets: ["latin"] }); export default function Home() { return (
-
-

- Get started by editing  - src/pages/index.tsx -

-
- - By{" "} - Vercel Logo - -
+
+ βŒβ—¨-β—¨
-
- Next.js Logo +
+ Sponsors 🫢🏽
-
); diff --git a/frontend/src/styles/globals.css b/frontend/src/styles/globals.css index 875c01e..1129fb9 100644 --- a/frontend/src/styles/globals.css +++ b/frontend/src/styles/globals.css @@ -2,6 +2,10 @@ @tailwind components; @tailwind utilities; +* { + font-family: 'Londrina Solid'; +} + :root { --foreground-rgb: 0, 0, 0; --background-start-rgb: 214, 219, 220;