File tree 9 files changed +23
-18
lines changed
9 files changed +23
-18
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ breadcrumbList[0] === "tags" &&
20
20
3 ,
21
21
` ${breadcrumbList [1 ]} ${
22
22
Number (breadcrumbList [2 ]) === 1 ? " " : " (page " + breadcrumbList [2 ] + " )"
23
- } `
23
+ } ` ,
24
24
);
25
25
---
26
26
@@ -47,15 +47,15 @@ breadcrumbList[0] === "tags" &&
47
47
<a href = { ` /${breadcrumb }/ ` } >{ breadcrumb } </a >
48
48
<span aria-hidden = " true" >» </span >
49
49
</li >
50
- )
50
+ ),
51
51
)
52
52
}
53
53
</ul >
54
54
</nav >
55
55
56
56
<style >
57
57
.breadcrumb {
58
- @apply mx-auto mb-1 mt-8 w-full max-w-3xl px-4;
58
+ @apply mx-auto mb-1 mt-8 w-full max-w-5xl px-4;
59
59
}
60
60
.breadcrumb ul li {
61
61
@apply inline;
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ const { activeNav } = Astro.props;
28
28
)
29
29
}
30
30
</a >
31
+ <!-- <button
32
+ type="button"
33
+ class="ml-2 border-none rounded-full bg-white px-2.5 py-1.5 text-sm font-semibold text-gray-900 bg-gray-50 hover:bg-gray-200"
34
+ >Music</button
35
+ > -->
31
36
<nav id =" nav-menu" >
32
37
<button
33
38
class =" hamburger-menu focus-outline"
@@ -121,7 +126,7 @@ const { activeNav } = Astro.props;
121
126
@apply absolute -top-full left-16 z-50 bg-skin-accent px-3 py-2 text-skin-inverted transition-all focus:top-4;
122
127
}
123
128
.nav-container {
124
- @apply mx-auto flex max-w-3xl flex-col items-center justify-between sm:flex-row;
129
+ @apply mx-auto flex max-w-5xl flex-col items-center justify-between sm:flex-row;
125
130
}
126
131
.top-nav-wrap {
127
132
@apply relative flex w-full items-start justify-between p-4 sm:items-center sm:py-8;
@@ -156,7 +161,7 @@ const { activeNav } = Astro.props;
156
161
@apply col-span-1;
157
162
}
158
163
nav a.active {
159
- @apply underline decoration-wavy decoration- 2 underline-offset-4;
164
+ @apply underline decoration-2 underline-offset-4;
160
165
}
161
166
nav a.active svg {
162
167
@apply fill-skin-accent;
@@ -202,7 +207,7 @@ const { activeNav } = Astro.props;
202
207
menuBtn.setAttribute("aria-expanded", menuExpanded ? "false" : "true");
203
208
menuBtn.setAttribute(
204
209
"aria-label",
205
- menuExpanded ? "Open Menu" : "Close Menu"
210
+ menuExpanded ? "Open Menu" : "Close Menu",
206
211
);
207
212
menuItems?.classList.toggle("display-none");
208
213
});
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ export interface Props {
7
7
const { noPadding = false , ariaHidden = true } = Astro .props ;
8
8
---
9
9
10
- <div class ={ ` max-w-3xl mx-auto ${noPadding ? " px-0" : " px-4" } ` } >
10
+ <div class ={ ` max-w-5xl mx-auto ${noPadding ? " px-0" : " px-4" } ` } >
11
11
<hr class =" border-skin-line" aria-hidden ={ ariaHidden } />
12
12
</div >
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ import type { Site, SocialObjects } from "./types";
2
2
3
3
export const SITE : Site = {
4
4
website : "https://tungdevpro.github.io" , // replace this with your deployed domain
5
- author : "Tungdevpro " ,
5
+ author : "Vito " ,
6
6
desc : "I often gossip and write around about things like technology and my life" ,
7
- title : "tungdm " ,
7
+ title : "Tung Do (Vito) " ,
8
8
ogImage : "astropaper-og.jpg" ,
9
9
lightAndDarkMode : false ,
10
10
postPerPage : 10 ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const { frontmatter } = Astro.props;
19
19
<Header activeNav =" about" />
20
20
<Breadcrumbs />
21
21
<main id =" main-content" >
22
- <section id =" about" class =" prose mb-28 max-w-3xl prose-img:border-0" >
22
+ <section id =" about" class =" prose mb-28 max-w-5xl prose-img:border-0" >
23
23
<h1 class =" text-2xl tracking-wider sm:text-3xl" >{ frontmatter .title } </h1 >
24
24
<slot />
25
25
</section >
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const { props } = Astro;
37
37
38
38
<style >
39
39
#main-content {
40
- @apply mx-auto w-full max-w-3xl px-4 pb-4;
40
+ @apply mx-auto w-full max-w-5xl px-4 pb-4;
41
41
}
42
42
#main-content h1 {
43
43
@apply text-2xl font-semibold sm:text-3xl;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const { Content } = await post.render();
31
31
const ogImageUrl = typeof ogImage === " string" ? ogImage : ogImage ?.src ;
32
32
const ogUrl = new URL (
33
33
ogImageUrl ?? ` /posts/${slugifyStr (title )}.png ` ,
34
- Astro .url .origin
34
+ Astro .url .origin ,
35
35
).href ;
36
36
37
37
const layoutProps = {
@@ -53,7 +53,7 @@ const layoutProps = {
53
53
<div class="progress-bar h-1 w-0 bg-skin-accent" id="myBar"></div>
54
54
</div> -->
55
55
56
- <div class =" mx-auto flex w-full max-w-3xl justify-start px-2" >
56
+ <div class =" mx-auto flex w-full max-w-5xl justify-start px-2" >
57
57
<button
58
58
class =" focus-outline mb-2 mt-8 flex hover:opacity-75"
59
59
onclick =" (() => (history .length === 1 ) ? window .location = ' /' : history .back ())()"
@@ -73,12 +73,12 @@ const layoutProps = {
73
73
size =" lg"
74
74
className =" my-2"
75
75
/>
76
- <article id =" article" role =" article" class =" prose mx-auto mt-8 max-w-3xl " >
76
+ <article id =" article" role =" article" class =" prose mx-auto mt-8 max-w-5xl " >
77
77
<Content />
78
78
</article >
79
79
80
80
<ul class =" my-8" >
81
- { tags .map (tag => <Tag tag = { slugifyStr (tag )} />)}
81
+ { tags .map (( tag ) => <Tag tag = { slugifyStr (tag )} />)}
82
82
</ul >
83
83
84
84
<div
@@ -104,7 +104,7 @@ const layoutProps = {
104
104
105
105
<style >
106
106
main {
107
- @apply mx-auto w-full max-w-3xl px-4 pb-12;
107
+ @apply mx-auto w-full max-w-5xl px-4 pb-12;
108
108
}
109
109
.post-title {
110
110
@apply text-2xl font-semibold text-skin-accent;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import LinkButton from "@components/LinkButton.astro";
28
28
29
29
<style >
30
30
#main-content {
31
- @apply mx-auto flex max-w-3xl flex-1 items-center justify-center;
31
+ @apply mx-auto flex max-w-5xl flex-1 items-center justify-center;
32
32
}
33
33
.not-found-wrapper {
34
34
@apply mb-14 flex flex-col items-center justify-center;
Original file line number Diff line number Diff line change 34
34
}
35
35
section ,
36
36
footer {
37
- @apply mx-auto max-w-3xl px-4;
37
+ @apply mx-auto max-w-5xl px-4;
38
38
}
39
39
a {
40
40
@apply outline-2 outline-offset-1 outline-skin-fill
You can’t perform that action at this time.
0 commit comments