Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/KAYA-90-Migrate-landing-page-legacy-styling-engine #56

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hr-resource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate deploy",
"prisma:reset": "prisma migrate reset",
"prisma:seed": "prisma db seed",
"prisma:seed": "prisma db seed",
"codegen": "graphql-codegen --config codegen.ts",
"start:dev": "npm run build && npm run start",
"start:prod": "npm run test && npm run prisma:migrate && npm run prisma:seed && node .",
Expand Down
6 changes: 6 additions & 0 deletions kaya-landing/.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
PUBLIC_URL=/
REACT_APP_PORTAL_HR_DOMAIN=http://localhost:3000/hr-panel
REACT_APP_PORTAL_ADMIN_DOMAIN=http://localhost:3001/admin
REACT_APP_PORTAL_EMPLOYEE_DOMAIN=http://localhost:3002/employee
REACT_APP_PAYPAL_CLIENT_ID=client-id
REACT_APP_PAYPAL_CURRENCY=CAD
187 changes: 40 additions & 147 deletions kaya-landing/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion kaya-landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@fontsource/roboto": "^5.0.8",
"@mui/icons-material": "^5.15.13",
"@mui/material": "^5.15.13",
"@mui/styles": "^5.15.9",
"@paypal/react-paypal-js": "^8.2.0",
"@reduxjs/toolkit": "^2.1.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
Expand Down
8 changes: 7 additions & 1 deletion kaya-landing/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import '@fontsource/roboto/300.css';
import '@fontsource/roboto/400.css';
import '@fontsource/roboto/500.css';
import '@fontsource/roboto/700.css';
import { PayPalScriptProvider } from '@paypal/react-paypal-js';
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
Expand All @@ -12,7 +13,12 @@ const root = ReactDOM.createRoot(
);
root.render(
<React.StrictMode>
<App />
<PayPalScriptProvider options={{
clientId: process.env.REACT_APP_PAYPAL_CLIENT_ID,
currency: process.env.REACT_APP_PAYPAL_CURRENCY,
}}>
<App />
</PayPalScriptProvider>
</React.StrictMode>
);

Expand Down
Loading