readme update
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
This document describes how the imgPub application converts page photos into a final EPUB book. It covers the frontend wizard, the Node.js backend that performs EPUB generation, and the most important implementation details so new contributors can extend the project confidently.
|
This document describes how the imgPub application converts page photos into a final EPUB book. It covers the frontend wizard, the Node.js backend that performs EPUB generation, and the most important implementation details so new contributors can extend the project confidently.
|
||||||
|
|
||||||
## 1. Stack Summary
|
## 1. Stack Summarys
|
||||||
|
|
||||||
| Layer | Technology | Notes |
|
| Layer | Technology | Notes |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
|
|||||||
@@ -141,7 +141,9 @@ const AuthPage = ({ mode }) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleGoogleSignIn = async () => {
|
const GOOGLE_REDIRECT_URL = import.meta.env.VITE_GOOGLE_REDIRECT_URL || window.location.origin;
|
||||||
|
|
||||||
|
const handleGoogleSignIn = async () => {
|
||||||
setFormError(null);
|
setFormError(null);
|
||||||
setFormMessage(null);
|
setFormMessage(null);
|
||||||
if (!supabaseClient) {
|
if (!supabaseClient) {
|
||||||
@@ -153,7 +155,7 @@ const AuthPage = ({ mode }) => {
|
|||||||
const { error } = await supabaseClient.auth.signInWithOAuth({
|
const { error } = await supabaseClient.auth.signInWithOAuth({
|
||||||
provider: 'google',
|
provider: 'google',
|
||||||
options: {
|
options: {
|
||||||
redirectTo: window.location.origin,
|
redirectTo: GOOGLE_REDIRECT_URL,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (error) throw error;
|
if (error) throw error;
|
||||||
@@ -198,7 +200,7 @@ const AuthPage = ({ mode }) => {
|
|||||||
fontSize: { xs: '1.35rem', md: '1.6rem' },
|
fontSize: { xs: '1.35rem', md: '1.6rem' },
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
imagepub
|
imagepubs
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="overline" sx={{ color: '#B5AD9A', letterSpacing: 2 }}>
|
<Typography variant="overline" sx={{ color: '#B5AD9A', letterSpacing: 2 }}>
|
||||||
{variant.eyebrow}
|
{variant.eyebrow}
|
||||||
|
|||||||
Reference in New Issue
Block a user