Skip to content

Commit

Permalink
Merge pull request #25 from Albert-mah/main
Browse files Browse the repository at this point in the history
update: from plugin to plugin_2025
  • Loading branch information
Albert-mah authored Dec 25, 2024
2 parents 47b10b6 + b09ff05 commit db75816
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 45 deletions.
4 changes: 2 additions & 2 deletions src/layouts/BaseJA.astro
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,13 @@ const meta = {
<li>
<a href="/ja/community" title="NocoBase コミュニティ" class="sub-menu-item">コミュニティ</a>
</li>

<li class="has-submenu parent-menu-item">
<a href="javascript:void(0)" rel="nofollow">リソース</a><span class="menu-arrow"
></span>
<ul class="submenu">
<li>
<a href="https://docs.nocobase.com" title="NocoBase ガイド ドキュメントとリファレンス" class="sub-menu-item" target="_blank">ドキュメント</a>
<a href="https://docs-jp.nocobase.com" title="NocoBase ガイド ドキュメントとリファレンス" class="sub-menu-item" target="_blank">ドキュメント</a>
</li>
<li>
<a href="/ja/tutorials" title="NocoBase チュートリアル" class="sub-menu-item">チュートリアル</a>
Expand Down
18 changes: 9 additions & 9 deletions src/pages/cn/plugins-commercial.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,40 +37,40 @@ const keywords = page.keywords_cn || page.keywords;
<div class="container">
{
data
.filter((group) => group.plugins.filter((plugin: any) => plugin.isCommercial).length > 0)
.filter((group) => group.plugins.filter((plugin: any) => plugin.commercial).length > 0)
.map((group) => (
<>
<h4 class="mt-2 pb-1 text-muted">{group.title_cn || group.title}</h4>
<div class="row pb-4">
{group.plugins
.filter((plugin: any) => plugin.isCommercial)
.filter((plugin: any) => plugin.commercial)
.map((plugin: any) => (
<div class="col-lg-4 col-md-6 col-12 pt-0 pb-4">
<div title={plugin.title_cn || plugin.title} style="color: inherit;" class="card rounded shadow border-0 plugin-card">
<div title={plugin.name_cn || plugin.title} style="color: inherit;" class="card rounded shadow border-0 plugin-card">
<div class="card-body">
<div class="mt-2 plugin-box">
<h6 class="card-title mb-1">{plugin.title_cn || plugin.title}</h6>
<h6 class="card-title mb-1">{plugin.name_cn || plugin.title}</h6>
<div class="plugin-developer text-muted mb-3">By <span>{plugin.developer || 'NocoBase'}</span></div>
<p class="text-muted mb-2 plugin-overview">{plugin.description_cn || plugin.description}
{plugin.doc_cn &&
<a href={plugin.doc_cn} target="_blank" style="font-size: 14px; ">详情</a>
{plugin.docs_cn &&
<a href={plugin.docs_cn} target="_blank" style="font-size: 14px; ">详情</a>
}
</p>
<div class="plugin-footer">
{plugin.isComingSoon ? (
<span class="badge bg-soft-info plugin-type">
即将发布
</span>
) : plugin.isCommercial ? (
) : plugin.commercial ? (
<h6 class="text-primary mb-0">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">永久使用, 1 年升级</span><br>
<a href="/cn/plugins-bundles"> {plugin.price_point_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<a href="/cn/plugins-bundles"> {plugin.points_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted" >¥{plugin.price_cny_1_year ? plugin.price_cny_1_year.toLocaleString('en-US') : '?'}</span>
</h6>
<h6 class="text-muted mb-0" style="margin-left: auto;font-weight: normal;">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">永久使用和升级</span><br>
<a class="text-muted" href="/cn/plugins-bundles"> {plugin.price_point} <i class="uil uil-moon-eclipse me-1"></i></a>
<a class="text-muted" href="/cn/plugins-bundles"> {plugin.point} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted">¥{plugin.price_cny ? plugin.price_cny.toLocaleString('en-US') : '?'}</span>
</h6>
Expand Down
14 changes: 7 additions & 7 deletions src/pages/cn/plugins.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,31 +44,31 @@ const keywords = page.keywords_cn || page.keywords;
<div class="row pb-4">
{group.plugins.map((plugin: any) => (
<div class="col-lg-4 col-md-6 col-12 pt-0 pb-4">
<div title={plugin.title_cn || plugin.title} style="color: inherit;" class="card rounded shadow border-0 plugin-card">
<div title={plugin.name_cn || plugin.title} style="color: inherit;" class="card rounded shadow border-0 plugin-card">
<div class="card-body">
<div class="mt-2 plugin-box">
<h6 class="card-title mb-1">{plugin.title_cn || plugin.title}</h6>
<h6 class="card-title mb-1">{plugin.name_cn || plugin.title}</h6>
<div class="plugin-developer text-muted mb-3">By <span>{plugin.developer || 'NocoBase'}</span></div>
<p class="text-muted mb-2 plugin-overview">{plugin.description_cn || plugin.description}
{plugin.doc_cn &&
<a href={plugin.doc_cn} target="_blank" style="font-size: 14px; ">详情</a>
{plugin.docs_cn &&
<a href={plugin.docs_cn} target="_blank" style="font-size: 14px; ">详情</a>
}
</p>
<div class="plugin-footer">
{plugin.isComingSoon ? (
<span class="badge bg-soft-info plugin-type">
即将发布
</span>
) : plugin.isCommercial ? (
) : plugin.commercial ? (
<h6 class="text-primary mb-0">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">永久使用, 1 年升级</span><br>
<a href="/cn/plugins-bundles"> {plugin.price_point_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<a href="/cn/plugins-bundles"> {plugin.points_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted" >¥{plugin.price_cny_1_year ? plugin.price_cny_1_year.toLocaleString('en-US') : '?'}</span>
</h6>
<h6 class="text-muted mb-0" style="margin-left: auto;font-weight: normal;">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">永久使用和升级</span><br>
<a class="text-muted" href="/cn/plugins-bundles"> {plugin.price_point} <i class="uil uil-moon-eclipse me-1"></i></a>
<a class="text-muted" href="/cn/plugins-bundles"> {plugin.point} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted">¥{plugin.price_cny ? plugin.price_cny.toLocaleString('en-US') : '?'}</span>
</h6>
Expand Down
10 changes: 5 additions & 5 deletions src/pages/en/plugins-commercial.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ const keywords = page.keywords;
<div class="container">
{
data
.filter((group) => group.plugins.filter((plugin: any) => plugin.isCommercial).length > 0)
.filter((group) => group.plugins.filter((plugin: any) => plugin.commercial).length > 0)
.map((group) => (
<>
<h4 class="mt-2 pb-1 text-muted">{group.title}</h4>
<div class="row pb-4">
{group.plugins
.filter((plugin: any) => plugin.isCommercial)
.filter((plugin: any) => plugin.commercial)
.map((plugin: any) => (
<div class="col-lg-4 col-md-6 col-12 pt-0 pb-4">
<div title={plugin.title} style="color: inherit;" class="card rounded shadow border-0 plugin-card">
Expand All @@ -61,16 +61,16 @@ const keywords = page.keywords;
<span class="badge bg-soft-info plugin-type">
Coming soon
</span>
) : plugin.isCommercial ? (
) : plugin.commercial ? (
<h6 class="text-primary mb-0">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">Lifetime use, 1-year upgrade</span><br>
<a href="/en/plugins-bundles"> {plugin.price_point_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<a href="/en/plugins-bundles"> {plugin.points_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted">${plugin.price_1_year ? plugin.price_1_year.toLocaleString('en-US') : '?'}</span>
</h6>
<h6 class="text-muted mb-0" style="margin-left: auto;font-weight: normal;">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">Lifetime use & upgrade</span><br>
<a class="text-muted" href="/en/plugins-bundles"> {plugin.price_point} <i class="uil uil-moon-eclipse me-1"></i></a>
<a class="text-muted" href="/en/plugins-bundles"> {plugin.point} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted">${plugin.price ? plugin.price.toLocaleString('en-US') : '?'}</span>
</h6>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/en/plugins.astro
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ const keywords = page.keywords;
<span class="badge bg-soft-info plugin-type">
Coming soon
</span>
) : plugin.isCommercial ? (
) : plugin.commercial ? (

<h6 class="text-primary mb-0">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">Lifetime use, 1-year upgrade</span><br>
<a href="/en/plugins-bundles"> {plugin.price_point_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<a href="/en/plugins-bundles"> {plugin.points_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted">${plugin.price_1_year ? plugin.price_1_year.toLocaleString('en-US') : '?'}</span>
</h6>
<h6 class="text-muted mb-0" style="margin-left: auto;font-weight: normal;">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">Lifetime use & upgrade</span><br>
<a class="text-muted" href="/en/plugins-bundles"> {plugin.price_point} <i class="uil uil-moon-eclipse me-1"></i></a>
<a class="text-muted" href="/en/plugins-bundles"> {plugin.point} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted">${plugin.price ? plugin.price.toLocaleString('en-US') : '?'}</span>
</h6>
Expand Down
18 changes: 9 additions & 9 deletions src/pages/ja/plugins-commercial.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,40 +37,40 @@ const keywords = page.keywords_ja || page.keywords;
<div class="container">
{
data
.filter((group) => group.plugins.filter((plugin: any) => plugin.isCommercial).length > 0)
.filter((group) => group.plugins.filter((plugin: any) => plugin.commercial).length > 0)
.map((group) => (
<>
<h4 class="mt-2 pb-1 text-muted">{group.title_ja || group.title}</h4>
<div class="row pb-4">
{group.plugins
.filter((plugin: any) => plugin.isCommercial)
.filter((plugin: any) => plugin.commercial)
.map((plugin: any) => (
<div class="col-lg-4 col-md-6 col-12 pt-0 pb-4">
<div title={plugin.title_ja || plugin.title} style="color: inherit;" class="card rounded shadow border-0 plugin-card">
<div title={plugin.name_ja || plugin.title} style="color: inherit;" class="card rounded shadow border-0 plugin-card">
<div class="card-body">
<div class="mt-2 plugin-box">
<h6 class="card-title mb-1">{plugin.title_ja || plugin.title}</h6>
<h6 class="card-title mb-1">{plugin.name_ja || plugin.title}</h6>
<div class="plugin-developer text-muted mb-3">By <span>{plugin.developer || 'NocoBase'}</span></div>
<p class="text-muted mb-2 plugin-overview">{plugin.description_ja || plugin.description}
{plugin.doc_ja &&
<a href={plugin.doc_ja} target="_blank" style="font-size: 14px; ">詳細</a>
{plugin.docs_ja &&
<a href={plugin.docs_ja} target="_blank" style="font-size: 14px; ">詳細</a>
}
</p>
<div class="plugin-footer">
{plugin.isComingSoon ? (
<span class="badge bg-soft-info plugin-type">
近日公開予定
</span>
) : plugin.isCommercial ? (
) : plugin.commercial ? (
<h6 class="text-primary mb-0">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">永久使用、1年アップグレード</span><br>
<a href="/ja/plugins-bundles"> {plugin.price_point_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<a href="/ja/plugins-bundles"> {plugin.points_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted" >${plugin.price_1_year ? plugin.price_1_year.toLocaleString('en-US') : '?'}</span>
</h6>
<h6 class="text-muted mb-0" style="margin-left: auto;font-weight: normal;">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">永久使用&アップグレード</span><br>
<a class="text-muted" href="/ja/plugins-bundles"> {plugin.price_point} <i class="uil uil-moon-eclipse me-1"></i></a>
<a class="text-muted" href="/ja/plugins-bundles"> {plugin.point} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted" >${plugin.price ? plugin.price.toLocaleString('en-US') : '?'}</span>
</h6>
Expand Down
14 changes: 7 additions & 7 deletions src/pages/ja/plugins.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,31 +44,31 @@ const keywords = page.keywords_ja || page.keywords;
<div class="row pb-4">
{group.plugins.map((plugin: any) => (
<div class="col-lg-4 col-md-6 col-12 pt-0 pb-4">
<div title={plugin.title_ja || plugin.title} style="color: inherit;" class="card rounded shadow border-0 plugin-card">
<div title={plugin.name_ja || plugin.title} style="color: inherit;" class="card rounded shadow border-0 plugin-card">
<div class="card-body">
<div class="mt-2 plugin-box">
<h6 class="card-title mb-1">{plugin.title_ja || plugin.title}</h6>
<h6 class="card-title mb-1">{plugin.name_ja || plugin.title}</h6>
<div class="plugin-developer text-muted mb-3">By <span>{plugin.developer || 'NocoBase'}</span></div>
<p class="text-muted mb-2 plugin-overview">{plugin.description_ja || plugin.description}
{plugin.doc_ja &&
<a href={plugin.doc_ja} target="_blank" style="font-size: 14px; ">詳細</a>
{plugin.docs_ja &&
<a href={plugin.docs_ja} target="_blank" style="font-size: 14px; ">詳細</a>
}
</p>
<div class="plugin-footer">
{plugin.isComingSoon ? (
<span class="badge bg-soft-info plugin-type">
近日公開
</span>
) : plugin.isCommercial ? (
) : plugin.commercial ? (
<h6 class="text-primary mb-0">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">永久使用、1 年間のアップグレード</span><br>
<a href="/ja/plugins-bundles"> {plugin.price_point_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<a href="/ja/plugins-bundles"> {plugin.points_1_year} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted" >${plugin.price_1_year ? plugin.price_1_year.toLocaleString('en-US') : '?'}</span>
</h6>
<h6 class="text-muted mb-0" style="margin-left: auto;font-weight: normal;">
<span class="text-muted" style="font-weight: normal;font-style: italic;font-size: 12px;">永久使用とアップグレード</span><br>
<a class="text-muted" href="/ja/plugins-bundles"> {plugin.price_point} <i class="uil uil-moon-eclipse me-1"></i></a>
<a class="text-muted" href="/ja/plugins-bundles"> {plugin.point} <i class="uil uil-moon-eclipse me-1"></i></a>
<span class="text-muted">/</span>
<span class="text-muted" >${plugin.price ? plugin.price.toLocaleString('en-US') : '?'}</span>
</h6>
Expand Down
Loading

0 comments on commit db75816

Please sign in to comment.