Skip to content

Commit

Permalink
0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaschiang committed Jan 20, 2021
1 parent 14bdb08 commit 675f152
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tutorbook",
"description": "Web app connecting students with expert mentors and tutors.",
"version": "0.20.5",
"version": "0.21.0",
"author": "Nicholas Chiang <[email protected]>",
"homepage": "https://tutorbook.org/",
"license": "SEE LICENSE IN LICENSE",
Expand Down
17 changes: 17 additions & 0 deletions pages/mail.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Org, OrgJSON, User, UserJSON } from 'lib/model';
import OrgUserTemplate from 'lib/mail/users/create/org-template';

import school from 'cypress/fixtures/orgs/school.json';
import volunteer from 'cypress/fixtures/users/volunteer.json';

export default function MailPage(): JSX.Element {
const email = (
<OrgUserTemplate
user={User.fromJSON(volunteer as UserJSON)}
org={Org.fromJSON(school as OrgJSON)}
subjects={volunteer.mentoring.subjects}
langs={['Spanish', 'English']}
/>
);
return <div style={{ padding: '24px' }}>{email}</div>;
}

1 comment on commit 675f152

@vercel
Copy link

@vercel vercel bot commented on 675f152 Jan 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.