Compare commits

..

2 Commits

Author SHA1 Message Date
e2452b4a8e fixed syntax 2026-01-22 18:51:14 -06:00
63608cd52b updated for Jan 2026-01-22 16:16:26 -06:00

View File

@@ -19,161 +19,173 @@ const auto hacker_button_active_style = color(Color::LightGreen) | bold;
// Pages // Pages
// ------------------ // ------------------
Component MakeAboutPage() { Component MakeAboutPage()
return Renderer([]() -> Element { {
return vbox({ return Renderer([]() -> Element
vbox({ { return vbox({
text("Keshav Anand") | color(Color::LightGreen) | bold | center, vbox({
text("Student Researcher | ML + Robotics Developer | CS + Math Enthusiast") | hacker_text_style | center, text("Keshav Anand") | color(Color::LightGreen) | bold | center,
}) | hacker_border_style, text("Student Researcher | ML + Robotics Developer | CS Enthusiast") | hacker_text_style | center,
}) | hacker_border_style,
}) | flex; }) |
}); flex; });
} }
Component MakeProjectsPage() { Component MakeProjectsPage()
{
const std::vector<std::pair<std::string, std::string>> projects = { const std::vector<std::pair<std::string, std::string>> projects = {
{"🧠 GaitGuardian: IMU Processing for Parkinsons Disease (2024Present)", {"GaitGuardian: IMU Processing for Parkinsons Disease (2024Present)",
"Hybrid biLSTM + CNN model for Freezing of Gait prediction\n" "Python project for data processing and machine learning\n"
"Signal segmentation reduces subject dependence\n" "Hybrid biLSTM + CNN model for Freezing of Gait prediction\n"
"• State-of-the-art accuracy, end-to-end functionality"}, "• Signal filtering and preprocessing reduces subject dependence\n"
{"🔥 TEG-Powered Self-Stirring Device (20232024)", "• High accuracy, end-to-end functionality"},
"• Built thermal energy harvesting prototype for self-stirring cookware\n" {"TEG-Powered Self-Stirring Device (20232024)",
"Developed mechanical + electrical integration\n" "Built thermal energy harvesting prototype for self-stirring cookware\n"
"Won 1st at Dallas Fair, ISEF Finalist"}, "Developed mechanical + electrical integration\n"
{"🤖 FTC Technical Turbulence (23344) — Lead Software Developer (2023Present)", "• Won 1st at Dallas Fair, ISEF Finalist"},
"• Custom inverse kinematics, pathing, and Computer Vision autonomy\n" {"FTC Technical Turbulence (23344) — Lead Software Developer (2023Present)",
"Top-30 globally for software performance, FTC State Finalist"}, "Custom inverse kinematics, pathing, and Computer Vision autonomy\n"
"• Top-30 globally for software performance, FTC State Finalist"},
{"Self Hosted Server — (2025-Present)",
"• Started full-time Ubuntu Server on old Chromebook\n"
"• Hosting Git, Music, Nginx, SSH (this), Immich, SMB, Glance, Cinny"},
{"Terminal Interactive Portfolio GUI (This)",
"• C++ Application using FTXUI to create shell interactive\n"
"• Created hardened passwordless user to allow ssh access"},
}; };
Component container = Container::Vertical({}); Component container = Container::Vertical({});
for (auto& p : projects) { for (auto &p : projects)
Component card = Renderer([p]() -> Element { {
return vbox({ Component card = Renderer([p]() -> Element
text(p.first) | color(Color::LightGreen) | bold, { return vbox({
paragraph(p.second) | hacker_text_style, text(p.first) | color(Color::LightGreen) | bold,
}) | hacker_border_style; paragraph(p.second) | hacker_text_style,
}); }) |
hacker_border_style; });
container->Add(card); container->Add(card);
} }
return Renderer(container, [container]() -> Element { return Renderer(container, [container]() -> Element
return vbox(container->Render()) | vscroll_indicator | yframe | flex; { return vbox(container->Render()) | vscroll_indicator | yframe | flex; });
});
} }
Component MakeEducationPage() { Component MakeEducationPage()
return Renderer([]() -> Element { {
return vbox({ return Renderer([]() -> Element
vbox({ { return vbox({
text("🏫 Plano East Senior High School (20232027)") | color(Color::LightGreen) | bold, vbox({
text("STEM & Multidisciplinary Endorsement") | hacker_text_style, text("Plano East Senior High School (20232027)") | color(Color::LightGreen) | bold,
text("GPA: 4.73 | Rank: 1/1273 | SAT: 1550") | hacker_text_style, text("STEM & Multidisciplinary Endorsement") | hacker_text_style,
}) | hacker_border_style, text("GPA: 4.79, 4.0 Unweighted | Rank: 2/1225 | SAT: 1550 | ACT 36") | hacker_text_style,
}) | hacker_border_style,
separator(), separator(),
vbox({ vbox({
text("📚 Current Coursework:") | color(Color::LightGreen) | bold, text("Current Coursework:") | color(Color::LightGreen) | bold,
text("• AP Chemistry") | hacker_text_style, text("• AP Chemistry") | hacker_text_style,
text("• AP Physics I") | hacker_text_style, text("• AP Physics I") | hacker_text_style,
text("• Digital Electronics") | hacker_text_style, text("• Digital Electronics") | hacker_text_style,
text("• American Studies (AP US History + AP English Language)") | hacker_text_style, text("• American Studies (AP US History + AP English Language)") | hacker_text_style,
text("• Differential Equations (via Collin College)") | hacker_text_style, text("• Differential Equations (via Collin College)") | hacker_text_style,
}) | hacker_border_style, }) | hacker_border_style,
}) | flex; }) |
}); flex; });
} }
Component MakeWorkPage() { Component MakeWorkPage()
{
const std::vector<std::pair<std::string, std::string>> activities = { const std::vector<std::pair<std::string, std::string>> activities = {
{"🧪 Vice President, LASER (Science Fair Organization)", {"Vice President, LASER (School Science Fair Organization)",
"Guiding and mentoring 120+ students in research and experimentation"}, "Guiding and mentoring 120+ students in research and experimentation"},
{"🤖 Lead Software, Technical Turbulence (FTC 23344)", {"Lead Software, Technical Turbulence (FTC 23344)",
"Writing Java code for robot pathing, sensing, and control"}, "Writing Java code for robot pathing, sensing, and control"},
{"💻 Technology Officer, National Honor Society", {"Technology Officer, National Honor Society",
"Developed and maintained React-based management portal for 1000+ members"}, "Developed and maintained React-based management portal for 1000+ members"},
{"🏏 Founder & Captain, Plano East Cricket Club", {"Founder & Captain, Plano East Cricket Club",
"Established first school tapeball cricket team; coached and led events"}, "Established first school tapeball cricket team; organized matches with competing schools"},
{"🎶 Indian Film Music Performer", {"Indian Film Music Performer",
"Bass guitar, keys, and arrangement — member of High Octavez band"}, "Bass guitar, keys, and arrangement — member of High Octavez band"},
}; };
Component container = Container::Vertical({}); Component container = Container::Vertical({});
for (auto& a : activities) { for (auto &a : activities)
Component card = Renderer([a]() -> Element { {
return vbox({ Component card = Renderer([a]() -> Element
text(a.first) | color(Color::LightGreen) | bold, { return vbox({
text(a.second) | hacker_text_style, text(a.first) | color(Color::LightGreen) | bold,
}) | hacker_border_style; text(a.second) | hacker_text_style,
}); }) |
hacker_border_style; });
container->Add(card); container->Add(card);
} }
return Renderer(container, [container]() -> Element { return Renderer(container, [container]() -> Element
return vbox(container->Render()) | vscroll_indicator | yframe | flex; { return vbox(container->Render()) | vscroll_indicator | yframe | flex; });
});
} }
Component MakeAwardsPage() { Component MakeAwardsPage()
{
const std::vector<std::pair<std::string, std::string>> awards = { const std::vector<std::pair<std::string, std::string>> awards = {
{"🥇 Thermoelectric Generator Research Project (2024)", {"Thermoelectric Generator Research Project (2024)",
"Dallas Fair: 1st in Engineering | USAF Recognition | USMA Best SI Units\nISEF Finalist"}, "Dallas Fair: 1st in Engineering | USAF Recognition | USMA Best SI Units\nISEF Finalist"},
{"🥈 GaitGuardian ML Research (2025)", {"GaitGuardian ML Research (2025)",
"Dallas Fair: 1st in Systems Software, Grand Prize Runner-Up\nISEF Finalist | 3rd in Robotics & Intelligent Systems"}, "Dallas Fair: 1st in Systems Software, Grand Prize Runner-Up\nISEF Finalist | 3rd in Robotics & Intelligent Systems"},
{"🏅 National Speech & Debate (2025)", {"National Speech & Debate (2025)",
"Impromptu Quarterfinalist at District and State Level"}, "Impromptu Quarterfinalist at National and State Level"},
{"FTC Robotics — Technical Turbulence",
"2024 TX State Finalist, Area Innovate Award Winner\n2025 NTX Area Finalist Captain, Michiana Control Award (SW)"},
}; };
Component container = Container::Vertical({}); Component container = Container::Vertical({});
for (auto& a : awards) { for (auto &a : awards)
Component card = Renderer([a]() -> Element { {
return vbox({ Component card = Renderer([a]() -> Element
text(a.first) | color(Color::LightGreen) | bold, { return vbox({
paragraph(a.second) | hacker_text_style, text(a.first) | color(Color::LightGreen) | bold,
}) | hacker_border_style; paragraph(a.second) | hacker_text_style,
}); }) |
hacker_border_style; });
container->Add(card); container->Add(card);
} }
return Renderer(container, [container]() -> Element { return Renderer(container, [container]() -> Element
return vbox(container->Render()) | vscroll_indicator | yframe | flex; { return vbox(container->Render()) | vscroll_indicator | yframe | flex; });
});
} }
Component MakeSkillsPage() { Component MakeSkillsPage()
{
const std::string skills = const std::string skills =
"💻 Programming Languages:\n" "Programming Languages:\n"
" Java, Python, C++ (Arduino), Kotlin (FTC), limited HTML/CSS/JS\n\n" " Java, Python, C++, Kotlin (FTC), Rust (WIP), limited HTML/CSS/JS\n\n"
"🧠 Applications:\n" "Applications:\n"
" Machine Learning, Signal Processing, TensorFlow, Computer Vision\n\n" " Machine Learning, Signal Processing, TensorFlow, Computer Vision, Sever Management\n\n"
"⚙️ Miscellaneous:\n" "Miscellaneous:\n"
" Public Speaking, CAD, LaTeX, PCB Design, Electrical Systems, Competition Math"; " Public Speaking, CAD, LaTeX, PCB Design, Electrical Systems, Competition Math";
return Renderer([skills]() -> Element { return Renderer([skills]() -> Element
return paragraph(skills) | hacker_text_style | flex; { return paragraph(skills) | hacker_text_style | flex; });
});
} }
Component MakeContactPage()
{
Component MakeContactPage() {
const std::string contact_info = const std::string contact_info =
"📫 Email: keshavanandofficial@gmail.com\n" "Email: keshavanand.dev@gmail.com\n"
"🔗 LinkedIn: linkedin.com/in/keshavganand\n" "LinkedIn: linkedin.com/in/keshavganand\n"
"💻 GitHub: git.keshavanand.net/KeshavAnandCode\n" "GitHub: git.keshavanand.net/KeshavAnandCode\n"
"🌐 Resume: resume.keshavanand.net\n" "Resume: resume.keshavanand.net\n"
"📍 DFW Metroplex, Texas\n\n" "DFW Metroplex, Texas\n\n"
"Updated: November 2025"; "Updated: January 2026";
return Renderer([contact_info]() -> Element { return Renderer([contact_info]() -> Element
return paragraph(contact_info) | hacker_text_style | flex; { return paragraph(contact_info) | hacker_text_style | flex; });
});
} }
// Constructor implementation // Constructor implementation
PortfolioApp::PortfolioApp() { PortfolioApp::PortfolioApp()
{
about_page_ = MakeAboutPage(); about_page_ = MakeAboutPage();
projects_page_ = MakeProjectsPage(); projects_page_ = MakeProjectsPage();
education_page_ = MakeEducationPage(); education_page_ = MakeEducationPage();
@@ -188,39 +200,46 @@ PortfolioApp::PortfolioApp() {
std::vector<std::string> labels = {"About", "Projects", "Education", "Activities", "Awards", "Skills", "Contact"}; std::vector<std::string> labels = {"About", "Projects", "Education", "Activities", "Awards", "Skills", "Contact"};
std::vector<Component> buttons; std::vector<Component> buttons;
for (int i = 0; i < (int)labels.size(); ++i) { for (int i = 0; i < (int)labels.size(); ++i)
Component button = Button(labels[i], [&, i] { SwitchPage(i); }) {
| (i == current_page_ ? hacker_button_active_style : hacker_button_style); Component button = Button(labels[i], [&, i]
{ SwitchPage(i); }) |
(i == current_page_ ? hacker_button_active_style : hacker_button_style);
buttons.push_back(button); buttons.push_back(button);
} }
navigation_ = Container::Vertical(buttons); navigation_ = Container::Vertical(buttons);
Component separator_component = Renderer([] { return separator(); }); Component separator_component = Renderer([]
{ return separator(); });
Add(Container::Horizontal(Components{navigation_, separator_component, pages_[current_page_]})); Add(Container::Horizontal(Components{navigation_, separator_component, pages_[current_page_]}));
} }
void PortfolioApp::SwitchPage(int index) { void PortfolioApp::SwitchPage(int index)
{
current_page_ = index; current_page_ = index;
DetachAllChildren(); DetachAllChildren();
Component separator_component = Renderer([] { return separator(); }); Component separator_component = Renderer([]
{ return separator(); });
Add(Container::Horizontal(Components{navigation_, separator_component, pages_[current_page_]})); Add(Container::Horizontal(Components{navigation_, separator_component, pages_[current_page_]}));
} }
Element PortfolioApp::Render() { Element PortfolioApp::Render()
return hbox({ {
navigation_->Render() | hacker_border_style, return hbox({navigation_->Render() | hacker_border_style,
separator(), separator(),
pages_[current_page_]->Render() | hacker_border_style | flex pages_[current_page_]->Render() | hacker_border_style | flex});
});
} }
bool PortfolioApp::OnEvent(Event event) { bool PortfolioApp::OnEvent(Event event)
if (event == Event::ArrowRight) { {
if (event == Event::ArrowRight)
{
SwitchPage((current_page_ + 1) % pages_.size()); SwitchPage((current_page_ + 1) % pages_.size());
return true; return true;
} }
if (event == Event::ArrowLeft) { if (event == Event::ArrowLeft)
{
SwitchPage((current_page_ - 1 + pages_.size()) % pages_.size()); SwitchPage((current_page_ - 1 + pages_.size()) % pages_.size());
return true; return true;
} }