Skip to content

Commit

Permalink
Added Onboarding Files
Browse files Browse the repository at this point in the history
  • Loading branch information
William-McGonagle committed Aug 14, 2023
1 parent f9b2808 commit d5c12dc
Show file tree
Hide file tree
Showing 16 changed files with 1,287 additions and 255 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts

- name: Deploy with rsync
run: rsync -avz --delete . ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:/prod
run: rsync -avz --delete . ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:~/prod
12 changes: 12 additions & 0 deletions components/paymentForm.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {PaymentElement} from '@stripe/react-stripe-js';

const PaymentForm = () => {
return (
<form>
<PaymentElement />
<button>Submit</button>
</form>
);
};

export default PaymentForm;
18 changes: 18 additions & 0 deletions components/schoolSelect.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import * as React from "react"
import Link from 'next/link'

const SchoolSelect = ({ data, onClick, selectedIndex }) => {

const { name, id, type, address, grades } = data || {}

return <button className={`w-full border rounded ${selectedIndex == id ? 'bg-green-50' : 'hover:bg-slate-50'}`} onClick={() => { onClick(data) }}>
<div className="relative flex flex-col justify-start items-start content-start p-2">
<span className="absolute right-2 top-2 text-sm font-black">{type.toUpperCase()}, {grades}</span>
<p className="font-bold text-lg">{name}</p>
<p>{address}</p>
</div>
</button>

}

export default SchoolSelect
Loading

0 comments on commit d5c12dc

Please sign in to comment.