-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from husni-zuhdi/feat-add-talks-page
Feat add talks page
- Loading branch information
Showing
11 changed files
with
66 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[package] | ||
name = "cmd" | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
internal = { path = "../internal", version = "0.2.0"} | ||
internal = { path = "../internal", version = "0.2.1"} | ||
tokio = { version = "1.0", features = ["full"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "internal" | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
edition = "2021" | ||
build = "build.rs" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
use crate::handler::status::get_500_internal_server_error; | ||
use crate::model::templates::TalksTemplate; | ||
use askama::Template; | ||
use axum::response::Html; | ||
use tracing::{error, info}; | ||
|
||
/// get_talks | ||
/// Serve Talks HTML file | ||
pub async fn get_talks() -> Html<String> { | ||
let talks = TalksTemplate.render(); | ||
match talks { | ||
Ok(res) => { | ||
info!("Profile askama template rendered."); | ||
Html(res) | ||
} | ||
Err(err) => { | ||
error!("Failed to render profile.html. {}", err); | ||
get_500_internal_server_error() | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %}Talks{% endblock %} | ||
{% block description %}"Husni Naufal Zuhdi Talks"{% endblock %} | ||
|
||
{% block content %} | ||
<h1 class="mb-4 font-semibold uppercase md:justify-start">Blogs</h1> | ||
<hr> | ||
<h2 class="mb-2 hover:font-bold md:justify-start"> | ||
<p>2022-07-02 | Cloud Computing 101 at UIN Syarif Hidayatullah Jakarta.</p> | ||
</h2> | ||
<h2 class="mb-2 hover:font-bold md:justify-start"> | ||
<p>2024-03-09 | How to setup simple Kubernetes cluster with GCE at <a href="https://www.linkedin.com/company/devops-jogja" target="_blank">DevOps Jogja</a>.</p> | ||
</h2> | ||
<h2 class="mb-2 hover:font-bold md:justify-start"> | ||
<p>2024-05-24 | Explore CI/CD with Github Action part #1 at <a href="https://www.linkedin.com/company/devops-jogja" target="_blank">DevOps Jogja</a>.</p> | ||
</h2> | ||
<h2 class="mb-2 hover:font-bold md:justify-start"> | ||
<p>2024-06-07 | Explore CI/CD with Github Action part #2 at <a href="https://www.linkedin.com/company/devops-jogja" target="_blank">DevOps Jogja</a>.</p> | ||
</h2> | ||
|
||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "0.2.0", | ||
"build_date": "2024-09-19", | ||
"build_hash": "2c7ffdde74efcd069372657947f30ccf82754317" | ||
"version": "0.2.1", | ||
"build_date": "2024-12-20", | ||
"build_hash": "8d58e5e0214ae3c0fc34ed20ddd83888fab0432e" | ||
} |