Skip to content

Commit

Permalink
Ran Bun Run Format & Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Wereley authored and Joshua Wereley committed Sep 12, 2024
1 parent 702b45a commit 1e3bc3d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
47 changes: 25 additions & 22 deletions src/src/lib/components/common/Navbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,28 @@
{ name: 'FAQ', href: '/faq' }

Check warning on line 31 in src/src/lib/components/common/Navbar.svelte

View check run for this annotation

Codecov / codecov/patch

src/src/lib/components/common/Navbar.svelte#L29-L31

Added lines #L29 - L31 were not covered by tests
];
const currentLinks = navLinks[role];
</script>

<Navbar class="px-2 sm:px-4 py-2.5 fixed w-full z-20 top-0 start-0 border-b">
<NavBrand href="/">
<img src="images/class-connect-logo.png" class="h-8 sm:h-10 mr-3" alt="ClassConnect Logo" />
<span class="self-center text-xl font-semibold whitespace-nowrap text-gray-800 dark:text-white transition-colors duration-300">ClassConnect</span>
</NavBrand>
<NavHamburger />
<NavUl>
{#each currentLinks as { name, href }}
<NavLi href={href} active={activeUrl === href}>
{name}
</NavLi>
{/each}
{#each commonLinks as {name, href }}
<NavLi href={href} active={activeUrl === href}>
{name}
</NavLi>
{/each}
</NavUl>
</Navbar>
const currentLinks = navLinks[role];

Check warning on line 34 in src/src/lib/components/common/Navbar.svelte

View check run for this annotation

Codecov / codecov/patch

src/src/lib/components/common/Navbar.svelte#L34

Added line #L34 was not covered by tests
</script>

<Navbar class="fixed start-0 top-0 z-20 w-full border-b px-2 py-2.5 sm:px-4">
<NavBrand href="/">
<img src="images/class-connect-logo.png" class="mr-3 h-8 sm:h-10" alt="ClassConnect Logo" />
<span

Check warning on line 40 in src/src/lib/components/common/Navbar.svelte

View check run for this annotation

Codecov / codecov/patch

src/src/lib/components/common/Navbar.svelte#L39-L40

Added lines #L39 - L40 were not covered by tests
class="self-center whitespace-nowrap text-xl font-semibold text-gray-800 transition-colors duration-300 dark:text-white"
>ClassConnect</span
>

Check warning on line 43 in src/src/lib/components/common/Navbar.svelte

View check run for this annotation

Codecov / codecov/patch

src/src/lib/components/common/Navbar.svelte#L43

Added line #L43 was not covered by tests
</NavBrand>
<NavHamburger />
<NavUl>
{#each currentLinks as { name, href }}
<NavLi {href} active={activeUrl === href}>
{name}

Check warning on line 49 in src/src/lib/components/common/Navbar.svelte

View check run for this annotation

Codecov / codecov/patch

src/src/lib/components/common/Navbar.svelte#L47-L49

Added lines #L47 - L49 were not covered by tests
</NavLi>
{/each}
{#each commonLinks as { name, href }}
<NavLi {href} active={activeUrl === href}>
{name}

Check warning on line 54 in src/src/lib/components/common/Navbar.svelte

View check run for this annotation

Codecov / codecov/patch

src/src/lib/components/common/Navbar.svelte#L52-L54

Added lines #L52 - L54 were not covered by tests
</NavLi>
{/each}
</NavUl>
</Navbar>
2 changes: 1 addition & 1 deletion src/src/lib/components/workspaces/Main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</script>

<main

Check warning on line 7 in src/src/lib/components/workspaces/Main.svelte

View check run for this annotation

Codecov / codecov/patch

src/src/lib/components/workspaces/Main.svelte#L7

Added line #L7 was not covered by tests
class="z-20 mt-24 mb-4 mr-4 ml-4 min-h-screen rounded-xl bg-white p-4 px-4 py-6 shadow-xl dark:bg-gray-900"
class="z-20 mb-4 ml-4 mr-4 mt-24 min-h-screen rounded-xl bg-white p-4 px-4 py-6 shadow-xl dark:bg-gray-900"
>
<h1 class="text-2xl font-bold dark:text-white">Workspaces</h1>

Expand Down

0 comments on commit 1e3bc3d

Please sign in to comment.