Skip to content

Commit

Permalink
art 🎨 + accordion ui
Browse files Browse the repository at this point in the history
  • Loading branch information
nor0x committed Sep 8, 2024
1 parent 9015c55 commit 6635425
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions WahlGPT.Web/Pages/Home.razor
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
@foreach (var citation in _citations)
{
<div class="tab">
<input type="checkbox" name="accordion-1" id="@_sourceName">
<label for="@_sourceName" class="tab__label">
<input type="checkbox" name="accordion-1" id="[email protected]">
<label for="[email protected]" class="tab__label">
@_sourceName -
Relevanz: @citation.Relevance.ToString("P", CultureInfo.InvariantCulture)
- zuletzt aktualisiert:
Expand Down
5 changes: 5 additions & 0 deletions WahlGPT.Web/wwwroot/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ span:nth-child(3) {
.tab__label {
justify-content: space-between;
padding: 1rem;
margin-bottom: 0;
background: #666666;
color: white;
border: 1px solid;
border-radius: 0.5rem;
}

.tab__label::after {
Expand Down
Binary file modified WahlGPT.Web/wwwroot/images/icon.png
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 WahlGPT.Web/wwwroot/images/og-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions WahlGPT.Web/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
<link rel="stylesheet" href="css/app.css" />
<link rel="icon" type="image/png" href="images/icon.png" />
<meta property="og:image" content="images/og-image.jpg" />
</head>

<body>
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# WahlGPT
LLM + RAG to generate answers about the program of the parties for the 2024 Austrian legislative election.

#credits

## credits
- html5up
- openai
- qdrant
Expand Down

0 comments on commit 6635425

Please sign in to comment.