Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
GritnotGit committed May 24, 2024
1 parent 5164ecd commit 316fa3e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.DS_STORE
.next/
.next/
.vercel
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,4 @@ Check out the following places for more OnchainKit-related content:
## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
# based-frame-school-fundraiser
2 changes: 1 addition & 1 deletion app/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// use NODE_ENV to not have to change config based on where it's deployed
export const NEXT_PUBLIC_URL =
process.env.NODE_ENV == 'development' ? 'http://localhost:3000' : 'https://zizzamia.xyz';
process.env.NODE_ENV == 'development' ? 'http://localhost:3000' : 'https://a-frame-in-100-lines-mu.vercel.app';
export const BUY_MY_COFFEE_CONTRACT_ADDR = '0xcD3D5E4E498BAb2e0832257569c3Fd4AE439dD6f';
27 changes: 17 additions & 10 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,37 @@ import { NEXT_PUBLIC_URL } from './config';
const frameMetadata = getFrameMetadata({
buttons: [
{
label: 'Story time',
action: 'link',
label: 'get to know us',
target: `https://www.youtube.com/watch?v=ksd86Tx5RGs`,
},
{
action: 'tx',
label: 'Send Base Sepolia',
target: `${NEXT_PUBLIC_URL}/api/tx`,
postUrl: `${NEXT_PUBLIC_URL}/api/tx-success`,
action: 'link',
label: 'project introduction',
target: `https://sso-projects.my.canva.site`,
},
{
// action: '',
label: 'mint to donate',
// target: `${NEXT_PUBLIC_URL}/api/tx`,

},
],
image: {
src: `${NEXT_PUBLIC_URL}/park-3.png`,
src: `${NEXT_PUBLIC_URL}/SSO_pic.png`,
aspectRatio: '1:1',
},
input: {
text: 'Tell me a story',
text: 'Donate To Empower Students!'
},
postUrl: `${NEXT_PUBLIC_URL}/api/frame`,
});

export const metadata: Metadata = {
title: 'zizzamia.xyz',
title: 'Schulfundraiser',
description: 'LFG',
openGraph: {
title: 'zizzamia.xyz',
title: 'Schulfundraiser',
description: 'LFG',
images: [`${NEXT_PUBLIC_URL}/park-1.png`],
},
Expand All @@ -40,7 +47,7 @@ export const metadata: Metadata = {
export default function Page() {
return (
<>
<h1>zizzamia.xyz</h1>
<h1>Schulfundraiser</h1>
</>
);
}
Binary file added public/SSO_pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 316fa3e

@vercel
Copy link

@vercel vercel bot commented on 316fa3e May 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.