Skip to content

Commit

Permalink
chore: CI was missing script
Browse files Browse the repository at this point in the history
  • Loading branch information
LichtHund committed Jun 25, 2024
1 parent 5bbd70b commit ea2d86c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:

# Back into Gradle territory

- name: Kotlin JS
run: ./gradlew jsBrowserDistribution

- name: Build backend
run: ./gradlew backend:assemble

Expand Down
10 changes: 5 additions & 5 deletions backend/src/main/kotlin/website/pages/home/HomePage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,18 @@ private fun FlowContent.centerArea() {
div {
classes = setOf("col-span-1", "py-10", "grid", "grid-cols-2", "gap-10")

socialButton(BorderDirection.LEFT, "fa-github")
socialButton(BorderDirection.RIGHT, "fa-discord")
socialButton(BorderDirection.LEFT, "fa-github", "https://github.com/TriumphTeam")
socialButton(BorderDirection.RIGHT, "fa-discord", "/discord")
}
}
}

private fun FlowContent.socialButton(direction: BorderDirection, icon: String) {
private fun FlowContent.socialButton(direction: BorderDirection, icon: String, link: String) {
a {

classes = setOf("z-10")

href = "#"
href = link

div {
classes = setOf(
Expand Down Expand Up @@ -243,7 +243,7 @@ private fun FlowContent.projectCard(project: ProjectDisplay) {
classes = setOf("flex justify-center")

div {
style = "background-color: ${project.color};"
style = "background-color: ${project.color};"
classes =
setOf("py-1", "px-4", "rounded-md", "w-auto", "text-base", "text-lg")
+project.version
Expand Down
3 changes: 0 additions & 3 deletions docs/src/main/kotlin/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ public suspend fun main(args: Array<String>) {
logger.info("Paring complete!")
logger.info("Uploading..")

println(JsonSerializer.encode<Repository>(repo))

return
val client = HttpClient(CIO) {
install(Resources)
install(ContentNegotiation) {
Expand Down
16 changes: 16 additions & 0 deletions docs/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="info">
<AppenderRef ref="Console"/>
</Root>
<Logger name="org.eclipse.jetty" level="INFO"/>
<Logger name="io.netty" level="INFO"/>
<Logger name="ktor.application" level="DEBUG" />
</Loggers>
</Configuration>

0 comments on commit ea2d86c

Please sign in to comment.