Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions src/lib/components/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script>
import { base } from '$app/paths';
</script>

<footer class="footer footer-center p-10 bg-base-200 text-base-content rounded">
Expand All @@ -10,18 +9,6 @@
target="_blank"
class="link link-hover">GitHub</a
>
<a
href="https://gather.town/app/ESJPNXX7CVirKett/nmind"
rel="nofollow noopener noreferrer"
target="_blank"
class="link link-hover">Gather</a
>
<a
href={`${base}/NMIND_monthly_meeting.ics`}
rel="nofollow noopener noreferrer"
target="_blank"
class="link link-hover">Monthly Hack-a-day</a
>
<a
href="https://groups.google.com/g/nmind"
rel="nofollow noopener noreferrer"
Expand All @@ -30,6 +17,6 @@
>
</div>
<div>
<p>© 2024 NMIND.</p>
<p>© 2025 NMIND.</p>
</div>
</footer>
41 changes: 0 additions & 41 deletions static/NMIND_monthly_meeting.ics

This file was deleted.

6 changes: 3 additions & 3 deletions tests/Footer.test.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { render, cleanup } from '@testing-library/svelte';
import { describe, it, expect, afterEach } from 'vitest';
import { cleanup, render } from '@testing-library/svelte';
import { afterEach, describe, expect, it } from 'vitest';
import Footer from '../src/lib/components/Footer.svelte';

describe('Footer', () => {
afterEach(cleanup);

it('should render all links', () => {
const { getByRole } = render(Footer);
const linkNames = ['GitHub', 'Gather', 'Monthly Hack-a-day', 'Mailing List'];
const linkNames = ['GitHub', 'Mailing List'];

linkNames.forEach((linkName) => {
expect(getByRole('link', { name: linkName })).toBeDefined();
Expand Down