Commit Graph

889 Commits

Author SHA1 Message Date
Sha Mwe La a9631d0e1e feat: add ESLint and update linting errors (#26)
* Install ESLint and Astro ESLint plugin

* Configure 2 plugins

* Improve ignore files

* Add lint script

* Install astro-eslint-parser

* Add parser and fix linting errors
2023-02-02 16:24:38 +06:30
Michael Alaev 29e07761f7 refactor: remove unnecessary comments (#25)
Remove unnecessary comments in `src/utils/generateOgImage.tsx`.
2023-02-01 18:40:20 +06:30
B. Burt d9a2ffe909 docs: fix typo in blog post (#24)
Change spelling of criteria.
2023-02-01 12:16:15 +06:30
Sha Mwe La dc026b38de fix: make schema(s) strict (#23)
If schema(s) are made with strict, it will disallow extra keys in the markdown frontmatter.
2023-02-01 12:13:41 +06:30
satnaing 920046f389 docs: update CHANGELOG 2023-01-31 20:30:04 +06:30
satnaing fa0849553a chore(release): 2.0.0 2023-01-31 20:25:13 +06:30
satnaing 202dfaa883 Merge branch 'astro-v2' 2023-01-31 20:22:09 +06:30
satnaing f30953bd55 docs: add AstroPaper v1 docs and live url 2023-01-31 20:20:39 +06:30
satnaing f7f10f2a50 chore: add env type file 2023-01-31 20:17:10 +06:30
satnaing 705c59e6ea docs: update OG/desc image and info of predefined color scheme 2023-01-31 20:10:54 +06:30
satnaing b3f760f7d8 docs: update card bgColor in lower contrast new dark theme 2023-01-31 20:09:34 +06:30
satnaing 8a99601e93 fix: update card bg color 2023-01-31 20:09:05 +06:30
satnaing a827f758d3 docs: add AstroPaper 2 dark theme lower contrast 2023-01-31 20:06:02 +06:30
satnaing cfd1072d9d refactor: change default dark theme 2023-01-31 20:04:08 +06:30
satnaing ca43fc2b84 build(deps): update patch dependencies 2023-01-31 16:08:53 +06:30
satnaing f99c014de3 docs: add info about automatic class sorting feat 2023-01-31 16:02:16 +06:30
satnaing 1a427285f3 style: format styles with Tailwind Prettier plugin 2023-01-31 15:53:49 +06:30
satnaing ca7d9b10e6 style: add Tailwind prettier plugin 2023-01-31 15:49:20 +06:30
satnaing bb5d6b3837 docs: add main image in astro-paper-2 blog post 2023-01-31 13:04:43 +06:30
satnaing ca69958908 docs: add info about new predefined color scheme 2023-01-31 12:59:11 +06:30
satnaing bc263b6eac feat: add new predefined color scheme 'astro dark' 2023-01-31 12:50:36 +06:30
satnaing b9aa569e00 docs: mark as featured and add search logic paragraph 2023-01-31 00:33:41 +06:30
satnaing d616a73c93 docs: add AstroPaper v2 release blog post 2023-01-31 00:20:53 +06:30
satnaing 472e61f156 docs: update README for AstroPaper v2 2023-01-31 00:20:21 +06:30
satnaing 9355fb8044 build: exclude README from prettier ignore list 2023-01-31 00:19:49 +06:30
satnaing 54a54e8c3d docs: update frontmatter properties for AstroPaper v2 2023-01-30 22:26:22 +06:30
satnaing cd5620423e docs: add external ogImage url information 2023-01-30 22:24:32 +06:30
satnaing e2a3be4b8a refactor: remove extra blog post 2023-01-30 22:15:20 +06:30
satnaing 067c1a2cc6 docs: add a blog link to predefined color schemes 2023-01-30 22:13:03 +06:30
satnaing 3f714f8c80 refactor: remove unnecessary comment 2023-01-30 22:00:42 +06:30
satnaing 85f8bc67ff refactor: add default tag if no tag is specified in post 2023-01-30 21:26:05 +06:30
satnaing 50af65b0b4 refactor: update ogImage.src to ogImage 2023-01-30 20:57:35 +06:30
satnaing fc37b89953 refactor: mark featured and draft properties as optional 2023-01-30 20:45:58 +06:30
satnaing fb6a13fa10 docs: add caution about forestry discontinuing 2023-01-30 20:31:01 +06:30
satnaing f157ee6cf3 refactor: update blog schema by removing ogImage alt 2023-01-30 12:12:13 +06:30
satnaing f73f02e6e9 refactor: rename blogCollection to blog 2023-01-30 12:10:04 +06:30
satnaing 27b9f6f8ad refactor: update blog schema's author to be optional 2023-01-29 21:27:29 +06:30
satnaing 1fbb2d3c4d refactor: move filtering draft to getCollection func 2023-01-29 21:25:54 +06:30
satnaing 4a0bd18b1b refactor: remove unnessary types and refactor excluding draft
Exclude types of postResult and pagePaths  which can be inferred. Filtered draft posts in
getCollection function.
2023-01-29 21:17:12 +06:30
satnaing a61fd45559 fix: fix broken tags in PostDetails page 2023-01-29 21:01:11 +06:30
satnaing c556202c97 fix: make the last part of breadcrumb lowercase in specific tag page 2023-01-29 20:49:44 +06:30
satnaing c192cd8e50 fix: exclude draft posts in specific tag page 2023-01-29 20:08:01 +06:30
satnaing e8171d327e refactor: update for new content collection api 2023-01-28 01:23:37 +06:30
satnaing 38761e2e8f refactor: update collection type and new schema property name 2023-01-28 01:18:25 +06:30
satnaing 1717222a8b refactor: update querying logic with content collections api 2023-01-28 01:15:36 +06:30
satnaing db385b6567 refactor: update to AstroV2 and remove headings on search result
Update imports and types according to Astro v2 content collections. Remove headings on search result
for better search accuracy.
2023-01-28 00:58:40 +06:30
satnaing bf4f687d2d fix: resolve initial onChange input value bug
URL and search results don't get updated when input box value is removed after reload the page. Fix
this problem.
2023-01-28 00:55:30 +06:30
satnaing 0fe14f4217 refactor: refactor relative imports to aliases 2023-01-28 00:52:18 +06:30
satnaing 8cc6947799 refactor: update datetime prop type to string and date 2023-01-28 00:50:07 +06:30
satnaing a2f572eadf refactor: refactor relative import to alias 2023-01-28 00:47:59 +06:30