Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spicy Morenitta (Dashboard) and Web API #2462

Draft
wants to merge 10 commits into
base: cinnamon
Choose a base branch
from
Prev Previous commit
Next Next commit
Change sidebar entries to be a link instead of a div
  • Loading branch information
MrPowerGamerBR committed Nov 26, 2021

Verified

This commit was signed with the committer’s verified signature.
jpandersen87 Joseph Andersen
commit 6f712561351eeb5b30cfe1e266e7277a0c075f5e
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@ package net.perfectdreams.loritta.spicymorenitta.dashboard.components
import androidx.compose.runtime.Composable
import net.perfectdreams.loritta.spicymorenitta.dashboard.styles.AppStylesheet
import net.perfectdreams.loritta.spicymorenitta.dashboard.utils.SVGIconManager
import org.jetbrains.compose.web.dom.A
import org.jetbrains.compose.web.dom.Div
import org.jetbrains.compose.web.dom.Img
import org.jetbrains.compose.web.dom.Text

@Composable
fun SidebarEntry(name: String) {
Div(attrs = { classes(AppStylesheet.leftSidebarEntry) }) {
A(attrs = { classes(AppStylesheet.leftSidebarEntry, AppStylesheet.resetLinkStyle) }) {
UIIcon(SVGIconManager.sparkles) {
classes(AppStylesheet.leftSidebarEntryIcon)
}