Skip to content

Commit abc2004

Browse files
committed
feat: customize frontend
1 parent c8d2656 commit abc2004

File tree

3 files changed

+35
-14
lines changed

3 files changed

+35
-14
lines changed

app/frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Wahlomat mit GPT</title>
7+
<title>AEB Techdocs powered by GPT</title>
88
</head>
99
<body>
1010
<div id="root"></div>

app/frontend/src/locales/en/translation.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"pageTitle": "Wahlomat mit GPT",
3-
"headerTitle": "Wahlomat mit GPT",
2+
"pageTitle": "AEB Techdocs powered by GPT",
3+
"headerTitle": "AEB Techdocs powered by GPT",
44
"chat": "Chat",
55
"qa": "Ask a question",
66
"login": "Login",
@@ -37,10 +37,10 @@
3737
"chatEmptyStateTitle": "Chat with your data",
3838
"chatEmptyStateSubtitle": "Ask anything or try an example",
3939
"defaultExamples": {
40-
"1": "What is included in my Northwind Health Plus plan that is not in standard?",
41-
"2": "What happens in a performance review?",
42-
"3": "What does a Product Manager do?",
43-
"placeholder": "Type a new question (e.g. does my plan cover annual eye exams?)"
40+
"1": "How do I deploy an application to test and production environments?",
41+
"2": "What do I need to configure in my Helm Charts to enable authentication?",
42+
"3": "What is ArgoCD and GitOps?",
43+
"placeholder": "Type a new question (e.g. why does my deployment fail?)"
4444
},
4545
"askTitle": "Ask your data",
4646
"gpt4vExamples": {

app/frontend/src/pages/layout/Layout.module.css

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,28 @@
55
}
66

77
.header {
8-
background: linear-gradient(to bottom, black, #FF0000, #FFCC00);
9-
color: #f2f2f2;
8+
background: white; /* Weißer Hintergrund */
9+
color: #222; /* Textfarbe anpassen, falls nötig */
10+
position: relative; /* Damit das Pseudo-Element relativ dazu positioniert wird */
11+
padding-bottom: 5px; /* Platz für die Linie */
12+
}
13+
14+
.header::after {
15+
content: "";
16+
position: absolute;
17+
bottom: 0;
18+
left: 0;
19+
width: 100%;
20+
height: 3px; /* Dicke der Linie */
21+
background: linear-gradient(
22+
to right,
23+
hsla(345, 100%, 45%, 1) 5%,
24+
hsla(274, 43%, 37%, 1) 23%,
25+
hsla(220, 73%, 29%, 1) 41%,
26+
hsla(211, 100%, 45%, 1) 59%,
27+
hsla(88, 63%, 44%, 1) 77%,
28+
hsla(45, 100%, 49%, 1) 95%
29+
);
1030
}
1131

1232
.headerContainer {
@@ -21,7 +41,7 @@
2141
.headerTitleContainer {
2242
display: flex;
2343
align-items: center;
24-
color: #f2f2f2;
44+
color: #000000;
2545
text-decoration: none;
2646
}
2747

@@ -39,7 +59,7 @@
3959
z-index: 100;
4060
display: none;
4161
flex-direction: column;
42-
background-color: #222222;
62+
/* background-color: #222222; */
4363
position: absolute;
4464
top: 2.7rem;
4565
right: 0;
@@ -55,9 +75,9 @@
5575

5676
.headerNavPageLink {
5777
padding: 1rem;
58-
border-bottom: 1px solid #333;
78+
/* border-bottom: 1px solid #333; */
5979
text-align: right;
60-
color: #f2f2f2;
80+
color: #000000;
6181
text-decoration: none;
6282
opacity: 0.75;
6383
transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
@@ -71,11 +91,12 @@
7191
}
7292

7393
.headerNavPageLinkActive {
74-
color: #f2f2f2;
94+
color: #000000;
7595
text-decoration: none;
7696
font-size: 1.2rem;
7797
text-align: right;
7898
padding: 1rem;
99+
font-weight: bold;
79100
}
80101

81102
.headerNavLeftMargin {

0 commit comments

Comments
 (0)