Skip to content

Commit 1582810

Browse files
committed
update capital
1 parent 85ca67a commit 1582810

17 files changed

Lines changed: 103 additions & 67 deletions

File tree

_data/navigation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ main:
33
url: /#home
44
- title: "Profession"
55
url: /#research
6-
- title: "Hobbies"
7-
url: /#hobbies
6+
- title: "Pursuits"
7+
url: /#pursuits
88

99
index:
1010

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ taste:
5959
url: "https://www.instagram.com/p/DNuXJq0Wt9F/"
6060
title: "The Ultimate Steak Sandwich"
6161
tags: [steak, sandwich, gordon ramsay]
62-
- type: blog
63-
url: "/posts/perfect-steak-philosophy/"
64-
title: "The Philosophy of a Perfect Steak"
65-
excerpt: "A deep dive into searing techniques, resting times, and the science of the Maillard reaction for the ultimate steak."
66-
tags: [steak, technique, cooking, ramsay]
62+
# - type: blog
63+
# url: "/posts/perfect-steak-philosophy/"
64+
# title: "The Philosophy of a Perfect Steak"
65+
# excerpt: "A deep dive into searing techniques, resting times, and the science of the Maillard reaction for the ultimate steak."
66+
# tags: [steak, technique, cooking, ramsay]
6767

6868
# ----------------------------------------------------
6969
# 2. ATHLETICS
@@ -149,35 +149,37 @@ stories:
149149
url: "https://www.instagram.com/p/DNv20niXKeC/?utm_source=ig_web_copy_link&igsh=MzRlODBiNWFlZA=="
150150
title: "안심하세요, 평범한 산적입니다"
151151
tags: [무협, 또라이, 산적]
152-
- topic_title: "Manga"
153-
topic_id: "manga"
152+
- topic_title: "Comics"
153+
topic_id: "comics"
154154
groups:
155-
- group_title: "Shōnen"
155+
- group_title: "Manga"
156156
logs: []
157-
- group_title: "Slice of Life"
157+
- group_title: "Manwha"
158158
logs: []
159159

160160
# ----------------------------------------------------
161-
# 4. INVESTMENT
161+
# 4. CAPITAL
162162
# ----------------------------------------------------
163163

164-
investment:
165-
title: "Investment"
166-
emoji: "📈"
167-
excerpt: "Exploring markets with curiosity and discipline, recording lessons from stocks, real estate, and beyond."
168-
instagram_url: "INSTAGRAM_INVESTMENT_URL_HERE"
164+
capital:
165+
title: "Capital"
166+
emoji: "💰"
167+
excerpt: "In a world of constant flux, I focus on the long game. This is a record of building resilient wealth through a disciplined, low-risk approach, connecting economic theory with real-world practice."
169168
sub_topics:
170-
- topic_title: "Stocks"
171-
topic_id: "stocks"
169+
- topic_title: "Economics"
170+
topic_id: "economics"
172171
groups:
173-
- group_title: "Portfolio Updates"
172+
- group_title: "Reading List"
173+
logs: []
174+
- group_title: "Policy & Global Affairs"
174175
logs: []
175-
- group_title: "Market Analysis"
176-
logs: []
177-
- topic_title: "Real Estate"
178-
topic_id: "real_estate"
176+
177+
- topic_title: "Investment"
178+
topic_id: "investment"
179179
groups:
180-
- group_title: "Property Acquisitions"
180+
- group_title: "Stock"
181+
logs: []
182+
- group_title: "Real Estate"
181183
logs: []
182-
- group_title: "Market Trends"
184+
- group_title: "Venture"
183185
logs: []

_layouts/about-page.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@
119119
<a href="/assets/jhha_cv.pdf" class="btn">
120120
<i class="fa-solid fa-file"></i> <span>CV</span>
121121
</a>
122-
<a href="/#hobbies" class="btn">
123-
<i class="fa-solid fa-face-smile"></i> <span>Hobbies</span>
122+
<a href="/#pursuits" class="btn">
123+
<i class="fa-solid fa-face-smile"></i> <span>Pursuits</span>
124124
</a>
125125
<a href="/contact/" class="btn">
126126
<i class="fa-solid fa-envelope"></i> <span>Contact</span>

_layouts/hobby-detail.html

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
---
22
layout: default
33
---
4-
{% assign hobby = site.data.hobbies[page.hobby_key] %}
4+
{% assign hobby = site.data.pursuits[page.hobby_key] %}
55

66
<div class="hobby-detail-page">
77
<header class="hobby-hero">
88
<h1 class="hobby-title">{{ hobby.emoji }} {{ hobby.title }}</h1>
99
<p class="hobby-excerpt">{{ hobby.excerpt }}</p>
10-
<a href="{{ hobby.instagram_url }}" class="insta-account-btn" target="_blank">
11-
<i class="fab fa-instagram"></i> View on Instagram
12-
</a>
10+
{% if hobby.instagram_url %}
11+
<a href="{{ hobby.instagram_url }}" class="insta-account-btn" target="_blank">
12+
<i class="fab fa-instagram"></i> View on Instagram
13+
</a>
14+
{% endif %}
1315
</header>
1416

1517
<div class="hobby-tabs">
@@ -48,15 +50,43 @@ <h2 class="sub-group-title">{{ group.group_title }}</h2>
4850

4951
<script>
5052
document.addEventListener('DOMContentLoaded', function() {
51-
// Tab Switching Logic
5253
const tabs = document.querySelectorAll('.tab-link');
5354
const tabContents = document.querySelectorAll('.tab-content');
55+
56+
// This function now reads URL Parameters instead of the hash
57+
function activateTabFromURL() {
58+
const params = new URLSearchParams(window.location.search);
59+
const tabId = params.get('tab'); // Looks for '?tab=...'
60+
if (!tabId) return;
61+
62+
const targetTab = document.querySelector(`.tab-link[data-target="${tabId}"]`);
63+
const targetContent = document.getElementById(tabId);
64+
65+
if (targetTab && targetContent) {
66+
// Deactivate the default first tab
67+
tabs.forEach(t => t.classList.remove('active'));
68+
tabContents.forEach(c => c.classList.remove('active'));
69+
70+
// Activate the target tab and content
71+
targetTab.classList.add('active');
72+
targetContent.classList.add('active');
73+
}
74+
}
5475

76+
// Run the function when the page loads
77+
activateTabFromURL();
78+
79+
// Tab Switching Logic (when a tab is clicked)
5580
tabs.forEach(tab => {
5681
tab.addEventListener('click', () => {
5782
tabs.forEach(t => t.classList.remove('active'));
5883
tab.classList.add('active');
5984
const targetId = tab.getAttribute('data-target');
85+
86+
// Also update the URL with the parameter when clicking
87+
const newUrl = window.location.pathname + `?tab=${targetId}`;
88+
history.pushState({}, '', newUrl);
89+
6090
tabContents.forEach(content => {
6191
content.classList.remove('active');
6292
if (content.id === targetId) {
@@ -66,7 +96,7 @@ <h2 class="sub-group-title">{{ group.group_title }}</h2>
6696
});
6797
});
6898

69-
// Live Search Logic
99+
// Live Search Logic (no changes needed here)
70100
const searchInputs = document.querySelectorAll('.hobby-search-input');
71101
searchInputs.forEach(input => {
72102
input.addEventListener('input', e => {
@@ -95,4 +125,4 @@ <h2 class="sub-group-title">{{ group.group_title }}</h2>
95125
});
96126
});
97127
});
98-
</script>
128+
</script>

_pages/categories/hobbies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "취미 생활"
3-
permalink: /categories/hobbies/
3+
permalink: /categories/pursuits/
44
taxonomy: 일상
55
author_profile: false
66
sidebar:

_pages/hobbies/investment.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

_pages/main/contact.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ layout: full-width
101101
<div class="icon"><i class="fab fa-instagram"></i></div>
102102
<h3>Instagram DM</h3>
103103
<p class="description">
104-
For casual conversations, or questions about my personal posts and hobbies.
104+
For casual conversations, or questions about my personal posts and pursuits.
105105
</p>
106106
<div class="address">@daily_hajae</div>
107107
</a>

_pages/main/goals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ layout: full-width
108108
</div>
109109

110110
<div class="goal-card hobby-goal-card">
111-
<p class="category">In Hobbies</p>
111+
<p class="category">In Pursuits</p>
112112
<h3>The Top-Level Amateur</h3>
113113
<ul class="hobby-list">
114114
<li class="hobby-item">Gastronomy</li>

_pages/main/hobbies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
permalink: /hobbies/
2+
permalink: /pursuits/
33
title: "Hobby Logs"
44
last_modified_at: 2025-08-22T00:00:00-00:00
55
toc: false
@@ -84,7 +84,7 @@ toc: false
8484
}
8585
</style>
8686

87-
This page serves as a structured map of my hobbies. Each section links to a dedicated Instagram account for the full visual diary, followed by curated links to specific milestones and favorite moments.
87+
This page serves as a structured map of my pursuits. Each section links to a dedicated Instagram account for the full visual diary, followed by curated links to specific milestones and favorite moments.
8888

8989
<div class="hobby-section">
9090
<div class="hobby-header">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
permalink: /hobbies/athletics/
2+
permalink: /pursuits/athletics/
33
layout: hobby-detail
44
hobby_key: athletics
55
---

0 commit comments

Comments
 (0)