Skip to content

Staging to Prod #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
/public/sources-data.json
/public/reviewers-data.json
/public/light-transcripts.json
/public/transcripts-length.json

# misc
.DS_Store
Expand Down
7 changes: 6 additions & 1 deletion contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ const getTranscriptAliases = (allTranscripts: ContentTranscriptType[]) => {
fs.writeFileSync("./public/aliases.json", JSON.stringify(aliases));
};

const getTranscriptsLength = (transcripts: ContentTranscriptType[]) => {
fs.writeFileSync("./public/transcripts-length.json", JSON.stringify(transcripts.length));
}

const getTopics = () => {
const filePath = path.join(process.cwd(), "public", "topics.json");
const fileContents = fs.readFileSync(filePath, "utf8");
Expand Down Expand Up @@ -552,6 +556,7 @@ export default makeSource({
getTranscriptAliases(allTranscripts);
createSpeakers(allTranscripts);
generateSourcesCount(allTranscripts, allSources);
lightWeightTranscript(allTranscripts)
lightWeightTranscript(allTranscripts);
getTranscriptsLength(allTranscripts);
},
});
2 changes: 1 addition & 1 deletion public/bitcoin-transcript
Submodule bitcoin-transcript updated 67 files
+12 −0 bitcoin-core-dev-tech/2025-02/_index.md
+76 −0 bitcoin-core-dev-tech/2025-02/asmap.md
+52 −0 bitcoin-core-dev-tech/2025-02/batch-validation-checkqueue.md
+44 −0 bitcoin-core-dev-tech/2025-02/benchmarking.md
+46 −0 bitcoin-core-dev-tech/2025-02/block-validation.md
+ bitcoin-core-dev-tech/2025-02/bug-analysis-1.png
+ bitcoin-core-dev-tech/2025-02/bug-analysis-2.png
+ bitcoin-core-dev-tech/2025-02/bug-analysis-3.png
+ bitcoin-core-dev-tech/2025-02/bug-analysis-4.png
+ bitcoin-core-dev-tech/2025-02/bug-analysis-5.png
+26 −0 bitcoin-core-dev-tech/2025-02/bug-analysis.md
+43 −0 bitcoin-core-dev-tech/2025-02/bus-factor.md
+74 −0 bitcoin-core-dev-tech/2025-02/championing-projects.md
+15 −0 bitcoin-core-dev-tech/2025-02/consensus-cleanup.md
+108 −0 bitcoin-core-dev-tech/2025-02/contributor-accountability.md
+80 −0 bitcoin-core-dev-tech/2025-02/development-incentives.md
+59 −0 bitcoin-core-dev-tech/2025-02/experimental-binaries.md
+105 −0 bitcoin-core-dev-tech/2025-02/fast-ibd.md
+75 −0 bitcoin-core-dev-tech/2025-02/ibd.md
+122 −0 bitcoin-core-dev-tech/2025-02/libbitcoinkernel.md
+47 −0 bitcoin-core-dev-tech/2025-02/maintainers.md
+105 −0 bitcoin-core-dev-tech/2025-02/multiprocess.md
+151 −0 bitcoin-core-dev-tech/2025-02/networking.md
+150 −0 bitcoin-core-dev-tech/2025-02/non-development-contributions.md
+83 −0 bitcoin-core-dev-tech/2025-02/onboarding-contributors.md
+98 −0 bitcoin-core-dev-tech/2025-02/orphans.md
+45 −0 bitcoin-core-dev-tech/2025-02/picking-projects.md
+94 −0 bitcoin-core-dev-tech/2025-02/pr-review-club.md
+29 −0 bitcoin-core-dev-tech/2025-02/pr-workflow.md
+44 −0 bitcoin-core-dev-tech/2025-02/project-scope.md
+36 −0 bitcoin-core-dev-tech/2025-02/py-bitcoinkernel.md
+89 −0 bitcoin-core-dev-tech/2025-02/qml-update.md
+48 −0 bitcoin-core-dev-tech/2025-02/quantum-computing.md
+11 −0 bitcoin-core-dev-tech/2025-02/release-process.md
+ bitcoin-core-dev-tech/2025-02/sender-initiated-packages-1.png
+ bitcoin-core-dev-tech/2025-02/sender-initiated-packages-2.png
+72 −0 bitcoin-core-dev-tech/2025-02/sender-initiated-packages.md
+24 −0 bitcoin-core-dev-tech/2025-02/soft-forks.md
+40 −0 bitcoin-core-dev-tech/2025-02/software-distribution.md
+ bitcoin-core-dev-tech/2025-02/tx-relay-1.png
+ bitcoin-core-dev-tech/2025-02/tx-relay-2.png
+35 −0 bitcoin-core-dev-tech/2025-02/tx-relay.md
+29 −0 bitcoin-core-dev-tech/2025-02/wallet-chain-tracking.md
+39 −0 bitcoin-core-dev-tech/2025-02/when-to-ship.md
+6 −0 bitcoin-research-week-2024/_index.md
+69 −0 bitcoin-research-week-2024/are-we-too-late-for-privacy.md
+69 −0 bitcoin-research-week-2024/attacks-on-lightning.md
+90 −0 bitcoin-research-week-2024/ibd-utreexo-utxo-commitments.md
+37 −0 bitcoin-research-week-2024/lightning-routing-privacy.md
+70 −0 bitcoin-research-week-2024/linear-programming-approach.md
+41 −0 bitcoin-research-week-2024/list-of-upgrades-and-feasibility.md
+103 −0 bitcoin-research-week-2024/ln-simulation-workshop.md
+79 −0 bitcoin-research-week-2024/long-term-mining-incentives.md
+52 −0 bitcoin-research-week-2024/mempool-optimization.md
+108 −0 bitcoin-research-week-2024/modeling-lightning-for-simulation.md
+105 −0 bitcoin-research-week-2024/p2p-attacks.md
+163 −0 bitcoin-research-week-2024/psbt-v3.md
+88 −0 bitcoin-research-week-2024/rough-consensus.md
+93 −0 bitcoin-research-week-2024/scaling-and-functionality-improvements-for-l1.md
+106 −0 bitcoin-research-week-2024/security-assumptions-and-post-quantum.md
+57 −0 bitcoin-research-week-2024/shielded-csv-deep-dive.md
+105 −0 bitcoin-research-week-2024/silent-payments-and-payjoin.md
+35 −0 bitcoin-research-week-2024/soft-fork-proposals-analysis.md
+45 −0 bitcoin-research-week-2024/undercutting-attacks-in-bitcoin.md
+133 −0 bitcoin-research-week-2024/zk-on-bitcoin.md
+6 −0 mit-bitcoin-expo/mit-bitcoin-expo-2025/_index.md
+5 −0 mit-bitcoin-expo/mit-bitcoin-expo-2025/bitcoin-core-developer-roundtable.md
2 changes: 1 addition & 1 deletion public/gh-pages
Submodule gh-pages updated 1967 files
1 change: 1 addition & 0 deletions public/transcripts-length.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1231
3 changes: 2 additions & 1 deletion src/components/landing-page/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Image from "next/image";
import HeroImageDestop from "/public/images/hero-desktop-image.webp";
import { ArrowLinkUpRight } from "@bitcoin-dev-project/bdp-ui/icons";
import circleBackground from "/public/svgs/circle-background.svg";
import transcriptsLength from "/public/transcripts-length.json";
import circleBackgroundMobile from "/public/svgs/circle-background-mobile.svg";
import mobileDesktopImage from "/public/svgs/mobile-desktop-image.svg";
import Wrapper from "../layout/Wrapper";
Expand All @@ -23,7 +24,7 @@ const HeroSection = ({languageCode}: {languageCode: LanguageCode}) => {
{t("home.hero.title")}
</h1>
<p className='text-xl max-lg:text-lg max-md:text-base text-wrap'>
<span className='font-bold'>{t("home.hero.subtitle-1")}</span> {t("home.hero.subtitle-2")}{" "}
<span className='font-bold'> {transcriptsLength || "1024+"} {t("home.hero.subtitle-1")}</span> {t("home.hero.subtitle-2")}{" "}
<span className='whitespace-nowrap'>{t("home.hero.subtitle-3")}</span>
</p>
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/FooterComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const FooterComponent = () => {
/>
<Footer.About entityText={t("footer.built-by")} entityLink='https://bitcoindevs.xyz' entityName='Bitcoin Dev Project' />
<Footer.Public entityText={t("footer.public-dashboard")} dashboardLink='https://visits.bitcoindevs.xyz/share/7hL0ysupLrZQsKRw/btc-transcripts'/>
<Footer.Feedback entityText={t("footer.feedback.description")} entityCtaText={t("footer.feedback.cta")} feedbackLink='https://cryptpad.fr/form/#/2/form/view/3P2CsohsHOkcH7C+WdtX0-tvqjBHqXnAmz5D9yx0e04/'/>
<Footer.Feedback entityText={t("footer.feedback.description")} entityCtaText={t("footer.feedback.cta")} feedbackLink='https://forms.gle/aLtBMjAeLZiKCFxn8'/>
</Footer>
</Wrapper>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const translations = {
"home": {
"hero": {
"title": "Unlock the treasure trove of technical Bitcoin transcripts",
"subtitle-1": "1042+ transcripts",
"subtitle-1": " transcripts",
"subtitle-2": "growing every day.",
"subtitle-3": "Thanks to people like you.",
"cta": "Explore Transcripts",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/locales/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const translations = {
home: {
hero: {
title: "Descubre el tesoro de transcripciones técnicas de Bitcoin",
"subtitle-1": "1042+ transcripciones",
"subtitle-1": " transcripciones",
"subtitle-2": "creciendo cada día.",
"subtitle-3": "Gracias a personas como tú.",
cta: "Explorar Transcripciones",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/locales/pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const translations = {
"home": {
"hero": {
"title": "Desbloqueie o tesouro de transcrições técnicas sobre Bitcoin",
"subtitle-1": "Mais de 1042 transcrições",
"subtitle-1": " transcrições",
"subtitle-2": "crescendo a cada dia.",
"subtitle-3": "Graças a pessoas como você.",
"cta": "Explorar Transcrições",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const translations = {
"home": {
"hero": {
"title": "解锁技术性比特币文稿的宝藏",
"subtitle-1": "1042+ 文稿",
"subtitle-1": " 文稿",
"subtitle-2": "每日更新。",
"subtitle-3": "感谢像您这样的人。",
"cta": "探索文稿"
Expand Down
4 changes: 4 additions & 0 deletions src/types/json.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module "*.json" {
const value: number;
export default value;
}