commit 22e073f55864d408cee556cccc2f8045cb64f782 Author: mertbakir <2335694-mertbakir@users.noreply.gitlab.com> Date: Tue Sep 1 01:03:58 2020 +0300 Initial Commit. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9be0b41 --- /dev/null +++ b/.gitignore @@ -0,0 +1,43 @@ +# Hugo default output directory +/public +/resources + +# Test files +node_modules +npm-debug.log + +# Temporary files +tmp + +# Visual Studio +.vs + +# Adobe files +*.ai +*.psd +*.indd +*.indb + +# Compressed files +*.zip +*.gz +*.tar +*.7z + +# Folder view configuration files +.DS_Store +Desktop.ini + +# Thumbnail cache files +._* +Thumbs.db + +# Sass +.sass-cache + +# Files that might appear on external disks +.Spotlight-V100 +.Trashes + +# Local +/_local \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a22ef4d --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2020 MERT BAKIR + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ba10cf --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# To Do: + +1. ~~Write proper README.~~ +2. Projects Section +3. Papers Section + +# Features + +* Simple, easy to use, single page, A4-sized Resume generator. +* Print friendly, just use your browser or save as PDF. +* Write your resume in yaml. All content stored in data files. +* Configure sections from ```config.toml```. + +# How To Use + +## Download + +1. Create a hugo project. +2. Go to themes folder. +3. Clone this theme. + +``` +cd themes +$ git clone https://gitlab.com/mertbakir/resume-a4.git +``` + +## Start + +1. Go to ```exampleSite``` and copy ```config.toml``` to the root directory of your hugo project. +2. Open ```config.toml``` and add your relevant information. +3. Copy ```data``` folder from ```exampleSite``` to root directory. All you need is that folder. +4. Create your resume in yaml files. + +## Notes + +* Enable/Disable Sections in ```config.toml``` +* Set avatar link in ```config.toml```, keep your image under ```static``` folder if you want. +* Contacts, useFontAwesome, dateUpdated pparameters in the config file are used in footer only, not in the resume itself. + +# License + +This project is open-sourced and licensed under the terms of the MIT license. I would be happy though, if you give attribution. <3 \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/assets/sass/_base.scss b/assets/sass/_base.scss new file mode 100644 index 0000000..a4d76b1 --- /dev/null +++ b/assets/sass/_base.scss @@ -0,0 +1,116 @@ + +* { + margin: 0; + padding: 0; + } + + + body { + background: #FFF; + font-family: $font-1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + a { + text-decoration: none; + } + + li { + list-style-type: square; + padding-left: 0px; + list-style-position: inside; + margin: 8px 0; + } + + .resumeCanvas { + margin: 2.5rem auto; + padding: 0 0.45in 0.5in 0.45in; + width: 8.25in; + height: 11.75in; + background-color: #FFF; + -moz-box-shadow: 2px 2px 10px #aaa; + -webkit-box-shadow: 2px 2px 10px #aaa; + box-shadow: 2px 2px 10px #aaa; + box-sizing: border-box; + } + + .gridParent { + width: 100%; + height: 100%; + display: grid; + grid-template-columns: repeat(7, 1fr); + grid-template-rows: repeat(6, 1fr); + grid-column-gap: 0px; + grid-row-gap: 0px; + } + + .flex-row{ + display: flex; + flex-direction: row; + justify-content: space-between; + } + + .titleHeader { + display: flex; + flex-direction: column; + justify-content: center; + font-family: $font-1; + h1 { + font-size: 64px; + color: $heading-color; + letter-spacing: 0.15rem; + } + } + + header { + grid-area: 1 / 1 / 2 / 8; + border-bottom: $border-color 1px solid; + } + + .leftSide { + grid-area: 2 / 1 / 7 / 6; + display: flex; + flex-direction: column; + justify-content: flex-start; + border-right: $border-color 1px solid; + padding-right: 16px; + } + + .rightSide { + grid-area: 2 / 6 / 7 / 8; + display: flex; + flex-direction: column; + justify-content: flex-start; + margin-left: 8px; + + li { + list-style-type: none; + padding: 0; + } + } + + .leftSide, .rightSide { + margin-top: 12px; + font-size: 14px; + h1, h2, h3 { + line-height: 1.2; + } + h1 { + margin-bottom: 16px; + font-size: 24px; + } + h2 { + font-size: 20px; + margin-bottom: 4px; + } + h3 { + font-size: 16px; + } + p { + font-size: 14px; + margin: 8px 0; + line-height: 1.5; + text-align: justify; + } + } \ No newline at end of file diff --git a/assets/sass/_footer.scss b/assets/sass/_footer.scss new file mode 100644 index 0000000..8beb237 --- /dev/null +++ b/assets/sass/_footer.scss @@ -0,0 +1,26 @@ +footer { + width: 8.25in; + margin: 36px auto; + display: block; + text-align: center; +} + +.link-text { + font-weight: 700; +} + +footer { + a { + color: $turk; + padding: 0 4px; + &:hover { + color: white; + background-color: $turk; + transition: all 0.35s ease-out; + transition-property: all 0.35s ease-out; + -webkit-transition-property: all 0.35s ease-out; + -moz-transition-property: all 0.35s ease-out; + -o-transition-property: all 0.35s ease-out; + } + } +} \ No newline at end of file diff --git a/assets/sass/_item_styling.scss b/assets/sass/_item_styling.scss new file mode 100644 index 0000000..ef32ac2 --- /dev/null +++ b/assets/sass/_item_styling.scss @@ -0,0 +1,58 @@ +.section { + margin-bottom: 20px; + } + +.item { + margin-bottom: 14px; +} + +.section { + .item:last-child { + margin-bottom: 0px; + } +} + +.group { + .item { + margin-top: 0; + } +} + +.section-title { + border-left: solid 6px $heading-color; + padding-left: 8px; + font-family: $font-1; +} + +.job-title { + font-size: 14px; +} + +.item-title { + margin-bottom: 2px; +} + +.item-title-span { + font-weight: 400; + font-size: 14px; +} + +.item-info +{ + font-weight: 400; + font-size: 14px; +} + + +.avatar { + display: block; + margin: 1rem auto; + padding: 1rem; + object-fit: cover; + height: 140px; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + -ms-border-radius: 50%; + -o-border-radius: 50%; + border-radius: 50%; +} \ No newline at end of file diff --git a/assets/sass/_print.scss b/assets/sass/_print.scss new file mode 100644 index 0000000..52b7a15 --- /dev/null +++ b/assets/sass/_print.scss @@ -0,0 +1,23 @@ +/* Print */ + +@media print{ + @page { + size: A4; + margin:0; + } + html, body { + width: 210mm; + height: 297mm; + background: #FFF; + overflow: hidden; + margin: 0; padding:0; + } + + .resumeCanvas { + margin: 0; + width: 100%; height: 100%; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + } +} \ No newline at end of file diff --git a/assets/sass/_redundant.scss b/assets/sass/_redundant.scss new file mode 100644 index 0000000..5d9d016 --- /dev/null +++ b/assets/sass/_redundant.scss @@ -0,0 +1,22 @@ +*::-webkit-scrollbar { + width: 12px; + height: 8px; + } + + *::-webkit-scrollbar-thumb { + background-color: $toprak; + outline: 1px solid $toprak; + } + + *::-webkit-scrollbar-track { + background-color: lighten($toprak, 50%); + } + + ::selection { + background: $toprak; + color: white; + } + ::-moz-selection { + background: $toprak; + color: white; +} \ No newline at end of file diff --git a/assets/sass/main.scss b/assets/sass/main.scss new file mode 100644 index 0000000..2af490e --- /dev/null +++ b/assets/sass/main.scss @@ -0,0 +1,11 @@ +$font-1: 'PT Sans', 'IBM Plex Sans', 'Arial', sans-serif; +$border-color: #bfbfbf; +$heading-color: #202020; +$toprak: #b56b00; +$turk: #E30A17; + +@import "base"; +@import "redundant"; +@import "footer"; +@import "item_styling"; +@import "print"; \ No newline at end of file diff --git a/exampleSite/config.toml b/exampleSite/config.toml new file mode 100644 index 0000000..7632c40 --- /dev/null +++ b/exampleSite/config.toml @@ -0,0 +1,32 @@ +baseURL = "/" +languageCode = "en-us" +title = "Résumé | MERT BAKIR" +disableKinds = ["taxonomy", "term"] +theme = "resume-A4" + +[params] +dateUpdated = "01 September, 2020" +useFontAwesome = true +avatar = "avatar.jpg" + +[params.display] +experience = true +education = true +languages = true +awards = true +skills = true +skills_grouped = false +interests = true +contact = true +tagline = true +objective = true +projects = false +papers = false +avatar = true +footer = true + +[params.contacts] +linkedin = "https://www.linkedin.com/in/mertbakir/" +gitlab = "https://gitlab.com/mertbakir/resume-A4" +website = "https://mertbakir.gitlab.io/about/" +download = "" \ No newline at end of file diff --git a/exampleSite/data/education.yaml b/exampleSite/data/education.yaml new file mode 100644 index 0000000..8626c77 --- /dev/null +++ b/exampleSite/data/education.yaml @@ -0,0 +1,9 @@ +- name: "Msc. Industrial Engineering" + university: "Yildiz Technical University" + date: "2019- 2021" + gpa: "3.63 / 4.00" + +- name: "Bsc. Industrial Engineering" + university: "Gazi University" + date: "2013 - 2017" + gpa : "3.35 / 4.00" \ No newline at end of file diff --git a/exampleSite/data/experience.yaml b/exampleSite/data/experience.yaml new file mode 100644 index 0000000..168db85 --- /dev/null +++ b/exampleSite/data/experience.yaml @@ -0,0 +1,20 @@ +- name: "Monitoring Team Leader" + company: "Turkish Technic" + details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla. + Aenean nec volutpat arcu. Maecenas quis tempus risus. Curabitur condimentum ligula in erat pharetra porta. + Nam suscipit nisi a bibendum lacinia. Donec aliquet, nibh dignissim placerat efficit" + date: "2019 - Present" + +- name: "System Engineer" + company: "Turkish Technic" + date: "10.2018 - Present" + details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla. + Aenean nec volutpat arcu. Maecenas quis tempus risus. Curabitur condimentum ligula in erat pharetra porta. + Nam suscipit nisi a bibendum lacinia. Donec aliquet, nibh dignissim placerat efficit" + +- name: "Graduate Project - Intern" + company: "Turkish Aerospace Industries" + date: "11.2016 - 07.2017" + details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla. + Aenean nec volutpat arcu. Maecenas quis tempus risus. Curabitur condimentum ligula in erat pharetra porta. + Nam suscipit nisi a bibendum lacinia. Donec aliquet, nibh dignissim placerat efficit" \ No newline at end of file diff --git a/exampleSite/data/features.yaml b/exampleSite/data/features.yaml new file mode 100644 index 0000000..bfd5de6 --- /dev/null +++ b/exampleSite/data/features.yaml @@ -0,0 +1,46 @@ +skills: + - "Python - R - SQL" + - "InfluxDB/TICK Stack" + - "Grafana - PowerBI" + - "Excel - Minitab - SPSS" + - "GAMS - PuLP - OR-Tools" + - "C# - Git - Docker - NGINX" + +skillsGrouped: + - groupName: "Databases & Visualization" + skills: ["Grafana - Kibana - PowerBI", "InfluxDB - TICK Stack"] + + - groupName: "Data Analysis & Analytics" + skills: ["Python - R - SQL", "Excel - Minitab - SPSS", "GAMS - PuLP - OR Tools"] + + - groupName: "Programming & Systems" + skills: ["C# - Git - Docker - NGINX", "Linux - CentOS RHEL"] + +interests: + - "Data Science" + - "AI Applications" + - "Optimization Problems" + +languages: + - name: "Turkish" + level: "Native" + + - name: "English" + level: "Professional" + certificates: ["YDS: 86.25 - 2018", "TOEFL: 109 - 2021"] + + +awards: + - name: "Tübitak - Graduation Project" + date: "2017" + details: "A Decision Support System for 3D Cutting Problem" + + +about: + - name: "MERT BAKIR" + tagline: "Industrial Engineer" + phone: "5070*4****" + email: "yourmail@yourdomain" + details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla. + Aenean nec volutpat arcu. Maecenas quis tempus risus. Curabitur condimentum ligula in erat pharetra porta. + Nam suscipit nisi a bibendum lacinia." \ No newline at end of file diff --git a/images/one-page-resume.png b/images/one-page-resume.png new file mode 100644 index 0000000..d0950d8 Binary files /dev/null and b/images/one-page-resume.png differ diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..cbaeaad Binary files /dev/null and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png new file mode 100644 index 0000000..d984dd7 Binary files /dev/null and b/images/tn.png differ diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..0be6907 --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,71 @@ + + + + + + + + {{ $style := resources.Get "sass/main.scss" | toCSS | minify | fingerprint }} + + + {{ if .Site.Params.useFontAwesome }} + + {{ end }} + {{ .Site.Title }} + + + +
+
+
{{ partial "header" . }}
+ +
+ {{ if .Site.Params.display.objective }} + {{ partial "objective" . }} + {{ end }} + + {{ if .Site.Params.display.experience }} + {{ partial "experience" . }} + {{ end }} + + {{ if .Site.Params.display.projects }} + {{ partial "projects" . }} + {{ end }} + + {{ if .Site.Params.display.papers }} + {{ partial "papers" . }} + {{ end }} + +
+ +
+ {{ if .Site.Params.display.education }} + {{ partial "education" . }} + {{ end }} + + {{ if .Site.Params.display.languages }} + {{ partial "languages" . }} + {{ end }} + + {{ if .Site.Params.display.awards }} + {{ partial "awards" . }} + {{ end }} + + {{ if .Site.Params.display.skills }} + {{ partial "skills" . }} + {{ end }} + + {{ if .Site.Params.display.skills_grouped }} + {{ partial "skills_grouped" . }} + {{ end }} + + {{ if .Site.Params.display.interests }} + {{ partial "interests" . }} + {{ end }} +
+
+ {{ if .Site.Params.display.footer }} + + {{ end }} + + \ No newline at end of file diff --git a/layouts/partials/awards.html b/layouts/partials/awards.html new file mode 100644 index 0000000..75c2732 --- /dev/null +++ b/layouts/partials/awards.html @@ -0,0 +1,9 @@ +
+

Awards

+ {{ range .Site.Data.features.awards }} +
+

{{ .name }}

+ {{ .details | markdownify }} - {{ .date }} +
+ {{ end }} +
\ No newline at end of file diff --git a/layouts/partials/education.html b/layouts/partials/education.html new file mode 100644 index 0000000..681e666 --- /dev/null +++ b/layouts/partials/education.html @@ -0,0 +1,10 @@ +
+

Education

+ {{ range .Site.Data.education }} +
+

{{ .name }}

+ {{ .university }}
+ {{ .date }} | GPA: {{ .gpa }} +
+ {{ end }} +
\ No newline at end of file diff --git a/layouts/partials/experience.html b/layouts/partials/experience.html new file mode 100644 index 0000000..b1068e8 --- /dev/null +++ b/layouts/partials/experience.html @@ -0,0 +1,25 @@ +
+

Experience

+ {{ $companies := slice }} + {{ range .Site.Data.experience }} + {{ $companies = $companies | append .company }} +{{ end }} + +{{ $companies = uniq $companies }} + +{{ range $companies }} + {{ $company := . }} + +
+

{{ $company }}

+ {{ range where $.Site.Data.experience "company" $company }} +
+
+ {{ .name }} + {{ .date }}
+

{{ .details | markdownify }}

+
+ {{ end }} +
+{{ end }} +
\ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..d38d7a6 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,6 @@ +Last updated on {{ .Site.Params.dateUpdated }}
+This page is print friendly, you can print via your browser or Download +
+Contact me on Linkedin +| See, this project at GitLab +| Checkout my Website \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..2e96a53 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,10 @@ +
+ {{ range .Site.Data.features.about }} +

{{ .name }}

+ {{ if $.Site.Params.display.tagline }}

{{ .tagline }}

{{end}} + {{ if $.Site.Params.display.contact }}{{ .phone }} | {{ .email }}{{ end }} + {{ end }} +
+{{ if .Site.Params.display.avatar }} +
+{{ end }} \ No newline at end of file diff --git a/layouts/partials/interests.html b/layouts/partials/interests.html new file mode 100644 index 0000000..4f4b44c --- /dev/null +++ b/layouts/partials/interests.html @@ -0,0 +1,8 @@ +
+

Interests

+
+ {{ range .Site.Data.features.interests }} +
  • {{.}}
  • + {{ end }} +
    +
    \ No newline at end of file diff --git a/layouts/partials/languages.html b/layouts/partials/languages.html new file mode 100644 index 0000000..3cc4951 --- /dev/null +++ b/layouts/partials/languages.html @@ -0,0 +1,12 @@ +
    +

    Languages

    + {{ range .Site.Data.features.languages }} +
    +

    {{ .name }} + - {{ .level }}

    + {{ range .certificates }} +
  • {{.}}
  • + {{ end }} +
    + {{ end }} +
    \ No newline at end of file diff --git a/layouts/partials/objective.html b/layouts/partials/objective.html new file mode 100644 index 0000000..cc02a0a --- /dev/null +++ b/layouts/partials/objective.html @@ -0,0 +1,8 @@ +
    +

    Objective

    +

    + {{ range .Site.Data.features.about }} + {{ .details }} + {{ end }} +

    +
    \ No newline at end of file diff --git a/layouts/partials/skills.html b/layouts/partials/skills.html new file mode 100644 index 0000000..0321b99 --- /dev/null +++ b/layouts/partials/skills.html @@ -0,0 +1,8 @@ +
    +

    Skills

    +
    + {{ range .Site.Data.features.skills }} +
  • {{.}}
  • + {{ end }} +
    +
    \ No newline at end of file diff --git a/layouts/partials/skills_grouped.html b/layouts/partials/skills_grouped.html new file mode 100644 index 0000000..e33c719 --- /dev/null +++ b/layouts/partials/skills_grouped.html @@ -0,0 +1,11 @@ +
    +

    Skills

    + {{ range .Site.Data.features.skillsGrouped }} +
    +

    {{ .groupName }}

    + {{ range .skills }} +
  • {{.}}
  • + {{ end }} +
    + {{ end }} +
    \ No newline at end of file diff --git a/layouts/partials/wip/papers.html b/layouts/partials/wip/papers.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/wip/projects.html b/layouts/partials/wip/projects.html new file mode 100644 index 0000000..e69de29 diff --git a/static/Resume_MERT BAKIR.pdf b/static/Resume_MERT BAKIR.pdf new file mode 100644 index 0000000..c94527d Binary files /dev/null and b/static/Resume_MERT BAKIR.pdf differ diff --git a/static/avatar.jpg b/static/avatar.jpg new file mode 100644 index 0000000..00f6159 Binary files /dev/null and b/static/avatar.jpg differ diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..5bfa7cd --- /dev/null +++ b/theme.toml @@ -0,0 +1,15 @@ +# theme.toml template for a Hugo theme +# See https://github.com/gohugoio/hugoThemes#themetoml for an example + +name = "Resume A4" +license = "MIT" +licenselink = "https://gitlab.com/mertbakir/resume-A4/LICENSE" +description = " Write your resume in yaml. Simple, easy to use, single page, A4-sized Resume generator." +homepage = "https://gitlab.com/mertbakir/resume-A4" +tags = ["resume", "single page", "simple"] +features = [] +min_version = "0.41.0" + +[author] + name = "MERT BAKIR" + homepage = "https://mertbakir.gitlab.io" \ No newline at end of file