-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
207 additions
and
333 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
import type { CollectionEntry } from 'astro:content'; | ||
import BaseHead from '../BaseHead.astro'; | ||
import Header from '../Header.astro'; | ||
import Footer from '../Footer.astro'; | ||
import FormattedDate from '../FormattedDate.astro'; | ||
type Props = CollectionEntry<'blog'>['data']; | ||
const { title, description, pubDate, updatedDate, heroImage } = Astro.props; | ||
--- | ||
|
||
<html lang="en"> | ||
<head> | ||
<BaseHead title={title} description={description} /> | ||
</head> | ||
|
||
<body> | ||
<Header /> | ||
<main> | ||
<article> | ||
<div class="hero-image"> | ||
{heroImage && <img width={1020} height={510} src={heroImage} alt="" />} | ||
</div> | ||
<div class="prose"> | ||
<div class="title"> | ||
<div class="date"> | ||
<FormattedDate date={pubDate} /> | ||
{ | ||
updatedDate && ( | ||
<div class="last-updated-on"> | ||
Last updated on <FormattedDate date={updatedDate} /> | ||
</div> | ||
) | ||
} | ||
</div> | ||
<h1>{title}</h1> | ||
<hr /> | ||
</div> | ||
<slot /> | ||
</div> | ||
</article> | ||
</main> | ||
<Footer /> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
// Place any global data in this file. | ||
// You can import this data from anywhere in your site by using the `import` keyword. | ||
|
||
export const SITE_TITLE = 'Astro Blog'; | ||
export const SITE_TITLE = 'Bianca Fiore'; | ||
export const SITE_DESCRIPTION = 'Welcome to my website!'; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
*::selection { | ||
background-color: var(--primary-main); | ||
color: var(--white); | ||
} | ||
|
||
html, | ||
body { | ||
overflow: hidden auto; | ||
scroll-behavior: smooth; | ||
scrollbar-gutter: stable; | ||
|
||
@media (prefers-reduced-motion: reduce) { | ||
scroll-behavior: auto; | ||
} | ||
} | ||
|
||
body { | ||
-webkit-font-smoothing: antialiased; | ||
-webkit-tap-highlight-color: var(--base-font-size); | ||
-webkit-touch-callout: none; | ||
text-rendering: optimizeLegibility; | ||
} | ||
|
||
|
||
a { | ||
-webkit-tap-highlight-color: transparent; | ||
color: inherit; | ||
cursor: pointer; | ||
} | ||
|
||
summary { | ||
-webkit-tap-highlight-color: transparent; | ||
} | ||
|
||
svg { | ||
-webkit-tap-highlight-color: transparent; | ||
} |
Oops, something went wrong.