@brillout/docpress 0.10.14 → 0.10.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Layout.tsx CHANGED
@@ -322,7 +322,6 @@ function NavHead({ isNavLeft }: { isNavLeft?: true }) {
322
322
  backgroundColor: 'var(--bg-color)',
323
323
  borderBottom: 'var(--block-margin) solid white',
324
324
  position: 'relative',
325
- marginBottom: !isNavLeft ? -5 : 0,
326
325
  }}
327
326
  >
328
327
  {isNavLeft && <NavHeaderLeftFullWidthBackground />}
@@ -386,9 +385,6 @@ function NavHead({ isNavLeft }: { isNavLeft?: true }) {
386
385
  padding: 0;
387
386
  margin: 0;
388
387
  }
389
- .nav-head-top {
390
- margin-bottom: -15px !important;
391
- }
392
388
  }
393
389
  @container container-nav-head (min-width: 501px) {
394
390
  .nav-head-content {
@@ -398,7 +394,7 @@ function NavHead({ isNavLeft }: { isNavLeft?: true }) {
398
394
  padding: 0 var(--padding-side);
399
395
  }
400
396
  }
401
- @container container-nav-head (min-width: ${containerQueryMobileNav + 100}px) {
397
+ @container container-nav-head (min-width: ${containerQueryMobileNav + 150}px) {
402
398
  .nav-head-content {
403
399
  --padding-side: 35px;
404
400
  }
@@ -4,6 +4,7 @@ import React from 'react'
4
4
  import iconGithub from './icons/github.svg'
5
5
  import iconTwitter from './icons/twitter.svg'
6
6
  import iconDiscord from './icons/discord.svg'
7
+ import iconBluesky from './icons/bluesky.svg'
7
8
  import iconChangelog from './icons/changelog.svg'
8
9
  import iconLanguages from './icons/languages.svg'
9
10
  import { usePageContext } from './renderer/usePageContext'
@@ -34,6 +35,13 @@ function NavSecondaryContent(props: { style?: React.CSSProperties }) {
34
35
  <LinkIcon className="decolorize-6" icon={iconDiscord} href={projectInfo.discordInvite} />
35
36
  )}
36
37
  <LinkIcon className="decolorize-4" icon={iconTwitter} href={projectInfo.twitterProfile} />
38
+ {projectInfo.blueskyHandle && (
39
+ <LinkIcon
40
+ className="decolorize-6"
41
+ icon={iconBluesky}
42
+ href={`https://bsky.app/profile/${projectInfo.blueskyHandle}`}
43
+ />
44
+ )}
37
45
  <LinkIcon className="decolorize-4" icon={iconGithub} href={projectInfo.githubRepository} />
38
46
  <ChangelogButton />
39
47
  </div>
package/css/heading.css CHANGED
@@ -9,7 +9,7 @@ h3 {
9
9
  }
10
10
 
11
11
  .doc-page h1 {
12
- margin-top: 15px;
12
+ margin-top: 0px;
13
13
  margin-bottom: 20px;
14
14
  }
15
15
 
@@ -9,6 +9,7 @@ type Config = {
9
9
  projectVersion: string;
10
10
  discordInvite?: string;
11
11
  twitterProfile: string;
12
+ blueskyHandle?: string;
12
13
  };
13
14
  logoUrl?: string;
14
15
  faviconUrl?: string;
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 320">
2
+ <path fill="#0085ff" d="M180 142c-16.3-31.7-60.7-90.8-102-120C38.5-5.9 23.4-1 13.5 3.4 2.1 8.6 0 26.2 0 36.5c0 10.4 5.7 84.8 9.4 97.2 12.2 41 55.7 55 95.7 50.5-58.7 8.6-110.8 30-42.4 106.1 75.1 77.9 103-16.7 117.3-64.6 14.3 48 30.8 139 116 64.6 64-64.6 17.6-97.5-41.1-106.1 40 4.4 83.5-9.5 95.7-50.5 3.7-12.4 9.4-86.8 9.4-97.2 0-10.3-2-27.9-13.5-33C336.5-1 321.5-6 282 22c-41.3 29.2-85.7 88.3-102 120Z"/>
3
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.10.14",
3
+ "version": "0.10.16",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@brillout/picocolors": "^1.0.10",
package/types/Config.ts CHANGED
@@ -11,6 +11,7 @@ type Config = {
11
11
  projectVersion: string
12
12
  discordInvite?: string
13
13
  twitterProfile: string
14
+ blueskyHandle?: string
14
15
  }
15
16
  logoUrl?: string
16
17
  faviconUrl?: string