Skip to content

Commit

Permalink
feat: remove selectedSvg from nextjs
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdurmaz committed Jun 3, 2024
1 parent bb5e910 commit a77fea7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 53 deletions.
19 changes: 0 additions & 19 deletions refine-nextjs/plugins/auth-provider-auth0/src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ import Typography from "@mui/material/Typography";
import { ThemedTitleV2 } from "@refinedev/mui";
<%_ } _%>

<%_ if (selectedSvg && answers["ui-framework"] !== "no" ) { _%>
import { AppIcon } from "@components/app-icon";
<%_ } _%>



export default function Login() {
const { mutate: login } = useLogin();

Expand All @@ -39,12 +33,6 @@ export default function Login() {
fontSize: "22px",
marginBottom: "36px",
}}
<%_ if (selectedTitle) { _%>
text="<%= selectedTitle %>"
<%_ } _%>
<%_ if (selectedSvg) { _%>
icon={<AppIcon />}
<%_ } _%>
/>
<Button
style={{ width: "240px", marginBottom: "32px" }}
Expand Down Expand Up @@ -90,14 +78,7 @@ export default function Login() {
fontSize: "22px",
justifyContent: "center",
}}
<%_ if (selectedTitle) { _%>
text="<%= selectedTitle %>"
<%_ } _%>
<%_ if (selectedSvg) { _%>
icon={<AppIcon />}
<%_ } _%>
/>

<Button style={{ width: "240px" }} variant="contained" size="large" onClick={() => login({})}>
Sign in
</Button>
Expand Down
17 changes: 0 additions & 17 deletions refine-nextjs/plugins/auth-provider-google/src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ import Typography from "@mui/material/Typography";
import { ThemedTitleV2 } from "@refinedev/mui";
<%_ } _%>
import { useLogin } from "@refinedev/core";
<%_ if (selectedSvg && answers["ui-framework"] !== "no" ) { _%>
import { AppIcon } from "@components/app-icon";
<%_ } _%>


export default function Login() {
const { mutate: login } = useLogin();
Expand All @@ -35,12 +31,6 @@ export default function Login() {
wrapperStyles={{
fontSize: "22px",
}}
<%_ if (selectedTitle) { _%>
text="<%= selectedTitle %>"
<%_ } _%>
<%_ if (selectedSvg) { _%>
icon={<AppIcon />}
<%_ } _%>
/>
<Button
style={{ width: "240px", marginBottom: "32px" }}
Expand Down Expand Up @@ -86,14 +76,7 @@ export default function Login() {
fontSize: "22px",
justifyContent: "center",
}}
<%_ if (selectedTitle) { _%>
text="<%= selectedTitle %>"
<%_ } _%>
<%_ if (selectedSvg) { _%>
icon={<AppIcon />}
<%_ } _%>
/>

<Button style={{ width: "240px" }} variant="contained" size="large" onClick={() => login({})}>
Sign in
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ import Typography from "@mui/material/Typography";
import { ThemedTitleV2 } from "@refinedev/mui";
<%_ } _%>
import { useLogin } from "@refinedev/core";

<%_ if (selectedSvg && answers["ui-framework"] !== "no" ) { _%>
import { AppIcon } from "@components/app-icon";
<%_ } _%>

export default function Login() {
const { mutate: login } = useLogin();
Expand All @@ -36,12 +32,6 @@ export default function Login() {
fontSize: "22px",
marginBottom: "36px",
}}
<%_ if (selectedTitle) { _%>
text="<%= selectedTitle %>"
<%_ } _%>
<%_ if (selectedSvg) { _%>
icon={<AppIcon />}
<%_ } _%>
/>
<Button
style={{ width: "240px" }}
Expand Down Expand Up @@ -87,14 +77,7 @@ export default function Login() {
fontSize: "22px",
justifyContent: "center",
}}
<%_ if (selectedTitle) { _%>
text="<%= selectedTitle %>"
<%_ } _%>
<%_ if (selectedSvg) { _%>
icon={<AppIcon />}
<%_ } _%>
/>

<Button style={{ width: "240px" }} size="large" variant="contained" onClick={() => login({})}>
Sign in
</Button>
Expand Down

0 comments on commit a77fea7

Please sign in to comment.