summaryrefslogtreecommitdiff
path: root/examples/blog/README.md
diff options
context:
space:
mode:
authorGravatar Ben Holmes <hey@bholmes.dev> 2022-07-12 12:17:36 -0400
committerGravatar GitHub <noreply@github.com> 2022-07-12 12:17:36 -0400
commitab232dd10f8d8ae5a3654293a1f1429343990039 (patch)
tree1cb3f510b6e1fa12e5503fdcb8c4ef73fd7ffa95 /examples/blog/README.md
parent4bf47367687b67170e6c3c722f514b5c2e67519d (diff)
downloadastro-ab232dd10f8d8ae5a3654293a1f1429343990039.tar.gz
astro-ab232dd10f8d8ae5a3654293a1f1429343990039.tar.zst
astro-ab232dd10f8d8ae5a3654293a1f1429343990039.zip
Example blog rework (#3896)
* refactor: restructure components, kill dead code * nit: tweak base styles * nit: remove unneeded code comments * refactor: replace unused permalink with canonicalURL * refactor: add missing prop types * feat: make markdown examples more interesting * chore: consistent semis and quotes * chore: astro check failures * fix: bad url prop * fix: bad frontmatter quote * chore: more dead styles * chore: add header gap * refactor: use tsx for likebutton * fix: restore post sorting * chore: remove unused flex-row util * fix: small md formatting on README * chore: run through astro-plugin-prettier * fix: revert to double quotes * fix: manually move style outside <body> * fix: update file tree in README * refactor: publish-date -> time * refactor: remove unused div and margin * refactor: publishDate -> time on layout * refactor: .heroImage -> img * refactor: .logo -> svg * feat: update social image, remove jpg * fix: remove prism stylesheet!
Diffstat (limited to 'examples/blog/README.md')
-rw-r--r--examples/blog/README.md19
1 files changed, 9 insertions, 10 deletions
diff --git a/examples/blog/README.md b/examples/blog/README.md
index 7d7183a9f..ca87802a6 100644
--- a/examples/blog/README.md
+++ b/examples/blog/README.md
@@ -18,9 +18,6 @@ Features:
Inside of your Astro project, you'll see the following folders and files:
```
-├── README.md
-├── astro.config.mjs
-├── package.json
├── public
│   ├── assets
│   │   └── blog
@@ -28,24 +25,26 @@ Inside of your Astro project, you'll see the following folders and files:
│   ├── favicon.ico
│   ├── social.jpg
│   └── social.png
-├── sandbox.config.json
├── src
│   ├── components
│   │   ├── Author.astro
│   │   ├── BaseHead.astro
-│   │   ├── BlogHeader.astro
-│   │   ├── BlogPost.astro
│   │   ├── BlogPostPreview.astro
-│   │   ├── Heading.astro
-│   │   └── Logo.astro
+│   │   ├── FollowMe.astro
+│   │   ├── Header.astro
+│   │   └── LikeButton.tsx
│   ├── layouts
│   │   └── BlogPost.astro
│   ├── pages
│   │   ├── index.astro
│   │   └── posts
-│   │   └── index.md
+│   │   ├── interactive-content.md
+│   │   └── static-content.md
│   └── styles
│   └── blog.css
+├── astro.config.mjs
+├── README.md
+├── package.json
└── tsconfig.json
```
@@ -60,7 +59,7 @@ Any static assets, like images, can be placed in the `public/` directory.
All commands are run from the root of the project, from a terminal:
| Command | Action |
-|:---------------- |:-------------------------------------------- |
+| :---------------- | :------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:3000` |
| `npm run build` | Build your production site to `./dist/` |