Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gulpfile.js/validate-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
const fs = require('fs');
const glob = require('glob');

// Size limits for development builds (in MB)
// Size limits for development builds (in MB). Same margin policy as the prod limits
// below: bump only enough to restore the headroom, so real size jumps still get caught.
const DEV_MAX_FILE_SIZE_MB = 6;
const DEV_MAX_TOTAL_SIZE_MB = 100;
const DEV_MAX_TOTAL_SIZE_MB = 105; // dev dist is ~100 MB + 5 MB margin
// Custom size limits for known large files (size in MB) For development builds
const LARGE_FILE_LIST_DEV = {
'dist/thirdparty/no-minify/language-worker.js.map': 10,
Expand Down
5 changes: 4 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,10 @@
<div id="newProject" class="new-project-btn btn-alt-quiet"></div>
</div>
<div>
<a id="phcode-io-main-nav" href="https://phcode.dev" target="_blank" rel="noopener">phcode.dev</a>
<!-- placeholder only: profile-menu.js _updateBranding repaints this once entitlements
resolve - localized "Get Phoenix Pro" for free users, plan name for pro users -->
<a id="phcode-io-main-nav" href="https://phcode.dev/pricing?promo=FreeNavbar"
target="_blank" rel="noopener">phcode.dev</a>
</div>
<div id="mainNavBarRight">
<div id="navBackButton" class="nav-back-btn btn-alt-quiet"><i class="fa-solid fa-arrow-left"></i></div>
Expand Down
8 changes: 8 additions & 0 deletions src/styles/brackets.less
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ html, body {
color: @dark-bc-text-link;
}

// crown on the free "Get Phoenix Pro" upsell. same gold as the pro crowns in the
// live preview device dropdown, so the pro marker reads the same everywhere.
#phcode-io-main-nav .fa-crown{
color: #FBB03B;
margin-left: 4px;
font-size: 0.9em;
}

#phcode-io-main-nav.phoenix-pro{
background: @phoenix-pro-gradient-dark;
background-clip: text;
Expand Down
2 changes: 1 addition & 1 deletion tracking-repos.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"phoenixPro": {
"commitID": "5b16dbf907820c5625fe8b985884ba83eca0eef1"
"commitID": "aa248bfb0bbff0a2d24f4f107c019b0f451b26fc"
}
}
Loading