Skip to content

Commit 2357aed

Browse files
committed
Fixed weird layouting so that bright version works a bit as well
1 parent 86473e4 commit 2357aed

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

helm/wrongsecrets-ctf-party/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ balancer:
3535
# -- Set this to a fixed random alpa-numeric string (recommended length 24 chars). If not set this get randomly generated with every helm upgrade, each rotation invalidates all active cookies / sessions requirering users to login again.
3636
cookieParserSecret: null
3737
repository: jeroenwillemsen/wrongsecrets-balancer
38-
tag: 1.1aws
38+
tag: 1.2aws
3939
# -- Number of replicas of the wrongsecrets-balancer deployment
4040
replicas: 1
4141
service:
@@ -203,10 +203,10 @@ virtualdesktop:
203203
envFrom: [ ]
204204
tolerations: [ ]
205205

206-
# Deletes unused JuiceShop instances after a configurable period of inactivity
206+
# Deletes unused Wrongsecrets namespaces after a configurable period of inactivity
207207
wrongsecretsCleanup:
208208
repository: jeroenwillemsen/wrongsecrets-ctf-cleaner
209-
tag: null
209+
tag: 0.3
210210
enabled: true
211211
# -- Specifies when Juice Shop instances will be deleted when unused for that period.
212212
gracePeriod: 2d

wrongsecrets-balancer/ui/src/Components.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export const BodyCard = styled(Card)`
7676
min-width: 400px;
7777
max-width: 900px;
7878
margin-bottom: 32px;
79+
7980
8081
@media (max-width: 1280px) {
8182
min-width: 328px;

wrongsecrets-balancer/ui/src/Layout.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,14 @@ const GlobalStyles = createGlobalStyle`
6060
--background-highlight: #fff;
6161
--font-color: #000;
6262
--font-color-highlight: #000;
63+
--link-color: #000;
6364
}
6465
@media (prefers-color-scheme: dark) {
6566
:root {
6667
--background: #1a202c;
6768
--background-highlight: #2d3848;
6869
--font-color: #fefefe;
70+
--link-color: #fefefe;
6971
--font-color-highlight: #CBD5DF;
7072
}
7173
}
@@ -82,6 +84,9 @@ const GlobalStyles = createGlobalStyle`
8284
background-color: var(--background);
8385
color: var(--font-color);
8486
}
87+
a {
88+
color: var(--link-color);
89+
}
8590
`;
8691

8792
const Wrapper = styled.div`

wrongsecrets-balancer/ui/src/pages/JoinPage.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const CenterLogo = styled.img`
2626
display: block;
2727
margin-left: auto;
2828
margin-right: auto;
29-
width: 75%;
29+
width: 85%;
3030
`;
3131

3232
export const JoinPage = injectIntl(({ intl }) => {
@@ -145,20 +145,20 @@ export const JoinPage = injectIntl(({ intl }) => {
145145
<li>
146146
The domain where you can have to submit your answers in exchange for answers that are
147147
worth points:{' '}
148-
<a style={{ color: 'white' }} href={dynamics.heroku_wrongsecret_ctf_url}>
148+
<a href={dynamics.heroku_wrongsecret_ctf_url}>
149149
{dynamics.heroku_wrongsecret_ctf_url}
150150
</a>
151151
</li>
152152
) : null}
153153
<li>
154154
The domain where you provide your answer found in exchange for points:{' '}
155-
<a style={{ color: 'white' }} href={dynamics.ctfd_url}>
155+
<a href={dynamics.ctfd_url}>
156156
{dynamics.ctfd_url}
157157
</a>
158158
</li>
159159
<li>
160160
Optionally: the storage bucket with Terraform state for the cloud challneges:{' '}
161-
<a style={{ color: 'white' }} href={dynamics.s3_bucket_url}>
161+
<a href={dynamics.s3_bucket_url}>
162162
{dynamics.s3_bucket_url}
163163
</a>
164164
. For this you will need credentials that will be provided to you as part of the CTF

0 commit comments

Comments
 (0)