Skip to content

Commit 636da51

Browse files
committed
style: make footer icons clickable and align links
1 parent c20f912 commit 636da51

3 files changed

Lines changed: 35 additions & 22 deletions

File tree

docs/.vitepress/en.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const en = defineConfig({
8989
},
9090

9191
footer: {
92-
message: `Built by <a href="https://github.com/Priveetee" target="_blank">Priveetee</a> for <a href="https://github.com/InfinityLoop1308/PipePipe" target="_blank">PipePipe</a>`,
92+
message: `Built by <a href="https://github.com/Priveetee" target="_blank"><svg class="footer-icon github-svg" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg> Priveetee</a> for the open source project <a href="https://github.com/InfinityLoop1308/PipePipe" target="_blank"><img src="/Docs-PipePipe/pipepipe.png" class="footer-icon"> PipePipe</a>`,
9393
copyright: `Copyright © 2025-${new Date().getFullYear()} Priveetee`,
9494
},
9595

docs/.vitepress/fr.mts

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -82,26 +82,6 @@ export const fr = defineConfig({
8282
],
8383
},
8484

85-
search: {
86-
options: {
87-
translations: {
88-
button: {
89-
buttonText: "Rechercher",
90-
buttonAriaLabel: "Rechercher",
91-
},
92-
modal: {
93-
results_not_found: "Aucun résultat pour",
94-
resetButtonTitle: "Réinitialiser la recherche",
95-
footer: {
96-
selectText: "pour sélectionner",
97-
navigateText: "pour naviguer",
98-
closeText: "pour fermer",
99-
},
100-
},
101-
},
102-
},
103-
},
104-
10585
lastUpdated: {
10686
text: "Dernière mise à jour",
10787
},
@@ -112,7 +92,7 @@ export const fr = defineConfig({
11292
},
11393

11494
footer: {
115-
message: `Développé par <a href="https://github.com/Priveetee" target="_blank">Priveetee</a> pour <a href="https://github.com/InfinityLoop1308/PipePipe" target="_blank">PipePipe</a>`,
95+
message: `Développé par <a href="https://github.com/Priveetee" target="_blank"><svg class="footer-icon github-svg" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg> Priveetee</a> pour le projet open source <a href="https://github.com/InfinityLoop1308/PipePipe" target="_blank"><img src="/Docs-PipePipe/pipepipe.png" class="footer-icon"> PipePipe</a>`,
11696
copyright: `Copyright © 2025-${new Date().getFullYear()} Priveetee`,
11797
},
11898

docs/.vitepress/theme/style.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,36 @@
99
#c83270
1010
);
1111
}
12+
13+
.vp-footer {
14+
border-top: 1px solid var(--vp-c-divider);
15+
padding: 32px 24px;
16+
color: var(--vp-c-text-1) !important;
17+
text-align: center;
18+
line-height: 24px;
19+
font-size: 14px;
20+
}
21+
22+
.vp-footer a {
23+
color: var(--vp-c-brand-1);
24+
font-weight: 600;
25+
text-decoration: none;
26+
transition: opacity 0.2s;
27+
display: inline-flex;
28+
align-items: center;
29+
}
30+
31+
.vp-footer a:hover {
32+
opacity: 0.8;
33+
text-decoration: underline;
34+
}
35+
36+
.footer-icon {
37+
width: 18px;
38+
height: 18px;
39+
margin-right: 6px;
40+
}
41+
42+
.github-svg {
43+
fill: currentColor;
44+
}

0 commit comments

Comments
 (0)