fix more
This commit is contained in:
@@ -6,12 +6,12 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
# Add local FTXUI directory
|
# Add local FTXUI directory
|
||||||
add_subdirectory(ftxui)
|
add_subdirectory(external/ftxui)
|
||||||
|
|
||||||
# Add your source files (adjust paths if needed)
|
# Add your source files (adjust paths if needed)
|
||||||
add_executable(portfolio
|
add_executable(portfolio
|
||||||
main.cpp
|
src/main.cpp
|
||||||
content.cpp
|
src/content.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
# Link with FTXUI
|
# Link with FTXUI
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
using namespace ftxui;
|
using namespace ftxui;
|
||||||
|
|
||||||
// Hacker-style reusable styles
|
// 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_border_style = border | color(Color::Green);
|
||||||
const auto hacker_link_style = color(Color::LightGreen) | underlined;
|
const auto hacker_link_style = color(Color::LightGreen) | underlined;
|
||||||
const auto hacker_button_style = color(Color::Green) | bold;
|
const auto hacker_button_style = color(Color::Green) | bold;
|
||||||
@@ -51,7 +51,7 @@ Component MakeProjectsPage() {
|
|||||||
Component card = Renderer([p]() -> Element {
|
Component card = Renderer([p]() -> Element {
|
||||||
return vbox({
|
return vbox({
|
||||||
text(p.first) | color(Color::LightGreen) | bold,
|
text(p.first) | color(Color::LightGreen) | bold,
|
||||||
paragraph(p.second) | hacker_text_style | dim,
|
paragraph(p.second) | hacker_text_style,
|
||||||
}) | hacker_border_style;
|
}) | hacker_border_style;
|
||||||
});
|
});
|
||||||
container->Add(card);
|
container->Add(card);
|
||||||
@@ -79,7 +79,7 @@ Component MakeEducationPage() {
|
|||||||
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("• Calculus III (via Collin College)") | hacker_text_style,
|
text("• Differential Equations (via Collin College)") | hacker_text_style,
|
||||||
}) | hacker_border_style,
|
}) | hacker_border_style,
|
||||||
}) | flex;
|
}) | flex;
|
||||||
});
|
});
|
||||||
@@ -89,12 +89,14 @@ 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 (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)",
|
||||||
|
"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; coached and led events"},
|
||||||
{"🎶 Indian Film Music Performer",
|
{"🎶 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({});
|
Component container = Container::Vertical({});
|
||||||
@@ -102,7 +104,7 @@ Component MakeWorkPage() {
|
|||||||
Component card = Renderer([a]() -> Element {
|
Component card = Renderer([a]() -> Element {
|
||||||
return vbox({
|
return vbox({
|
||||||
text(a.first) | color(Color::LightGreen) | bold,
|
text(a.first) | color(Color::LightGreen) | bold,
|
||||||
text(a.second) | hacker_text_style | dim,
|
text(a.second) | hacker_text_style,
|
||||||
}) | hacker_border_style;
|
}) | hacker_border_style;
|
||||||
});
|
});
|
||||||
container->Add(card);
|
container->Add(card);
|
||||||
@@ -128,7 +130,7 @@ Component MakeAwardsPage() {
|
|||||||
Component card = Renderer([a]() -> Element {
|
Component card = Renderer([a]() -> Element {
|
||||||
return vbox({
|
return vbox({
|
||||||
text(a.first) | color(Color::LightGreen) | bold,
|
text(a.first) | color(Color::LightGreen) | bold,
|
||||||
paragraph(a.second) | hacker_text_style | dim,
|
paragraph(a.second) | hacker_text_style,
|
||||||
}) | hacker_border_style;
|
}) | hacker_border_style;
|
||||||
});
|
});
|
||||||
container->Add(card);
|
container->Add(card);
|
||||||
@@ -142,22 +144,25 @@ Component MakeAwardsPage() {
|
|||||||
Component MakeSkillsPage() {
|
Component MakeSkillsPage() {
|
||||||
const std::string skills =
|
const std::string skills =
|
||||||
"💻 Programming Languages:\n"
|
"💻 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"
|
"🧠 Applications:\n"
|
||||||
" Machine Learning, Signal Processing, TensorFlow, Computer Vision\n\n"
|
" Machine Learning, Signal Processing, TensorFlow, Computer Vision\n\n"
|
||||||
"⚙️ Miscellaneous:\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 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: keshavanandofficial@gmail.com\n"
|
||||||
"🔗 LinkedIn: linkedin.com/in/keshavganand\n"
|
"🔗 LinkedIn: linkedin.com/in/keshavganand\n"
|
||||||
"💻 GitHub: github.com/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: November 2025";
|
||||||
|
|||||||
Reference in New Issue
Block a user