Skip to content

Commit

Permalink
[fix] fixed node version and some clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Prajwalprakash3722 committed Jan 29, 2024
1 parent 31ed1f0 commit cb956cb
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 115 deletions.
105 changes: 0 additions & 105 deletions .github/workflows/docker-deploy.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Vercel Preview Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
workflow_dispatch:
push:
branches-ignore:
- main
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "ieee-rvce.github.io",
"name": "ieee-rvce.org",
"version": "0.1.0",
"private": true,
"homepage": "https://ieee-rvce.github.io/",
"homepage": "https://ieee-rvce.org/#",
"dependencies": {
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
Expand Down Expand Up @@ -51,8 +51,11 @@
]
},
"devDependencies": {
"gh-pages": "^3.1.0",
"husky": "^8.0.3",
"prettier": "^2.8.4"
},
"engines": {
"npm": ">=8.0.0",
"node": ">=18.0.0"
}
}
}
2 changes: 1 addition & 1 deletion src/components/CostFragment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function CostFragment({ cost }) {
style={{ userSelect: 'none' }}
align="right"
>
{isDollars ? '$' + (costsNumber/exchangeRate).toFixed(2) : '₹' + costsNumber }
{isDollars ? '$' + (costsNumber / exchangeRate).toFixed(2) : '₹' + costsNumber}
</TableCell>
);
}
Expand Down
10 changes: 5 additions & 5 deletions src/data/membershipCosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ export const costs = [
// notes: 'Free for new members!',
},

{ name: 'Power and Energy Society(PES)', newCost: 47.5, renewalCost: 47.5},
{ name: 'Power and Energy Society(PES)', newCost: 47.5, renewalCost: 47.5 },

{ name: ' Robotics and Automation Society(RAS)', newCost: 465, renewalCost: 465 },

{ name: 'Signal Processing Society(SPS)', newCost: 47.5, renewalCost: 47.5 },

{ name: ' Robotics and Automation Society(RAS)', newCost: 465, renewalCost: 465 },

{ name: 'Signal Processing Society(SPS)', newCost: 47.5, renewalCost: 47.5},

{ name: ' Affinity Group-SIGHT', newCost: 0, renewalCost: 0 },

{ name: 'Affinity Group-Women in Engineering(WIE)', newCost: 0, renewalCost: 0 },
Expand Down

0 comments on commit cb956cb

Please sign in to comment.