Skip to content

Commit

Permalink
fix(review): 🐛 styling and url issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vanntile committed Jan 15, 2024
1 parent c6bd979 commit 85f4794
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const socialMedia = await getCollection('icons')
<meta property="article:published_time" content={new Date(publishedAt).toISOString()} />
<meta property="og:title" content={title} />
<meta property="og:type" content={type} />
<meta property="og:image" content={`${url.origin}/assets/${image.src}`} />
<meta property="og:image" content={`${import.meta.env.DEV ? '' : url.origin}${image.src}`} />
<meta property="og:image:alt" content={image.alt} />
<meta property="og:image:width" content="1600" />
<meta property="og:image:height" content="800" />
Expand Down
7 changes: 4 additions & 3 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
font-weight: normal;
src: url('/fonts/Objectivity-Regular.woff2') format('woff2');
font-family: 'Objectivity';
font-display: optional;
font-display: swap;
}

@font-face {
Expand Down Expand Up @@ -1331,8 +1331,9 @@
margin-bottom: 0.5rem;
overflow: hidden;
color: var(--gray-100);
font-style: oblique 8deg;
font-stretch: 110%;
/* Although they look good, they mess the animation timing, so disabling temporarily */
/* font-style: oblique 8deg;
font-stretch: 110%; */
font-size: 2.25rem;
line-height: 2.5rem;
font-family: 'Monaspace Argon', ui-monospace, SFMono-Regular, Menlo, monospace;
Expand Down

0 comments on commit 85f4794

Please sign in to comment.