Switch over to WebAssembly, Rust and Yew #35

Merged
BlakeRain merged 87 commits from yew-static into main 2023-08-30 18:01:40 +00:00
3 changed files with 3 additions and 0 deletions
Showing only changes of commit 25cb76d4c6 - Show all commits

View File

@ -71,6 +71,7 @@ features = [
"LucideCheck", "LucideCheck",
"LucideCheckCircle", "LucideCheckCircle",
"LucideFlame", "LucideFlame",
"LucideLink",
"LucideList", "LucideList",
"LucideMenu", "LucideMenu",
"LucidePencil", "LucidePencil",

View File

@ -106,6 +106,7 @@ pub enum RenderIcon {
Flame, Flame,
Info, Info,
Lightning, Lightning,
Link,
List, List,
Note, Note,
Question, Question,

View File

@ -12,6 +12,7 @@ fn icon_id_for_icon(icon: RenderIcon) -> IconId {
RenderIcon::Flame => IconId::LucideFlame, RenderIcon::Flame => IconId::LucideFlame,
RenderIcon::Info => IconId::HeroiconsSolidInformationCircle, RenderIcon::Info => IconId::HeroiconsSolidInformationCircle,
RenderIcon::Lightning => IconId::BootstrapLightningChargeFill, RenderIcon::Lightning => IconId::BootstrapLightningChargeFill,
RenderIcon::Link => IconId::LucideLink,
RenderIcon::List => IconId::LucideList, RenderIcon::List => IconId::LucideList,
RenderIcon::Note => IconId::LucidePencil, RenderIcon::Note => IconId::LucidePencil,
RenderIcon::Question => IconId::HeroiconsSolidQuestionMarkCircle, RenderIcon::Question => IconId::HeroiconsSolidQuestionMarkCircle,