Fixed the problem with the calendar, and font sizes in the header and the body.

main
Zed A. Shaw 12 months ago
parent a06f48a68d
commit 7b6bcfc5cc
  1. 1
      api/problems.js
  2. 6
      client/Header.svelte
  3. 3
      client/components/Calendar.svelte
  4. 3
      client/pages/Problems.svelte

@ -54,7 +54,6 @@ export const get = async (req, res) => {
const api = new API(req, res);
try {
log.debug(reply_data);
api.reply(200, reply_data);
} catch (error) {
log.error(error);

@ -49,9 +49,8 @@
<header class:fixed>
<nav>
{#if $user.authenticated}
<a href="/intro/" use:link id="logo">Leet</a>
<a href="/" use:link id="logo">PP</a>
<ul>
<li>Premium</li>
<li><a href="/client/#/explore/">Explore</a></li>
<li><a href="/client/#/problems/">Problems</a></li>
{#if $user.admin }
@ -60,10 +59,9 @@
</ul>
{:else}
<!-- don't use:link because we want them to go to the landing page if they aren't logged in. -->
<a href="/intro/" use:link id="logo">Leet</a>
<a href="/" use:link id="logo">PP</a>
<ul>
{#if register_enabled}
<li>Premium</li>
<li><a href="/client/#/explore/">Explore</a></li>
<li><a href="/client/#/problems/">Problems</a></li>
{/if}

@ -88,8 +88,7 @@
calendar day {
background-color: var(--color-bg-secondary);
font-weight: bold;
padding-left: 0.3rem;
padding-right: 0.3rem;
text-align: center;
}
calendar month {

@ -146,8 +146,7 @@
</bottom>
</card>
<shape style="--w: 300px; --h: 350px; --value: 7; --text: 1;">
</shape>
<Calendar/>
<card>
<top><h6>Companies</h6></top>

Loading…
Cancel
Save