From 6282a5e2c4cfa8a0b7205e4fe35edcdf0ffb801a Mon Sep 17 00:00:00 2001 From: KeshavAnandCode Date: Sun, 14 Dec 2025 00:47:49 -0600 Subject: [PATCH] fix more --- CMakeLists.txt | 6 +++--- src/content.cpp | 23 ++++++++++++++--------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e5f96f..29c76df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,12 +6,12 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) # Add local FTXUI directory -add_subdirectory(ftxui) +add_subdirectory(external/ftxui) # Add your source files (adjust paths if needed) add_executable(portfolio - main.cpp - content.cpp + src/main.cpp + src/content.cpp ) # Link with FTXUI diff --git a/src/content.cpp b/src/content.cpp index f79fd5f..0ce8986 100644 --- a/src/content.cpp +++ b/src/content.cpp @@ -9,7 +9,7 @@ using namespace ftxui; // Hacker-style reusable styles -const auto hacker_text_style = color(Color::Green) | bold | dim; +const auto hacker_text_style = color(Color::Green); const auto hacker_border_style = border | color(Color::Green); const auto hacker_link_style = color(Color::LightGreen) | underlined; const auto hacker_button_style = color(Color::Green) | bold; @@ -51,7 +51,7 @@ Component MakeProjectsPage() { Component card = Renderer([p]() -> Element { return vbox({ text(p.first) | color(Color::LightGreen) | bold, - paragraph(p.second) | hacker_text_style | dim, + paragraph(p.second) | hacker_text_style, }) | hacker_border_style; }); container->Add(card); @@ -79,7 +79,7 @@ Component MakeEducationPage() { text("• AP Physics I") | hacker_text_style, text("• Digital Electronics") | hacker_text_style, text("• American Studies (AP US History + AP English Language)") | hacker_text_style, - text("• Calculus III (via Collin College)") | hacker_text_style, + text("• Differential Equations (via Collin College)") | hacker_text_style, }) | hacker_border_style, }) | flex; }); @@ -89,12 +89,14 @@ Component MakeWorkPage() { const std::vector> activities = { {"🧪 Vice President, LASER (Science Fair Organization)", "Guiding and mentoring 120+ students in research and experimentation"}, + {"🤖 Lead Software, Technical Turbulence (FTC 23344)", + "Writing Java code for robot pathing, sensing, and control"}, {"💻 Technology Officer, National Honor Society", "Developed and maintained React-based management portal for 1000+ members"}, {"🏏 Founder & Captain, Plano East Cricket Club", "Established first school tapeball cricket team; coached and led events"}, {"🎶 Indian Film Music Performer", - "Bass guitar & keyboard player in charity concerts; arrangement and production"}, + "Bass guitar, keys, and arrangement — member of High Octavez band"}, }; Component container = Container::Vertical({}); @@ -102,7 +104,7 @@ Component MakeWorkPage() { Component card = Renderer([a]() -> Element { return vbox({ text(a.first) | color(Color::LightGreen) | bold, - text(a.second) | hacker_text_style | dim, + text(a.second) | hacker_text_style, }) | hacker_border_style; }); container->Add(card); @@ -128,7 +130,7 @@ Component MakeAwardsPage() { Component card = Renderer([a]() -> Element { return vbox({ text(a.first) | color(Color::LightGreen) | bold, - paragraph(a.second) | hacker_text_style | dim, + paragraph(a.second) | hacker_text_style, }) | hacker_border_style; }); container->Add(card); @@ -142,22 +144,25 @@ Component MakeAwardsPage() { Component MakeSkillsPage() { const std::string skills = "💻 Programming Languages:\n" - " Java, Python, Bash, C++ (Arduino), Kotlin (FTC), limited HTML/CSS/JS\n\n" + " Java, Python, C++ (Arduino), Kotlin (FTC), limited HTML/CSS/JS\n\n" "🧠 Applications:\n" " Machine Learning, Signal Processing, TensorFlow, Computer Vision\n\n" "⚙️ Miscellaneous:\n" - " Public Speaking, CAD, PCB Design, Electrical Systems, Competition Math"; + " Public Speaking, CAD, LaTeX, PCB Design, Electrical Systems, Competition Math"; return Renderer([skills]() -> Element { return paragraph(skills) | hacker_text_style | flex; }); + } + + Component MakeContactPage() { const std::string contact_info = "📫 Email: keshavanandofficial@gmail.com\n" "🔗 LinkedIn: linkedin.com/in/keshavganand\n" - "💻 GitHub: github.com/keshavanandcode\n" + "💻 GitHub: git.keshavanand.net/KeshavAnandCode\n" "🌐 Resume: resume.keshavanand.net\n" "📍 DFW Metroplex, Texas\n\n" "Updated: November 2025";