Skip to content

Commit

Permalink
Add language logos
Browse files Browse the repository at this point in the history
  • Loading branch information
francescoo22 committed Aug 14, 2024
1 parent 5ed9fb6 commit 6bbed79
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
21 changes: 19 additions & 2 deletions config/thesis-config.typ
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
#import "../config/constants.typ": chapter
#import "@preview/codly:1.0.0": *


#let vpr-name = stack(
dir: ltr,
image("../images/viper-logo.png", width: .9em), " Viper",
)

#let kt-name = stack(
dir: ltr,
image("../images/Kotlin.svg", width: .9em), " Kotlin",
)

#let cpp-name = stack(
dir: ltr,
image("../images/cpp-logo.svg", width: .8em), " C++",
)

#let config(
myAuthor: "Nome cognome",
myTitle: "Titolo",
Expand All @@ -26,8 +42,9 @@
codly(
enabled: true,
languages: (
kt: (name: "Kotlin", color: purple),
java: (name: "Viper", color: orange)
kt: (name: kt-name, color: purple),
java: (name: vpr-name, color: orange),
cpp: (name: cpp-name, color: blue)
)
)
it
Expand Down
22 changes: 22 additions & 0 deletions images/cpp-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/viper-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6bbed79

Please sign in to comment.