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
1,428 changes: 1,338 additions & 90 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-icons": "^5.5.0",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.9.1",
"react-syntax-highlighter": "^16.1.1",
"react-tooltip": "^5.29.1",
"tsparticles": "^3.8.1"
},
Expand Down
252 changes: 252 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,57 @@ a:hover {
min-width: 0;
}

.metric-list {
display: grid;
gap: 12px;
}

.metric-list-row {
display: flex;
justify-content: space-between;
gap: 16px;
align-items: center;
color: var(--text-secondary);
border-bottom: 1px solid color-mix(in srgb, var(--input-border) 80%, transparent);
padding-bottom: 10px;
}

.metric-list-row strong {
color: var(--text-color);
font-size: 1rem;
}

.tag-cloud {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.recent-problem-list {
display: grid;
gap: 12px;
}

.recent-problem-item {
display: grid;
gap: 4px;
padding: 12px 14px;
border-radius: 16px;
background: color-mix(in srgb, var(--card-bg) 70%, transparent);
border: 1px solid color-mix(in srgb, var(--input-border) 72%, transparent);
}

.recent-problem-item strong {
color: var(--text-color);
line-height: 1.35;
}

.recent-problem-item span,
.tracker-date {
color: var(--text-secondary);
font-size: 0.9rem;
}

.empty-state.small {
margin-top: 32px;
}
Expand Down Expand Up @@ -707,6 +758,15 @@ a:hover {
width: min(560px, 86%);
margin-bottom: 28px;
}

.solution-tabs {
gap: 8px;
}

.solution-tab {
flex: 1 1 140px;
text-align: center;
}
}

.section-panel {
Expand Down Expand Up @@ -833,6 +893,76 @@ a:hover {
.glass-card h3 { margin-bottom: 10px; line-height: 1.25; }
.glass-card p, .timeline-item p { color: var(--text-secondary); line-height: 1.7; }

.codebase-card h2,
.problem-detail-card h2 {
line-height: 1.18;
}

.solution-tabs {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 18px;
}

.solution-tab {
border: 1px solid color-mix(in srgb, var(--input-border) 88%, transparent);
background: color-mix(in srgb, var(--card-bg) 82%, transparent);
color: var(--text-color);
border-radius: 999px;
padding: 10px 16px;
font-weight: 700;
cursor: pointer;
transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.solution-tab.active {
color: var(--accent-color);
border-color: color-mix(in srgb, var(--accent-color) 32%, transparent);
background: color-mix(in srgb, var(--accent-color) 12%, var(--card-bg));
}

.markdown-article {
display: grid;
gap: 16px;
}

.markdown-article h1,
.markdown-article h2,
.markdown-article h3,
.markdown-article h4 {
color: var(--text-color);
line-height: 1.2;
margin: 0;
}

.markdown-article p,
.markdown-article li {
color: var(--text-secondary);
line-height: 1.8;
}

.markdown-article ul,
.markdown-article ol {
margin: 0;
padding-left: 20px;
display: grid;
gap: 8px;
}

.markdown-article pre {
margin: 0;
}

.inline-code {
background: color-mix(in srgb, var(--card-bg) 74%, transparent);
border: 1px solid color-mix(in srgb, var(--input-border) 78%, transparent);
padding: 0.12rem 0.4rem;
border-radius: 8px;
color: var(--text-color);
font-size: 0.92em;
}

.problem-card::before,
.glass-card::before,
.problem-detail-card::before,
Expand Down Expand Up @@ -1235,6 +1365,124 @@ textarea:focus-visible {
.project-detail-hero h1 { font-size: clamp(2rem, 5vw, 4rem); margin: 16px 0; }
.project-detail-hero p { color: var(--text-secondary); line-height: 1.8; }

.solution-tabs {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 20px;
}

.solution-tab {
border: 1px solid var(--border-color);
background: rgba(255,255,255,0.06);
color: var(--text-color);
padding: 10px 16px;
border-radius: 999px;
cursor: pointer;
transition: all .25s ease;
font-weight: 600;
}

.solution-tab:hover {
transform: translateY(-2px);
}

.solution-tab.active {
background: var(--accent-color);
color: white;
border-color: var(--accent-color);
}

.markdown-article {
max-width: 100%;
}

.markdown-article h1,
.markdown-article h2,
.markdown-article h3 {
margin-top: 24px;
margin-bottom: 12px;
line-height: 1.3;
}

.markdown-article h1 {
font-size: 2rem;
}

.markdown-article h2 {
font-size: 1.5rem;
}

.markdown-article h3 {
font-size: 1.2rem;
}

.markdown-article p {
line-height: 1.8;
margin-bottom: 16px;
}

.markdown-article ul,
.markdown-article ol {
padding-left: 24px;
margin-bottom: 16px;
}

.markdown-article li {
margin-bottom: 8px;
}

.inline-code {
padding: 2px 6px;
border-radius: 6px;
background: rgba(100,100,100,0.15);
font-family: monospace;
}

.problem-copy-state {
color: #22c55e;
font-weight: 600;
}

.problem-detail-card pre {
overflow-x: auto;
}

.problem-detail-card pre::-webkit-scrollbar {
height: 8px;
}

.problem-detail-card pre::-webkit-scrollbar-thumb {
border-radius: 999px;
}

/* mobile */

@media (max-width: 768px) {
.solution-tabs {
gap: 8px;
}

.solution-tab {
flex: 1 1 calc(50% - 8px);
text-align: center;
}

.markdown-article h1 {
font-size: 1.6rem;
}

.markdown-article h2 {
font-size: 1.3rem;
}
}

@media (max-width: 430px) {
.solution-tab {
flex: 1 1 100%;
}
}

@media (max-width: 760px) {
.timeline-item,
.project-detail-hero { grid-template-columns: 1fr; }
Expand Down Expand Up @@ -1270,6 +1518,10 @@ textarea:focus-visible {
.page-header-actions {
gap: 10px;
}

.metric-list-row {
align-items: flex-start;
}
}

@media (min-width: 1800px) {
Expand Down
Loading
Loading