From 84d45c65662c3a2b59495f468e55b86db5750b34 Mon Sep 17 00:00:00 2001 From: gianmalarcon Date: Thu, 15 Aug 2024 14:51:00 +0700 Subject: [PATCH] Update challenges description --- .github/workflows/release.yml | 20 +++++++------------ .yarn/plugins/@yarnpkg/plugin-typescript.cjs | 1 - packages/nextjs/app/page.tsx | 7 ++++--- packages/nextjs/data-challenges/challenges.ts | 4 ++-- 4 files changed, 13 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4d86c83..c6979c70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,8 @@ run-name: Build and deploy number ${{github.run_number}} started by @${{ github. on: pull_request: - types: [ closed ] - branches: [ main ] + types: [closed] + branches: [main] paths: - "packages/nextjs/**" @@ -12,7 +12,6 @@ env: REGION: us-east-1 jobs: - build: runs-on: ubuntu-22.04 outputs: @@ -21,7 +20,6 @@ jobs: TAG: ${{ steps.bump-version.outputs.NEW_VERSION }} steps: - - name: Checkout Files uses: actions/checkout@v4 with: @@ -102,7 +100,6 @@ jobs: git push origin HEAD:$GITHUB_REF_NAME --follow-tags deploy: - runs-on: ubuntu-22.04 needs: build if: ${{ success() }} @@ -112,17 +109,15 @@ jobs: TAG: ${{ needs.build.outputs.TAG }} steps: - - name: Setup SSH uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.PRIVATE_KEY }} - + - name: Add server to known hosts run: | mkdir -p ~/.ssh ssh-keyscan -H ${{ secrets.REMOTE_SERVER_ADDRESS }} >> ~/.ssh/known_hosts - - name: Create container from ECR if: success() @@ -187,21 +182,20 @@ jobs: nginx: runs-on: ubuntu-22.04 - needs: [build,deploy] + needs: [build, deploy] if: ${{ success() }} steps: - - name: Setup SSH uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.PRIVATE_KEY }} - + - name: Add server to known hosts run: | mkdir -p ~/.ssh ssh-keyscan -H ${{ secrets.REMOTE_SERVER_ADDRESS }} >> ~/.ssh/known_hosts - + - name: Setup nginx if: success() run: | @@ -269,4 +263,4 @@ jobs: channel-id: ${{ secrets.SLACK_CHANNEL_ID }} slack-message: "GitHub build result: ${{ job.status }}\nRepository Name: ${{ github.repository }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}" env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} \ No newline at end of file + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} diff --git a/.yarn/plugins/@yarnpkg/plugin-typescript.cjs b/.yarn/plugins/@yarnpkg/plugin-typescript.cjs index 4ade708b..6e5e1216 100644 --- a/.yarn/plugins/@yarnpkg/plugin-typescript.cjs +++ b/.yarn/plugins/@yarnpkg/plugin-typescript.cjs @@ -7,4 +7,3 @@ module.exports = { return plugin; } }; - \ No newline at end of file diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index 93865e4e..3587196d 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -68,9 +68,10 @@ const Home: NextPage = () => { The Core-Stars is a curated group of Starknet builders creating products, prototypes, and protocols to enrich the - web3 ecosystem. A place to ask for support, show off your builds and meet - other builders. Start crafting your Web3 portfolio by - submitting your DEX, onchain Game or SVG NFT build. + web3 ecosystem. A place to ask for support, show off your + builds and meet other builders. Start crafting your Web3 + portfolio by submitting your DEX, onchain Game or SVG NFT + build. diff --git a/packages/nextjs/data-challenges/challenges.ts b/packages/nextjs/data-challenges/challenges.ts index 7f880fbd..abd70750 100644 --- a/packages/nextjs/data-challenges/challenges.ts +++ b/packages/nextjs/data-challenges/challenges.ts @@ -12,7 +12,7 @@ const allChallenges = [ challenge: "Challenge #1", title: "🥩 Decentralized Staking App", description: - "🦸 A superpower of Starknet is allowing you, the builder, to create a simple set of rules that an adversarial group of players can use to work together. In this challenge, you create a decentralized application where users can coordinate a group funding effort. The users only have to trust the code.", + "🦸 A superpower of Starknet is allowing you, the builder, to create a simple set of rules that an adversarial group of players can use to work together. In this challenge, you create a decentralized application where users can coordinate a group funding effort. We'll learn about the approve pattern for ERC20s andThe users only have to trust the code.", imageUrl: "/stakingToken.png", id: "decentralized-staking", }, @@ -20,7 +20,7 @@ const allChallenges = [ challenge: "Challenge #2", title: "🏵 Token Vendor", description: - "🤖 Smart contracts are kind of like \"always on\" vending machines that anyone can access. Let's make a decentralized, digital currency (an ERC20 token in Cairo for Starknet). Then, let's build an unstoppable vending machine that will buy and sell the currency. We'll learn about the approve pattern for ERC20s and how contract to contract interactions work.", + "🤖 Smart contracts are kind of like \"always on\" vending machines that anyone can access. Let's make a decentralized, digital currency (an ERC20 token in Cairo for Starknet). Then, let's build an unstoppable vending machine that will buy and sell the currency. We'll learn about how contract to contract interactions work.", imageUrl: "/tokenVendor.png", border: true, id: "token-vendor",