-
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.
- Loading branch information
Showing
5 changed files
with
41 additions
and
5 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 |
---|---|---|
|
@@ -7,4 +7,5 @@ pub mod header; | |
pub mod icon_badges; | ||
pub mod project; | ||
pub mod quotes; | ||
pub mod tags; | ||
pub mod typewriter; |
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,25 @@ | ||
use yew::prelude::*; | ||
|
||
use stylist::yew::styled_component; | ||
|
||
use crate::components::typewriter::Typewriter; | ||
use rand::seq::SliceRandom; | ||
|
||
#[derive(Debug, PartialEq, Properties)] | ||
pub struct TagsProps { | ||
pub file_content: String, | ||
} | ||
|
||
#[styled_component] | ||
pub fn Tags(tags: &TagsProps) -> Html { | ||
let mut document = serde_yaml::from_str::<Vec<String>>(&tags.file_content) | ||
.unwrap() | ||
.iter() | ||
.map(|tag| tag.to_string()) | ||
.collect::<Vec<String>>(); | ||
document.shuffle(&mut rand::thread_rng()); | ||
|
||
html! { | ||
<Typewriter texts={Vec::from(document)} class="text-wrap text-clip overflow-hidden max-w-full text-3xl font-black italic text-center" /> | ||
} | ||
} |
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,5 @@ | ||
- Datengetriebene Optimierung mittels Machine Learning | ||
- Problemorientierte Optimierung mittels Operations Research und mathematischer Optimierung | ||
- Webseitenentwicklung | ||
- Softwarelösungen | ||
- Datenanalyse und prädiktive Modellierung |
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,5 @@ | ||
- Data-Driven Optimization using Machine Learning | ||
- Problem-Oriented Optimization using Operations Research & Mathematical Optimization | ||
- Website Development | ||
- Software Solutions | ||
- Data Analysis & Predictive Modeling |
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