Fix skills
This commit is contained in:
5
.dockerignore
Normal file
5
.dockerignore
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
target
|
||||||
|
dockerfile
|
||||||
|
.dockerignore
|
||||||
|
.git
|
||||||
|
.gitignore
|
Binary file not shown.
Before Width: | Height: | Size: 298 KiB |
@@ -87,9 +87,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="skills" class="flex flex-col items-center justify-center gap-4 p-4 rounded md:w-fit">
|
<div id="skills" class="flex flex-col items-center justify-center gap-4 p-4 rounded md:w-fit">
|
||||||
<h3 class="mt-4 mb-2 text-5xl font-bold tracking-tight">Skills 🛠️</h3>
|
<h3 class="mt-4 mb-2 text-5xl font-bold tracking-tight">Skills 🛠️</h3>
|
||||||
{% for skill in skills %} <div class="odd:motion-preset-slide-left even:motion-preset-slide-right odd:motion-delay-100">
|
<div class="flex flex-wrap items-center gap-1">
|
||||||
{{
|
{% for skill in skills %} <div
|
||||||
chip::chip(text=skill.name) }}</div>{%endfor%}
|
class="odd:motion-preset-slide-left even:motion-preset-slide-right odd:motion-delay-100">
|
||||||
|
{{ chip::chip(text=skill.name) }}
|
||||||
|
</div>
|
||||||
|
{%endfor%}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="experience" class="flex flex-col items-center justify-center gap-4 p-4 rounded md:w-fit">
|
<div id="experience" class="flex flex-col items-center justify-center gap-4 p-4 rounded md:w-fit">
|
||||||
<h3 class="mt-4 mb-2 text-5xl font-bold tracking-tight">Experience 📈</h3>
|
<h3 class="mt-4 mb-2 text-5xl font-bold tracking-tight">Experience 📈</h3>
|
||||||
@@ -139,9 +143,9 @@
|
|||||||
date(format="%d-%m-%Y") }} - {{ job.end_date | date(format="%d-%m-%Y") }}
|
date(format="%d-%m-%Y") }} - {{ job.end_date | date(format="%d-%m-%Y") }}
|
||||||
</h6>
|
</h6>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p class="flex items-center gap-1 font-bold"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
<p class="flex items-center gap-1 font-bold"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
||||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||||
class="lucide lucide-microchip">
|
stroke-linejoin="round" class="lucide lucide-microchip">
|
||||||
<path d="M18 12h2" />
|
<path d="M18 12h2" />
|
||||||
<path d="M18 16h2" />
|
<path d="M18 16h2" />
|
||||||
<path d="M18 20h2" />
|
<path d="M18 20h2" />
|
||||||
|
18
dockerfile
Normal file
18
dockerfile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
FROM rust:1.74-slim as builder
|
||||||
|
|
||||||
|
WORKDIR /usr/src/
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN cargo build --release
|
||||||
|
|
||||||
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
|
WORKDIR /usr/app
|
||||||
|
|
||||||
|
COPY --from=builder /usr/src/assets/static /usr/app/assets/static
|
||||||
|
COPY --from=builder /usr/src/assets/static/404.html /usr/app/assets/static/404.html
|
||||||
|
COPY --from=builder /usr/src/config /usr/app/config
|
||||||
|
COPY --from=builder /usr/src/target/release/gabrielkaszewski_rs-cli /usr/app/gabrielkaszewski_rs-cli
|
||||||
|
|
||||||
|
ENTRYPOINT ["/usr/app/gabrielkaszewski_rs-cli"]
|
@@ -17,13 +17,13 @@ impl MigratorTrait for Migrator {
|
|||||||
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
||||||
vec![
|
vec![
|
||||||
// inject-below
|
// inject-below
|
||||||
|
Box::new(m20220101_000001_users::Migration),
|
||||||
|
Box::new(m20241029_235230_skills::Migration),
|
||||||
|
Box::new(m20241030_002154_jobs::Migration),
|
||||||
|
Box::new(m20241030_024340_projects::Migration),
|
||||||
|
Box::new(m20241030_024830_data::Migration),
|
||||||
Box::new(m20241110_011041_add_is_highlighted_to_project::Migration),
|
Box::new(m20241110_011041_add_is_highlighted_to_project::Migration),
|
||||||
Box::new(m20241106_005545_project_thumbnails::Migration),
|
Box::new(m20241106_005545_project_thumbnails::Migration),
|
||||||
Box::new(m20241030_024830_data::Migration),
|
|
||||||
Box::new(m20241030_024340_projects::Migration),
|
|
||||||
Box::new(m20241030_002154_jobs::Migration),
|
|
||||||
Box::new(m20241029_235230_skills::Migration),
|
|
||||||
Box::new(m20220101_000001_users::Migration),
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user