Skip to content

Commit

Permalink
coronavirus 🙃
Browse files Browse the repository at this point in the history
  • Loading branch information
oogxdd committed Aug 27, 2020
1 parent 4e5c5d8 commit 568b7f2
Show file tree
Hide file tree
Showing 24 changed files with 1,135 additions and 1,151 deletions.
Binary file added public/img/home05/home05-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions src/api/users/mutations.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,29 @@ export const editUserMutation = gql`
}
}
`

export const signupMutation = gql`
mutation($username: String!, $email: String!, $password: String!) {
signup(username: $username, email: $email, password: $password) {
token
user {
id
username
email
}
}
}
`

export const loginMutation = gql`
mutation($email: String!, $password: String!) {
login(email: $email, password: $password) {
token
user {
id
username
email
}
}
}
`
3 changes: 3 additions & 0 deletions src/api/users/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ export const getUserQuery = gql`
reviews {
stars
}
author {
...User
}
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,7 @@
font-weight: 500;
line-height: 14px;
}

.read-book-main img {
max-width: 250px !important;
}
Loading

1 comment on commit 568b7f2

@vercel
Copy link

@vercel vercel bot commented on 568b7f2 Aug 27, 2020

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.