Skip to content

Commit a4e6aab

Browse files
committed
feat: Add legal-links to footer and update styles of footer
1 parent 062f187 commit a4e6aab

File tree

3 files changed

+50
-34
lines changed

3 files changed

+50
-34
lines changed

config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
return [
4-
'version' => '2.2.0',
4+
'version' => '2.2.1',
55

66
'domains' => [
77
'mtex.dev',

index.php

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,25 @@
5656
</main>
5757

5858
<footer class="footer">
59-
<div class="footer-top">
59+
<div class="footer-section">
6060
<a href="https://github.com/MTEXdotDev/index.mtex.dev" class="github-link" aria-label="GitHub">
61-
<svg class="github-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 98 96">
61+
<svg class="github-icon" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 98 96">
6262
<path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"/>
6363
</svg>
6464
</a>
65-
<p class="footer-text">Powered by MTEX.dev</p>
6665
</div>
67-
<div class="footer-bottom">
68-
<a href="https://status.mtex.dev" class="status-link">System Status</a>
69-
<span class="version-display">v<?php echo htmlspecialchars($version); ?></span>
66+
67+
<nav class="footer-nav">
68+
<a href="https://legal.mtex.dev/imprint" class="footer-link">Imprint</a>
69+
<span class="dot">•</span>
70+
<a href="https://legal.mtex.dev/privacy" class="footer-link">Privacy</a>
71+
<span class="dot">•</span>
72+
<a href="https://status.mtex.dev" class="footer-link">Status</a>
73+
</nav>
74+
75+
<div class="footer-info">
76+
<p class="footer-text">Powered by MTEX.dev</p>
77+
<p class="version-display">v<?php echo htmlspecialchars($version); ?></p>
7078
</div>
7179
</footer>
7280
</div>

style.css

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ body {
9494
border-radius: 8px;
9595
text-decoration: none;
9696
transition:
97-
background-color 0.2s,
98-
transform 0.1s;
97+
all 0.2s ease;
9998
}
10099

101100
.domain-link:hover {
102101
background-color: var(--hover-bg);
103102
border-color: var(--accent-color);
103+
transform: translateX(4px);
104104
}
105105

106106
.domain-name {
@@ -116,55 +116,63 @@ body {
116116

117117
/* Footer */
118118
.footer {
119-
margin-top: 3rem;
120-
padding-top: 1.5rem;
119+
margin-top: 4rem;
120+
padding-top: 2rem;
121121
border-top: 1px solid var(--border-color);
122122
text-align: center;
123123
}
124124

125-
.footer-top {
126-
display: flex;
127-
flex-direction: column;
128-
align-items: center;
129-
gap: 0.5rem;
125+
.footer-section {
130126
margin-bottom: 1.5rem;
131127
}
132128

133129
.github-icon {
134-
color: var(--text-primary);
130+
color: var(--text-secondary);
135131
transition: color 0.2s;
136132
}
137133

138134
.github-icon:hover {
139-
color: var(--accent-color);
140-
}
141-
142-
.footer-text {
143-
font-size: 0.85rem;
144-
color: var(--text-secondary);
135+
color: #ffffff;
145136
}
146137

147-
.footer-bottom {
138+
.footer-nav {
148139
display: flex;
149-
justify-content: space-between;
140+
justify-content: center;
150141
align-items: center;
151-
font-size: 0.8rem;
142+
gap: 0.75rem;
143+
margin-bottom: 1.5rem;
152144
}
153145

154-
.status-link {
146+
.footer-link {
155147
color: var(--text-secondary);
156148
text-decoration: none;
157-
border: 1px solid var(--border-color);
158-
padding: 4px 10px;
159-
border-radius: 4px;
149+
font-size: 0.9rem;
150+
transition: color 0.2s;
160151
}
161152

162-
.status-link:hover {
163-
color: #ffffff;
164-
background-color: var(--hover-bg);
153+
.footer-link:hover {
154+
color: var(--accent-color);
155+
text-decoration: underline;
165156
}
166157

167-
.version-display {
158+
.dot {
159+
color: var(--border-color);
160+
font-size: 0.8rem;
161+
}
162+
163+
.footer-info {
164+
display: flex;
165+
flex-direction: column;
166+
gap: 0.25rem;
167+
}
168+
169+
.footer-text {
170+
font-size: 0.85rem;
168171
color: var(--text-secondary);
172+
}
173+
174+
.version-display {
175+
font-size: 0.75rem;
176+
color: var(--border-color);
169177
font-family: monospace;
170178
}

0 commit comments

Comments
 (0)