|
| 1 | +--- |
| 2 | +title: '🚀 1.2.0: Supports Merging Links into a Menu on Mobile' |
| 3 | +subtitle: '' |
| 4 | +description: Release Astro AntfuStyle Theme 1.2.0 |
| 5 | +pubDate: 2024-11-02 |
| 6 | +lastModDate: '' |
| 7 | +toc: true |
| 8 | +share: true |
| 9 | +ogImage: false |
| 10 | +--- |
| 11 | + |
| 12 | +### 🚀 Features |
| 13 | + |
| 14 | +- :::details |
| 15 | + ::summary[**nav:** Add mergeOnMobile option to merge navigation and social links on mobile ([9e7cdcd](https://github.com/lin-stephanie/astro-antfustyle-theme/commit/9e7cdcd))] |
| 16 | + - Added Backdrop for overlay when panel opens |
| 17 | + - Updated NavBar with NavItem and NavSwitch for mobile menu merge |
| 18 | + - Added fade effects for panel and overlay in main.css |
| 19 | + - Moved ToTopButton out of NavBar for better tab navigation |
| 20 | + - Extracted rss link as RssLink |
| 21 | + - Adjusted shadow for dark mode |
| 22 | + - Added `UI.navBarLayout.mergeOnMobile` |
| 23 | + ::: |
| 24 | +- :::details |
| 25 | + ::summary[**search:** Full-screen search panel with backdrop for viewport < 1128px ([f88318b](https://github.com/lin-stephanie/astro-antfustyle-theme/commit/f88318b))] |
| 26 | + - Use `display` for search panel visibility instead of `opacity` |
| 27 | + - Move `SearchSwitch` styles to main.css |
| 28 | + - Handle panel close on backdrop click in Backdrop |
| 29 | + - Handle panel close on 'Tab' focus outside the panel in Backdrop |
| 30 | + ::: |
| 31 | + |
| 32 | +### 🩹 Fixes |
| 33 | + |
| 34 | +- **style:** Ensure responsive alignment for social sections on `/` ([4b567c0](https://github.com/lin-stephanie/astro-antfustyle-theme/commit/4b567c0)) |
| 35 | +- :::details |
| 36 | + ::summary[**rss:** Resolve MDX post parsing error ([c9ef3f2](https://github.com/lin-stephanie/astro-antfustyle-theme/commit/c9ef3f2))] |
| 37 | + - Fixes an error due to missing `compiledContent()` method on item in MDX, which cannot be invoked |
| 38 | + - Omit generating the `content` field directly (as it includes unprocessed special syntax, making its generation unnecessary) |
| 39 | + ::: |
| 40 | + |
| 41 | +### 🏡 Chore |
| 42 | + |
| 43 | +- Update docs, fix typo, update templates, adjust styles ([f42173b](https://github.com/lin-stephanie/astro-antfustyle-theme/commit/f42173b)) |
| 44 | +- Add animation utilities, rename utils filenames, update deps ([3d480d0](https://github.com/lin-stephanie/astro-antfustyle-theme/commit/3d480d0)) |
| 45 | + |
| 46 | +### ❤️ Contributors |
| 47 | + |
| 48 | +- Stephanie Lin ([@lin-stephanie](http://github.com/lin-stephanie)) |
| 49 | + |
| 50 | +[View changes on GitHub](https://github.com/lin-stephanie/astro-antfustyle-theme/compare/1.1.1...1.2.0) |
0 commit comments