Skip to content

Commit f8904f3

Browse files
committed
fix bunch of things and add sponsors page
1 parent cc8524f commit f8904f3

File tree

14 files changed

+287
-10
lines changed

14 files changed

+287
-10
lines changed

assets/css/extended/sponsors.css

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
.sponsor-grid {
2+
display: grid;
3+
gap: 1rem;
4+
align-items: stretch
5+
}
6+
7+
.sponsor-card {
8+
display: flex;
9+
flex-direction: column;
10+
align-items: center;
11+
justify-content: center;
12+
background: var(--theme);
13+
color: var(--entry);
14+
border-radius: 12px;
15+
padding: 1rem;
16+
text-align: center;
17+
}
18+
19+
.sponsor-main {
20+
display: flex;
21+
flex-direction: column;
22+
align-items: center;
23+
justify-content: center;
24+
gap: .25rem;
25+
text-decoration: none;
26+
color: inherit;
27+
width: 100%
28+
}
29+
30+
.sponsor-card img {
31+
max-width: 100%;
32+
max-height: 10rem;
33+
object-fit: contain;
34+
filter: var(--img-filter, none)
35+
}
36+
37+
.sponsor-name {
38+
margin-top: .5rem;
39+
color: var(--primary);
40+
font-weight: 600;
41+
font-size: 2.5rem;
42+
}
43+
44+
.sponsor-links {
45+
display: flex;
46+
gap: .5rem;
47+
margin-top: 1rem;
48+
flex-wrap: wrap;
49+
justify-content: center
50+
}
51+
52+
.sponsor-links a {
53+
font-size: 1.5rem;
54+
color: var(--secondary);
55+
padding: .5rem .5rem;
56+
display: inline-flex;
57+
align-items: center;
58+
justify-content: center;
59+
min-width: 1.6rem
60+
}
61+
62+
.sponsor-links a svg {
63+
width: 1em;
64+
height: 1em;
65+
display: block
66+
}
67+
68+
/* Light/Dark logo switching */
69+
.sponsor-card img.logo-dark { display: none; }
70+
.dark .sponsor-card img.logo-light { display: none; }
71+
.dark .sponsor-card img.logo-dark { display: block; }

content/en/competitions.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,14 @@ ShowPostNavLinks: true
2323
ShowWordCount: true
2424
ShowRssButtonInSectionTermList: true
2525
UseHugoToc: true
26+
cover:
27+
image: "https://opengraph.githubassets.com/eccdc445364e4f9dcbece7bb7f178f0756be13a48717c78ec94bf78c35861b9a/PascalCTF/PascalCTF.github.io" # image path/url
28+
alt: "Paolo's past won contests" # alt text
29+
caption: "The list of every CTF won by Paolo" # display caption under cover
30+
relative: false # when using page bundles set this to true
31+
hidden: true # only hide on current single page
32+
editPost:
33+
URL: "https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/en"
34+
Text: "Suggest Changes" # edit text
35+
appendFilePath: true # to append file path to Edit link
2636
---

content/en/sponsors.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: "Sponsors \U0001F680"
3+
date: 2025-09-27T00:00:00+00:00
4+
# weight: 1
5+
# aliases: ["/first"]
6+
tags: ["cybersec", "CTFs", "olicyber", "cyberchallenge", "highschool"]
7+
author: "Paolo"
8+
# author: ["Me", "You"] # multiple authors
9+
showToc: false
10+
TocOpen: false
11+
draft: false
12+
hidemeta: false
13+
comments: false
14+
# description: "A page with all my personal achivement"
15+
canonicalURL: "https://pascalctf.github.io/en/sponsors/"
16+
disableHLJS: false
17+
disableShare: false
18+
hideSummary: false
19+
searchHidden: true
20+
ShowReadingTime: true
21+
ShowBreadCrumbs: true
22+
ShowPostNavLinks: true
23+
ShowWordCount: true
24+
ShowRssButtonInSectionTermList: true
25+
UseHugoToc: true
26+
cover:
27+
image: "https://opengraph.githubassets.com/eccdc445364e4f9dcbece7bb7f178f0756be13a48717c78ec94bf78c35861b9a/PascalCTF/PascalCTF.github.io" # image path/url
28+
alt: "Paolo's sponsors" # alt text
29+
caption: "The list of all the sponsors of the team Paolo" # display caption under cover
30+
relative: false # when using page bundles set this to true
31+
hidden: true # only hide on current single page
32+
editPost:
33+
URL: "https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/en"
34+
Text: "Suggest Changes" # edit text
35+
appendFilePath: true # to append file path to Edit link
36+
---
37+
38+
Paolo is sponsored by many generous organizations, without whom we would not exist.
39+
40+
{{< sponsors >}}

content/it/competitions.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Competizioni \U0001F3C6"
33
date: 2025-04-09T00:00:00+00:00
44
# weight: 1
55
# aliases: ["/first"]
6-
tags: ["cybersec", "programmazione", "oii", "olicyber", "cyberchallenge", "superiori"]
6+
tags: ["cybersec", "ctfs", "olicyber", "cyberchallenge", "superiori"]
77
author: "Paolo"
88
# author: ["Me", "You"] # multiple authors
99
showToc: true
@@ -12,7 +12,7 @@ draft: false
1212
hidemeta: false
1313
comments: false
1414
# description: "A page with all my personal achivement"
15-
canonicalURL: "https://pascalctf.github.io/en/competitions/"
15+
canonicalURL: "https://pascalctf.github.io/it/competitions/"
1616
disableHLJS: false
1717
disableShare: false
1818
hideSummary: false
@@ -23,4 +23,14 @@ ShowPostNavLinks: true
2323
ShowWordCount: true
2424
ShowRssButtonInSectionTermList: true
2525
UseHugoToc: true
26+
cover:
27+
image: "https://opengraph.githubassets.com/eccdc445364e4f9dcbece7bb7f178f0756be13a48717c78ec94bf78c35861b9a/PascalCTF/PascalCTF.github.io" # image path/url
28+
alt: "Competizioni vinte in passato da Paolo" # alt text
29+
caption: "La lista di tutte le competizioni vinte in passato da Paolo" # display caption under cover
30+
relative: false # when using page bundles set this to true
31+
hidden: true # only hide on current single page
32+
editPost:
33+
URL: "https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/it"
34+
Text: "Suggerisci Modifiche" # edit text
35+
appendFilePath: true # to append file path to Edit link
2636
---

content/it/ctf/pascalCTF2025.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cover:
3131
hidden: true # only hide on current single page
3232
editPost:
3333
URL: "https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/it"
34-
Text: "Suggerisci modifiche" # edit text
34+
Text: "Suggerisci Modifiche" # edit text
3535
appendFilePath: true # to append file path to Edit link
3636
---
3737

content/it/ctf/scriptctf2025.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ cover:
3030
relative: false # when using page bundles set this to true
3131
hidden: true # only hide on current single page
3232
editPost:
33-
URL: "[https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/en](https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/en)"
34-
Text: "Suggerisci modifiche" # edit text
33+
URL: "https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/it"
34+
Text: "Suggerisci Modifiche" # edit text
3535
appendFilePath: true # to append file path to Edit link
3636
---
3737

content/it/projects/emailHarvester.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cover:
2929
hidden: true # only hide on current single page
3030
editPost:
3131
URL: "https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/it"
32-
Text: "Suggerisci modifiche" # edit text
32+
Text: "Suggerisci Modifiche" # edit text
3333
appendFilePath: true # to append file path to Edit link
3434
---
3535
# Email Harvester 🕵️‍♂️

content/it/projects/suricata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cover:
2929
hidden: true # only hide on current single page
3030
editPost:
3131
URL: "https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/en"
32-
Text: "Suggerisci modifiche" # edit text
32+
Text: "Suggerisci Modifiche" # edit text
3333
appendFilePath: true # to append file path to Edit link
3434
---
3535
# Test di Suricata 🛡️

content/it/sponsors.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: "Sponsors \U0001F680"
3+
date: 2025-09-27T00:00:00+00:00
4+
# weight: 1
5+
# aliases: ["/first"]
6+
tags: ["cybersec", "ctfs", "olicyber", "cyberchallenge", "superiori"]
7+
author: "Paolo"
8+
# author: ["Me", "You"] # multiple authors
9+
showToc: true
10+
TocOpen: false
11+
draft: false
12+
hidemeta: false
13+
comments: false
14+
# description: "A page with all my personal achivement"
15+
canonicalURL: "https://pascalctf.github.io/it/sponsors/"
16+
disableHLJS: false
17+
disableShare: false
18+
hideSummary: false
19+
searchHidden: true
20+
ShowReadingTime: true
21+
ShowBreadCrumbs: true
22+
ShowPostNavLinks: true
23+
ShowWordCount: true
24+
ShowRssButtonInSectionTermList: true
25+
UseHugoToc: true
26+
cover:
27+
image: "https://opengraph.githubassets.com/eccdc445364e4f9dcbece7bb7f178f0756be13a48717c78ec94bf78c35861b9a/PascalCTF/PascalCTF.github.io" # image path/url
28+
alt: "Sponsor del team Paolo" # alt text
29+
caption: "La lista di tutti gli sponsor del team Paolo" # display caption under cover
30+
relative: false # when using page bundles set this to true
31+
hidden: true # only hide on current single page
32+
editPost:
33+
URL: "https://github.com/PascalCTF/PascalCTF.github.io/blob/main/content/it"
34+
Text: "Suggerisci Modifiche" # edit text
35+
appendFilePath: true # to append file path to Edit link
36+
---
37+
38+
Paolo è supportato da molte organizzazioni generose, senza le quali non esisteremmo.
39+
40+
{{< sponsors >}}

data/sponsors.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
years:
2+
- year: 2025
3+
- year: 2024
4+
items:
5+
- name: Cyberloop
6+
url: https://cyberloop.it
7+
logo:
8+
dark: /images/sponsors/cyberloop-dark.svg
9+
light: /images/sponsors/cyberloop-light.svg
10+
links:
11+
site: https://cyberloop.it
12+
linkedin: https://linkedin.com/company/cyberloop

0 commit comments

Comments
 (0)