Add text to say we are not affilated

This commit is contained in:
lukas
2026-04-15 23:08:46 +02:00
parent a535905c6c
commit c887b30242
2 changed files with 17 additions and 10 deletions
+4 -2
View File
@@ -15,7 +15,8 @@ export const translations = {
myWebsite: 'My Website', myWebsite: 'My Website',
loading: 'Loading...', loading: 'Loading...',
notFound: 'Course not found', notFound: 'Course not found',
modules: 'modules' modules: 'modules',
notAffiliated: 'Not affiliated with Linköping University'
}, },
sv: { sv: {
welcome: 'Välkommen till LIU tentastatistik', welcome: 'Välkommen till LIU tentastatistik',
@@ -33,7 +34,8 @@ export const translations = {
myWebsite: 'Min webbplats', myWebsite: 'Min webbplats',
loading: 'Laddar...', loading: 'Laddar...',
notFound: 'Kursen hittades inte', notFound: 'Kursen hittades inte',
modules: 'moduler' modules: 'moduler',
notAffiliated: 'Inte ansluten till Linköpings universitet'
} }
} as const; } as const;
+13 -8
View File
@@ -28,13 +28,18 @@
<div class="flex-1">{@render children()}</div> <div class="flex-1">{@render children()}</div>
<footer class="flex w-full shrink-0 items-center justify-center gap-4 border-t p-4"> <footer
<a href="https://github.com/LiuStats" target="_blank" rel="noopener" class="hover:underline"> class="flex w-full shrink-0 flex-col items-center justify-center gap-2 border-t p-4 text-sm text-gray-500 dark:text-gray-400"
{getTranslation('github', currentLocale)} >
</a> <span>{getTranslation('notAffiliated', currentLocale)}</span>
<span>|</span> <div class="flex items-center gap-4">
<a href="https://lukasabbe.com/" target="_blank" rel="noopener" class="hover:underline"> <a href="https://github.com/LiuStats" target="_blank" rel="noopener" class="hover:underline">
{getTranslation('myWebsite', currentLocale)} {getTranslation('github', currentLocale)}
</a> </a>
<span>|</span>
<a href="https://lukasabbe.com/" target="_blank" rel="noopener" class="hover:underline">
{getTranslation('myWebsite', currentLocale)}
</a>
</div>
</footer> </footer>
</div> </div>