Skip to content

Commit 84091aa

Browse files
committed
style: improve website configuration and remove deprecated sidebar item
- Added a one-time nudge animation for the hire sticker after 5 seconds - Removed the 'Hire the Author' item from the sidebar topics list to deprecate it
1 parent 4aa0bf9 commit 84091aa

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

‎pkgs/website/astro.config.mjs‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export default defineConfig({
140140
sticker.className = 'hire-sticker';
141141
sticker.textContent = 'Hire Author';
142142
document.body.appendChild(sticker);
143-
143+
144144
// Trigger one-time attention nudge after 5 seconds
145145
setTimeout(function() {
146146
sticker.classList.add('nudge');
@@ -209,12 +209,6 @@ export default defineConfig({
209209
starlightLinksValidator({ exclude: ['http://localhost*'] }),
210210
starlightSidebarTopics(
211211
[
212-
{
213-
label: 'Hire the Author',
214-
icon: 'email',
215-
link: '/hire/',
216-
id: 'hire',
217-
},
218212
{
219213
label: 'News',
220214
icon: 'pen',

0 commit comments

Comments
 (0)