From a32add26a1118b0cd7247c47a5a4cf8137ae2903 Mon Sep 17 00:00:00 2001 From: Victor Zanivan Monteiro Date: Tue, 27 Aug 2024 16:12:24 -0300 Subject: [PATCH] [material-ui][docs] Add TemplateFrame to templates (#43406) --- .../getting-started/templates/blog/Blog.js | 42 +- .../getting-started/templates/blog/Blog.tsx | 43 +- .../blog/{NavBar.js => TemplateFrame.js} | 35 +- .../blog/{NavBar.tsx => TemplateFrame.tsx} | 30 +- .../templates/blog/components/Footer.js | 5 +- .../templates/blog/components/Footer.tsx | 5 +- .../templates/checkout/Checkout.js | 366 +++++++++--------- .../templates/checkout/Checkout.tsx | 365 ++++++++--------- .../checkout/{NavBar.js => TemplateFrame.js} | 39 +- .../{NavBar.tsx => TemplateFrame.tsx} | 34 +- .../templates/dashboard/Dashboard.js | 73 ++-- .../templates/dashboard/Dashboard.tsx | 73 ++-- .../dashboard/{NavBar.js => TemplateFrame.js} | 34 +- .../{NavBar.tsx => TemplateFrame.tsx} | 29 +- .../templates/marketing-page/MarketingPage.js | 54 +-- .../marketing-page/MarketingPage.tsx | 55 +-- .../{NavBar.js => TemplateFrame.js} | 35 +- .../{NavBar.tsx => TemplateFrame.tsx} | 30 +- .../marketing-page/components/Footer.js | 5 +- .../marketing-page/components/Footer.tsx | 5 +- .../marketing-page/components/Hero.js | 1 - .../marketing-page/components/Hero.tsx | 2 +- .../templates/sign-in-side/SignInSide.js | 78 ++-- .../templates/sign-in-side/SignInSide.tsx | 78 ++-- .../{NavBar.js => TemplateFrame.js} | 39 +- .../{NavBar.tsx => TemplateFrame.tsx} | 34 +- .../templates/sign-in/SignIn.js | 43 +- .../templates/sign-in/SignIn.tsx | 43 +- .../sign-in/{NavBar.js => TemplateFrame.js} | 35 +- .../sign-in/{NavBar.tsx => TemplateFrame.tsx} | 30 +- .../templates/sign-up/SignUp.js | 255 ++++++------ .../templates/sign-up/SignUp.tsx | 256 ++++++------ .../sign-up/{NavBar.js => TemplateFrame.js} | 35 +- .../sign-up/{NavBar.tsx => TemplateFrame.tsx} | 30 +- test/regressions/index.js | 10 +- 35 files changed, 1221 insertions(+), 1105 deletions(-) rename docs/data/material/getting-started/templates/blog/{NavBar.js => TemplateFrame.js} (82%) rename docs/data/material/getting-started/templates/blog/{NavBar.tsx => TemplateFrame.tsx} (83%) rename docs/data/material/getting-started/templates/checkout/{NavBar.js => TemplateFrame.js} (79%) rename docs/data/material/getting-started/templates/checkout/{NavBar.tsx => TemplateFrame.tsx} (81%) rename docs/data/material/getting-started/templates/dashboard/{NavBar.js => TemplateFrame.js} (83%) rename docs/data/material/getting-started/templates/dashboard/{NavBar.tsx => TemplateFrame.tsx} (84%) rename docs/data/material/getting-started/templates/marketing-page/{NavBar.js => TemplateFrame.js} (82%) rename docs/data/material/getting-started/templates/marketing-page/{NavBar.tsx => TemplateFrame.tsx} (83%) rename docs/data/material/getting-started/templates/sign-in-side/{NavBar.js => TemplateFrame.js} (79%) rename docs/data/material/getting-started/templates/sign-in-side/{NavBar.tsx => TemplateFrame.tsx} (81%) rename docs/data/material/getting-started/templates/sign-in/{NavBar.js => TemplateFrame.js} (82%) rename docs/data/material/getting-started/templates/sign-in/{NavBar.tsx => TemplateFrame.tsx} (83%) rename docs/data/material/getting-started/templates/sign-up/{NavBar.js => TemplateFrame.js} (82%) rename docs/data/material/getting-started/templates/sign-up/{NavBar.tsx => TemplateFrame.tsx} (83%) diff --git a/docs/data/material/getting-started/templates/blog/Blog.js b/docs/data/material/getting-started/templates/blog/Blog.js index 3ac0e5712394db..503bcf9b86e2b9 100644 --- a/docs/data/material/getting-started/templates/blog/Blog.js +++ b/docs/data/material/getting-started/templates/blog/Blog.js @@ -6,7 +6,7 @@ import AppAppBar from './components/AppAppBar'; import MainContent from './components/MainContent'; import Latest from './components/Latest'; import Footer from './components/Footer'; -import NavBar from './NavBar'; +import TemplateFrame from './TemplateFrame'; import getBlogTheme from './theme/getBlogTheme'; @@ -41,25 +41,25 @@ export default function Blog() { }; return ( - - - {/* you can delete this NavBar component since it's just no navigate to other pages */} - - - - - - -