Skip to content

Commit 60ba030

Browse files
committed
Astro pages indentation
1 parent 2fe33cf commit 60ba030

File tree

7 files changed

+88
-88
lines changed

7 files changed

+88
-88
lines changed

functions/ssr/src/pages/404.astro

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ const { settings } = routeContext;
1818

1919
<!DOCTYPE html>
2020
<html lang={routeContext?.lang.replace('_', '-')}>
21-
<Base>
22-
<Fragment slot="base-head">
23-
<BaseHead />
24-
<title>{`${i19notFound} | ${settings.name}`}</title>
25-
</Fragment>
26-
<PageHeader />
27-
<FallbackMain statusCode={404} />
28-
<PageFooter />
29-
</Base>
21+
<Base>
22+
<Fragment slot="base-head">
23+
<BaseHead />
24+
<title>{`${i19notFound} | ${settings.name}`}</title>
25+
</Fragment>
26+
<PageHeader />
27+
<FallbackMain statusCode={404} />
28+
<PageFooter />
29+
</Base>
3030
</html>

functions/ssr/src/pages/[...slug].astro

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ export async function getStaticPaths() {
6767

6868
<!DOCTYPE html>
6969
<html lang={routeContext?.lang.replace('_', '-')}>
70-
{routeContext && <>
71-
<Base>
72-
<BaseHead slot="base-head" />
73-
<PageHeader />
74-
<Main />
75-
<PageFooter />
76-
</Base>
77-
</>}
78-
{loadError && <Fragment set:html={loadError.responseHTML} />}
70+
{routeContext && <>
71+
<Base>
72+
<BaseHead slot="base-head" />
73+
<PageHeader />
74+
<Main />
75+
<PageFooter />
76+
</Base>
77+
</>}
78+
{loadError && <Fragment set:html={loadError.responseHTML} />}
7979
</html>

functions/ssr/src/pages/admin/index.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ try {
1414

1515
<!DOCTYPE html>
1616
<html lang={routeContext.lang.replace('_', '-')}>
17-
<Base>
18-
<Fragment slot="base-head">
19-
<BaseHead />
20-
<title>CMS</title>
21-
<style is:inline set:html={cmsCustomCss} />
22-
</Fragment>
23-
<script src="@@sf/scripts/decap-cms"></script>
24-
</Base>
17+
<Base>
18+
<Fragment slot="base-head">
19+
<BaseHead />
20+
<title>CMS</title>
21+
<style is:inline set:html={cmsCustomCss} />
22+
</Fragment>
23+
<script src="@@sf/scripts/decap-cms"></script>
24+
</Base>
2525
</html>

functions/ssr/src/pages/app/account.astro

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ const { settings } = routeContext;
1717

1818
<!DOCTYPE html>
1919
<html lang={routeContext.lang.replace('_', '-')}>
20-
<Base>
21-
<Fragment slot="base-head">
22-
<BaseHead />
23-
<title>{`${i19myAccount} | ${settings.name}`}</title>
24-
</Fragment>
25-
<main>
26-
<AccountPage client:only="vue">
27-
<Picture
28-
slot="logo"
29-
src={settings.logo}
30-
alt={settings.name}
31-
widths={[300]}
32-
loading="lazy"
33-
class="max-w-[150px]"
34-
/>
35-
</AccountPage>
36-
</main>
37-
</Base>
20+
<Base>
21+
<Fragment slot="base-head">
22+
<BaseHead />
23+
<title>{`${i19myAccount} | ${settings.name}`}</title>
24+
</Fragment>
25+
<main>
26+
<AccountPage client:only="vue">
27+
<Picture
28+
slot="logo"
29+
src={settings.logo}
30+
alt={settings.name}
31+
widths={[300]}
32+
loading="lazy"
33+
class="max-w-[150px]"
34+
/>
35+
</AccountPage>
36+
</main>
37+
</Base>
3838
</html>

functions/ssr/src/pages/app/index.astro

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@ const { footer: { stamps } } = layoutContent;
2121

2222
<!DOCTYPE html>
2323
<html lang={routeContext.lang.replace('_', '-')}>
24-
<Base>
25-
<Fragment slot="base-head">
26-
<BaseHead />
27-
<title>{`${i19shoppingCart} | ${settings.name}`}</title>
28-
<CheckoutScripts />
29-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ecomplus/storefront-twbs@7/dist/cdn/storefront-twbs.min.css">
30-
<style is:inline set:html={checkoutCustomCss} />
31-
</Fragment>
32-
<CheckoutPage footerStamps={stamps}>
33-
<Picture
34-
slot="logo"
35-
src={settings.logo}
36-
alt={settings.name}
37-
widths={[300]}
38-
loading="lazy"
39-
class="max-w-[150px]"
40-
/>
41-
</CheckoutPage>
42-
<script src="@@sf/scripts/vbeta-app"></script>
43-
</Base>
24+
<Base>
25+
<Fragment slot="base-head">
26+
<BaseHead />
27+
<title>{`${i19shoppingCart} | ${settings.name}`}</title>
28+
<CheckoutScripts />
29+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ecomplus/storefront-twbs@7/dist/cdn/storefront-twbs.min.css">
30+
<style is:inline set:html={checkoutCustomCss} />
31+
</Fragment>
32+
<CheckoutPage footerStamps={stamps}>
33+
<Picture
34+
slot="logo"
35+
src={settings.logo}
36+
alt={settings.name}
37+
widths={[300]}
38+
loading="lazy"
39+
class="max-w-[150px]"
40+
/>
41+
</CheckoutPage>
42+
<script src="@@sf/scripts/vbeta-app"></script>
43+
</Base>
4444
</html>

functions/ssr/src/pages/blog/[page].astro

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@ export async function getStaticPaths() {
5454

5555
<!DOCTYPE html>
5656
<html lang={routeContext.lang.replace('_', '-')}>
57-
{routeContext && <>
58-
<Base {metaTitle}>
59-
<Fragment slot="base-head">
60-
<BaseHead />
61-
<title>{`Blog | ${settings.name}`}</title>
62-
<meta name="description" content={settings.description}>
63-
</Fragment>
64-
<PageHeader />
65-
<main>
66-
<BlogPosts {page} {totalPages} {posts} />
67-
</main>
68-
<PageFooter />
69-
</Base>
70-
</>}
71-
{loadError && <Fragment set:html={loadError.responseHTML} />}
57+
{routeContext && <>
58+
<Base {metaTitle}>
59+
<Fragment slot="base-head">
60+
<BaseHead />
61+
<title>{`Blog | ${settings.name}`}</title>
62+
<meta name="description" content={settings.description}>
63+
</Fragment>
64+
<PageHeader />
65+
<main>
66+
<BlogPosts {page} {totalPages} {posts} />
67+
</main>
68+
<PageFooter />
69+
</Base>
70+
</>}
71+
{loadError && <Fragment set:html={loadError.responseHTML} />}
7272
</html>

functions/ssr/src/pages/~fallback.astro

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ const { settings } = routeContext;
1818

1919
<!DOCTYPE html>
2020
<html lang={routeContext?.lang.replace('_', '-')}>
21-
<Base>
22-
<Fragment slot="base-head">
23-
<BaseHead />
24-
<title>{`${i19error} | ${settings.name}`}</title>
25-
</Fragment>
26-
<PageHeader />
27-
<FallbackMain />
28-
<PageFooter />
29-
</Base>
21+
<Base>
22+
<Fragment slot="base-head">
23+
<BaseHead />
24+
<title>{`${i19error} | ${settings.name}`}</title>
25+
</Fragment>
26+
<PageHeader />
27+
<FallbackMain />
28+
<PageFooter />
29+
</Base>
3030
</html>

0 commit comments

Comments
 (0)