Skip to content

Commit

Permalink
Refactor resume page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Kharel committed May 8, 2024
1 parent fdb54e9 commit f003a40
Show file tree
Hide file tree
Showing 8 changed files with 242 additions and 352 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/_data/img/companylogos/innovatetech.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/_data/img/companylogos/nassec.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 9 additions & 11 deletions src/_data/skills.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ name = "fullstack Dev && DevOps"
description = "3+ years expertise in full stack development. experienced in DevOps practices for end-to-end delivery of scalable and secure applications."

[skill.ToolsTech]
languages = ["rust", "c#", "nodejs/ts", "python", "kotlin", "swift"]
databases = ["sql", "nosql"]
cloud_services = ["AWS Services"]
containers = ["docker", "Kubernetes"]
version_control = ["git/github/gitlab", "actions", "pipelines"]
api_testing = ["RESTful API", "Postman API testing"]
scripting = ["bash"]
editors = ["Vim", "vsCode"]
os = ["linux (Arch, Debian)"]
tools = ["tmux"]
security_tools = ["nmap", "nc", "metasploit", "frida", "burp"]
Languages = ["rust","nodejs/ts", "python", "kotlin", "c#", "swift"]
Databases = ["postgres", "mongodb", "redis"]
"Cloud Services" = ["AWS", "GCP", "Azure"]
Containers = ["Docker", "Kubernetes"]
"Version Control" = ["git/github/gitlab", "actions", "pipelines"]
API = ["RESTful API", "Postman", "Swagger", "API Security"]
Scripting = ["bash", "zsh", "python"]
Editors = ["Vim", "VSCode"]
OS = ["linux (Arch, Debian)"]
25 changes: 16 additions & 9 deletions src/custom_widgets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,21 @@ pub fn footer(ui: &mut egui::Ui) {

pub fn organize_items(ui: &mut egui::Ui) {
// ui.with_layout(egui::Layout::right_to_left(egui::Align::TOP), |ui| {
if ui
.add(
egui::Button::new("Tidy up")
)
.clicked()
{
ui.ctx().memory_mut(|mem| mem.reset_areas());
ui.close_menu();
}
if ui.add(egui::Button::new("Tidy up")).clicked() {
ui.ctx().memory_mut(|mem| mem.reset_areas());
ui.close_menu();
}
// });
}

pub fn separator_size(ui: &mut egui::Ui, large: bool) {
if large {
ui.add(egui::Separator::spacing(egui::Separator::default(), 20.0));
} else {
ui.add(egui::Separator::shrink(egui::Separator::default(), 50.0));
}
}

pub fn wrapped_label(ui: &mut egui::Ui, text: &str) {
ui.add(egui::Label::new(text).wrap(true));
}
2 changes: 1 addition & 1 deletion src/pages/blog.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use egui_commonmark::{CommonMarkCache, CommonMarkViewer};
use include_dir::{include_dir, Dir};

use crate::custom_widgets::{powered_by_egui_and_eframe, footer, organize_items};
use crate::custom_widgets::{powered_by_egui_and_eframe, footer};

#[derive(Debug, serde::Deserialize, serde::Serialize)]
pub struct Blogs {
Expand Down
Loading

0 comments on commit f003a40

Please sign in to comment.