forked from Scaffold-Stark/scaffold-stark-2
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/token-vendor' into nadai/token-v…
…endor-update
- Loading branch information
Showing
39 changed files
with
518 additions
and
207 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,27 @@ | ||
name: Build and Deploy to Droplet | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Build and deploy app on server | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: ${{ secrets.DROPLET_IP }} | ||
username: ${{ secrets.DROPLET_USER }} | ||
key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
script: | | ||
cd /var/www/speedrunstark | ||
git pull origin main | ||
pm2 stop speedrunstark | ||
yarn install | ||
cd packages/nextjs | ||
yarn build | ||
pm2 restart speedrunstark | ||
pm2 save |
Empty file.
Large diffs are not rendered by default.
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,11 +1,11 @@ | ||
compressionLevel: mixed | ||
|
||
enableColors: true | ||
|
||
enableGlobalCache: false | ||
|
||
nmHoistingLimits: workspaces | ||
|
||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs | ||
spec: "@yarnpkg/plugin-typescript" | ||
|
||
yarnPath: .yarn/releases/yarn-3.2.3.cjs |
Binary file not shown.
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 @@ | ||
NEXT_PUBLIC_PROVIDER_URL=https://starknet-sepolia.infura.io/v3/47279f22f9954d6facd977b57c932b6a |
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/nextjs/app/debug/_components/contract/ContractReadMethods.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 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 |
---|---|---|
|
@@ -123,4 +123,4 @@ export const ContractUI = ({ | |
</div> | ||
</div> | ||
); | ||
}; | ||
}; |
3 changes: 0 additions & 3 deletions
3
packages/nextjs/app/debug/_components/contract/ContractVariables.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 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 |
---|---|---|
|
@@ -228,4 +228,4 @@ const TokenVendor: NextPage = () => { | |
); | ||
}; | ||
|
||
export default TokenVendor; | ||
export default TokenVendor; |
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 |
---|---|---|
|
@@ -107,4 +107,4 @@ export const Footer = () => { | |
</div> | ||
</div> | ||
); | ||
}; | ||
}; |
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,24 @@ | ||
import SpeedStarknetIcon from "~~/components/icons/SpeedStarknetIcon"; | ||
|
||
const HeaderLogo = () => { | ||
return ( | ||
<svg | ||
width="180" | ||
height="62" | ||
viewBox="0 0 755 154" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<SpeedStarknetIcon /> | ||
<image | ||
id="image0_249_271" | ||
width="100" | ||
height="140" | ||
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABoCAYAAABbqhYLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVDSURBVHgB7Z1NbBtFFMf/69pJIA7xoV8IETvnEikSFT0FOb2hVsI3LlVp7g1SJE5ElBS4t1WRWiGkWkEIIQ64RrQcgLjqAQ4gRajhgJC8AVJVQlSbxIZEcrKdafwxu7V3/brr7m79flLivPFOvPrb7+2bmedZDU+AZDK3AJjvUfpUKtc1hJAYGBIsGBEWjEgcPpBMvr6kach0et40zRSInPvI/E21P7/89uC9u3/49gabJnQRJ6dBxBfBpFjiBDLwl7RqxAYGh8Rr+CnYY8EuSYQFI6KNjOTOiBjzZqvJvFWpFBecOsmYZWvKgsayeOm5hnH4hfHRqddmvlAPuPPL9wnVXiuvxDaMf+Ajxt55tDBNba5aLSw7dYrXY0+20aBpMR3uZOENo1IplBrGG7Nmeh+wox7w5SfvDqK3yAtRVm0Qsdj14sQuSYQFIyLTipL4MDYbTHM3tTf2c8L5mqxpWl64+mrn56Gr9o8/fAZtR0uAwMmTxzAxMQ4vLC5+d2lt7V+jYddq1vNqxyMD3McZKLf5t9NqjHJjaCiXicfNMghcufIWTp06Do+MizdXp3RglyTCghF5ZGgk4ovMkfLwwO4uDPjMi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Y1ivYcGIBBLD5K0kEgnLl576Y3eSqMG7OwUAC0akrxZy7ePT+fn8pEhxMg07HseyYRQc42lktsPyA/fFYffbC7FLEmHBiLBgRB4AP47oKIsr3jYAAAAASUVORK5CYII=" | ||
transform="translate(580, 0)" | ||
/> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default HeaderLogo; |
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,29 @@ | ||
import Link from "next/link"; | ||
import React from "react"; | ||
import { HeaderMenuLink } from "~~/components/Header"; | ||
|
||
interface MenuItemProps { | ||
link: HeaderMenuLink; | ||
isActive: boolean; | ||
} | ||
|
||
const MenuItem: React.FC<MenuItemProps> = ({ link, isActive }) => { | ||
return ( | ||
<li key={link.href}> | ||
<Link | ||
href={link.href} | ||
passHref | ||
className={`${ | ||
isActive | ||
? "!bg-base-300 !text-base-100 active:bg-base-300 shadow-md text-base-100" | ||
: "" | ||
} hover:bg-base-300 hover:text-base-100`} | ||
> | ||
{link.icon} | ||
<span>{link.label}</span> | ||
</Link> | ||
</li> | ||
); | ||
}; | ||
|
||
export default MenuItem; |
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 |
---|---|---|
|
@@ -47,4 +47,4 @@ export const SwitchTheme = ({ className }: { className?: string }) => { | |
} | ||
</div> | ||
); | ||
}; | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.