Added personal picture and added Author component
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -80,7 +80,7 @@ pub fn Card(prop: CardProp) -> Element {
|
||||
div {
|
||||
class: "pb-4",
|
||||
div {
|
||||
class: "flex justify-between",
|
||||
class: "justify-between",
|
||||
Picture {src: "{prop.picture}"},
|
||||
}
|
||||
}
|
||||
@@ -112,11 +112,11 @@ pub fn UnderConstruction() -> Element {
|
||||
|
||||
rsx! {
|
||||
div {
|
||||
class:"rounded flex justify-between w-full p-4 border-b border-gray-200 bg-gray-50 dark:bg-gray-700 dark:border-gray-600 my-8",
|
||||
class:"rounded justify-between w-full p-4 border-b border-gray-200 bg-gray-50 dark:bg-gray-700 dark:border-gray-600 my-8",
|
||||
div {
|
||||
class:"flex items-center mx-auto",
|
||||
class:"items-center mx-auto",
|
||||
p {
|
||||
class:"flex items-center text-sm font-normal text-gray-500 dark:text-gray-400",
|
||||
class:"items-center text-sm font-normal text-gray-500 dark:text-gray-400",
|
||||
span { { translate!(i18, "components.under_construction") } }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user