diff --git a/backend/db/4_skills.sql b/backend/db/4_skills.sql index c3ac317..6d9c8ca 100644 --- a/backend/db/4_skills.sql +++ b/backend/db/4_skills.sql @@ -8,5 +8,6 @@ CREATE TABLE public.skills ( softskills text NULL, interests text NULL, lang_id serial4 NOT NULL, + title test NULL, CONSTRAINT skills_languages_fk FOREIGN KEY (lang_id) REFERENCES public.languages(id) ); \ No newline at end of file diff --git a/backend/src/db.rs b/backend/src/db.rs index 03edaf7..2a505a6 100644 --- a/backend/src/db.rs +++ b/backend/src/db.rs @@ -13,6 +13,7 @@ pub struct Info { pub email: Option, pub birth_year: Option, pub profile_pic: Option, + pub title: Option, pub softskills: Option, pub interests: Option } diff --git a/backend/src/main.rs b/backend/src/main.rs index a4a3c0c..a6b0277 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -80,6 +80,7 @@ async fn info(Path(lang_id): Path, State(pool): State) -> Jsonp { + font-weight: 600; + font-size: 1rem; + font-family: 'Urbanist', sans-serif; + margin-right: 0.5rem; + } + + .footer-github>img { + filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(19deg) brightness(116%) contrast(113%); + margin-right: 1rem; + } + .end { padding-bottom: 5rem; } @@ -141,9 +153,8 @@ color: var(--color-background); background-color: var(--color-special); margin-top: 0; - padding-top: 1.5rem; + padding: 1.5rem; margin-bottom: 0; - padding-bottom: 1.5rem; box-shadow: rgba(0, 14, 83, 0.12) 0px 30px 25px, rgba(0, 14, 83, 0.05) 0px 5px 10px; } @@ -172,8 +183,8 @@ justify-content: center; align-items: center; flex-direction: column; - margin-left: 2rem; - margin-right: 2rem; + margin-left: 1.5rem; + margin-right: 1.5rem; } .footer-text p { @@ -184,6 +195,21 @@ margin: 0.5rem; } + .footer-btn>p { + font-weight: 600; + font-size: 0.8rem; + font-family: 'Urbanist', sans-serif; + } + + .footer-github>img { + filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(19deg) brightness(116%) contrast(113%); + margin-right: 0.5rem; + } + + .footer-btn>span { + margin-left: 0.5rem; + } + .subsection { margin-left: 5vw; display: flex; @@ -224,13 +250,6 @@ h2 { flex-direction: column; } -.footer-btn>p { - font-weight: 600; - font-size: 1rem; - font-family: 'Urbanist', sans-serif; - margin-right: 0.5rem; -} - .footer-btn { display: flex; border-radius: 0.4rem; @@ -248,11 +267,6 @@ h2 { text-decoration: none; } -.footer-github>img { - filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(19deg) brightness(116%) contrast(113%); - margin-right: 1rem; -} - .footer-text svg { margin: 0; } diff --git a/frontend/src/routes/lang=[lang]/+page.svelte b/frontend/src/routes/lang=[lang]/+page.svelte index 4e74930..bac6133 100644 --- a/frontend/src/routes/lang=[lang]/+page.svelte +++ b/frontend/src/routes/lang=[lang]/+page.svelte @@ -118,7 +118,7 @@ {#if innerWidth >= 1000}

{cv.info.full_name}

{/if} -

Apprentice Engineer Automatic/Electronic

+

{cv.info.title}