-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Documentation and refactors (#16)
* added: inline comments * updated: used ttf over woff2 fonts deleted: unused woff2 fonts * refactor: removed unsued imports refactor: inline prop types to interface deleted: unused components * renamed: useIsMobile to useResponsive * refactor: removed unused imports * deleted: unused file * added: comments removed: unused css styles * removed: unused pa ckage react-icons added: package description, repo updated: package name release: 1.0.0 * added: env example * added: docs for OSS * removed: unused code updated: todos and error messages added: comments * 🚧 Minor Nits; * 📄 Add License * 📝 Update readme --------- Co-authored-by: Preet Parekh <[email protected]>
- Loading branch information
1 parent
e7f4b1d
commit eebd55c
Showing
28 changed files
with
201 additions
and
310 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
NEYNAR_API_KEY=abcd # get from https://docs.neynar.com/ | ||
NEYNAR_SIGNER=abcd # get from https://docs.neynar.com/ |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Devfolio | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,36 +1,79 @@ | ||
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). | ||
# Onchain Summer Jesse Campaign | ||
|
||
## Getting Started | ||
![Preview GIF](https://letsgetjessebald.com/nft-fc.gif) | ||
|
||
First, run the development server: | ||
This repository contains the website and frame for the "Let's get Jesse Bald" campaign by [Devfolio](https://devfolio.co/) for the [Onchain Summer Buildathon](https://onchain-summer.devfolio.co/) | ||
|
||
Deployed at https://letsgetjessebald.com/ | ||
|
||
# Getting Started | ||
|
||
### Prerequisites | ||
|
||
- Node 18 + | ||
- Yarn | ||
|
||
### Environment Variables | ||
|
||
- Create .env.local from .env.example | ||
- Get Neynar API Keys from https://docs.neynar.com | ||
|
||
### Installation | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
# Using yarn (Recommended) | ||
yarn | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
# Tech Stack | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
- NextJS with the App Router - https://nextjs.org/ | ||
- Frog.JS for Farcaster Frames - https://frog.fm/ | ||
- TailwindCSS - tailwindcss.com/ | ||
- Framer Motion - https://framer.com/motion/ | ||
- Prettier / ESlint - https://prettier.io/ https://eslint.org/ | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
# Project Structure | ||
|
||
## Learn More | ||
```bash | ||
├── .next/ | ||
├── node_modules/ | ||
├── public/ | ||
├── src/ | ||
│ ├── app/ | ||
│ │ ├── api/ # Endpoints for the farcaster frames | ||
│ │ ├── components/ # all resuable small components | ||
│ │ ├── fonts/ | ||
│ │ ├── frog/ # contains frog ui for farcaster frames | ||
│ │ ├── hooks/ # common components logic as hooks | ||
│ │ ├── sections/ # Landing page sections | ||
│ │ ├── styles/ # all css | ||
│ │ ├── utils/ # common helper methods | ||
│ │ ├── globals.css | ||
│ │ ├── layout.tsx # html layout | ||
│ │ ├── page.tsx # main page | ||
├── .env.local # local env | ||
├── .eslintrc.json | ||
├── .gitignore | ||
├── .prettierrc.js | ||
├── next-env.d.ts | ||
├── next.config.mjs | ||
├── package.json | ||
├── postcss.config.mjs | ||
├── README.md | ||
├── tailwind.config.ts | ||
├── tsconfig.json | ||
├── yarn.lock | ||
|
||
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. | ||
# Contributing | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
Feel free to open [issues](https://github.com/devfolioco/onchain-summer-jesse-campaign/issues/new/choose) and [pull requests](https://github.com/devfolioco/onchain-summer-jesse-campaign/pulls)! | ||
|
||
## Deploy on Vercel | ||
## License | ||
|
||
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. | ||
[![LICENSE](https://img.shields.io/github/license/devfolioco/onchain-summer-jesse-campaign)](https://github.com/devfolioco/onchain-summer-jesse-campaign/blob/main/LICENSE) | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. | ||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! |
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,10 +1,11 @@ | ||
{ | ||
"name": "jesse-bald-campaign", | ||
"version": "0.1.0", | ||
"name": "onchain-summer-jesse-campaign", | ||
"description": "The website that helps build the next based experience at the Onchain Summer Buildathon and make Jesse go bald", | ||
"repository": "https://github.com/devfolioco/onchain-summer-jesse-campaign", | ||
"version": "1.0.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
"frog": "frog dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
|
@@ -20,7 +21,6 @@ | |
"next": "14.2.3", | ||
"react": "^18", | ||
"react-dom": "^18", | ||
"react-icons": "^5.2.1", | ||
"react-player": "^2.16.0", | ||
"satori": "^0.10.13", | ||
"uuid": "^9.0.1" | ||
|
@@ -38,5 +38,6 @@ | |
"prettier": "^3.2.5", | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "^5" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
// In Apple devices, scroll has elastic effect and you can scroll beneath the end of page. Here you can customize that area | ||
/* In Apple devices, scroll has elastic effect and you can scroll beneath the end of page. Here you can customize that area */ | ||
|
||
import { inter } from '../fonts/fonts'; | ||
|
||
const ApplePeekArea = () => { | ||
return <div className="ui-text ios-peek tracking-widest">Never Stop Building</div>; | ||
/* Our little easter egg */ | ||
return <div className={`${inter.className} ui-text ios-peek text-sm`}>Never Stop Building</div>; | ||
}; | ||
|
||
export default ApplePeekArea; |
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
Oops, something went wrong.