Remove all unready features

This commit is contained in:
DrMint 2024-03-10 18:32:18 +01:00
parent 73cbe448db
commit 5d1b088b07
11 changed files with 47 additions and 65 deletions

View File

@ -7,6 +7,14 @@
## Long term ## Long term
- The Chronicles
- The Changelog
- Grid view (all files)
- Web archives
- Videos
- Timeline page
- Contact page
- About us page
- Global search function - Global search function
- Convert Rich text to simple text for indexing and open graph purposes - Convert Rich text to simple text for indexing and open graph purposes
- Anonymous comments - Anonymous comments

View File

@ -36,19 +36,19 @@ const contactLabel = `${t("footer.socials.contact.title")} - ${t(
<Icon name="accords" /> <Icon name="accords" />
<p>{t("footer.links.home.title")}</p> <p>{t("footer.links.home.title")}</p>
</a> </a>
<a href="/archives"> <a href="/archives" class="DEV_TODO">
<Icon name="material-symbols:browse" /> <Icon name="material-symbols:browse" />
<p>{"Contents"}</p> <p>{"Contents"}</p>
</a> </a>
<a href="/chronicles"> <a href="/chronicles" class="DEV_TODO">
<Icon name="material-symbols:book-2" /> <Icon name="material-symbols:book-2" />
<p>{"Chronicles"}</p> <p>{"Chronicles"}</p>
</a> </a>
<a href="/changelog"> <a href="/changelog" class="DEV_TODO">
<Icon name="material-symbols:history" /> <Icon name="material-symbols:history" />
<p>{"Changelog"}</p> <p>{"Changelog"}</p>
</a> </a>
<a href="/timeline"> <a href="/timeline" class="DEV_TODO">
<Icon name="material-symbols:calendar-month" /> <Icon name="material-symbols:calendar-month" />
<p>{t("footer.links.timeline.title")}</p> <p>{t("footer.links.timeline.title")}</p>
</a> </a>
@ -56,11 +56,11 @@ const contactLabel = `${t("footer.socials.contact.title")} - ${t(
<Icon name="material-symbols:perm-media" /> <Icon name="material-symbols:perm-media" />
<p>{t("footer.links.gallery.title")}</p> <p>{t("footer.links.gallery.title")}</p>
</a> </a>
<a href="/videos"> <a href="/videos" class="DEV_TODO">
<Icon name="material-symbols:movie" /> <Icon name="material-symbols:movie" />
<p>{t("footer.links.videos.title")}</p> <p>{t("footer.links.videos.title")}</p>
</a> </a>
<a href="/archives"> <a href="/archives" class="DEV_TODO">
<Icon name="material-symbols:folder-zip" /> <Icon name="material-symbols:folder-zip" />
<p>{t("footer.links.webArchives.title")}</p> <p>{t("footer.links.webArchives.title")}</p>
</a> </a>
@ -104,7 +104,11 @@ const contactLabel = `${t("footer.socials.contact.title")} - ${t(
<Icon name="github-brands" /> <Icon name="github-brands" />
</a> </a>
<a href="/contact" class="pressable-icon" aria-label={contactLabel} title={contactLabel}> <a
href="/contact"
class="pressable-icon DEV_TODO"
aria-label={contactLabel}
title={contactLabel}>
<Icon name="material-symbols:mail-outline" /> <Icon name="material-symbols:mail-outline" />
</a> </a>
</div> </div>

View File

@ -523,6 +523,15 @@ const { currentTheme } = Astro.locals;
scrollbar-color: var(--color-base-650) transparent; scrollbar-color: var(--color-base-650) transparent;
} }
.DEV_TODO {
display: none !important;
visibility: none !important;
opacity: 0 !important;
height: 0 !important;
width: 0 !important;
overflow: hidden !important;
}
@media print { @media print {
.when-no-print { .when-no-print {
display: none !important; display: none !important;

View File

@ -35,10 +35,13 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
} }
<div id="toolbar" class="hide-scrollbar"> <div id="toolbar" class="hide-scrollbar">
<a href={getLocalizedUrl("/search")} aria-label={t("header.topbar.search.tooltip")}> <a
href={getLocalizedUrl("/search")}
aria-label={t("header.topbar.search.tooltip")}
class="DEV_TODO">
<Button icon="material-symbols:search" /> <Button icon="material-symbols:search" />
</a> </a>
<div class="separator"></div> <div class="separator DEV_TODO"></div>
<div class="when-no-js"> <div class="when-no-js">
<a href="/settings"> <a href="/settings">
@ -94,11 +97,6 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
justify-content: center; justify-content: center;
} }
@media (max-width: 22rem) {
justify-content: space-between;
gap: 12px;
}
& > .separator { & > .separator {
width: 1px; width: 1px;
height: 2em; height: 2em;

View File

@ -1,7 +0,0 @@
---
import AppLayout from "components/AppLayout/AppLayout.astro";
---
{/* ------------------------------------------- HTML ------------------------------------------- */}
<AppLayout title="WIP" />

View File

@ -1,7 +0,0 @@
---
import AppLayout from "components/AppLayout/AppLayout.astro";
---
{/* ------------------------------------------- HTML ------------------------------------------- */}
<AppLayout title="WIP" />

View File

@ -1,7 +0,0 @@
---
import AppLayout from "components/AppLayout/AppLayout.astro";
---
{/* ------------------------------------------- HTML ------------------------------------------- */}
<AppLayout title="WIP" />

View File

@ -1,7 +1,3 @@
--- ---
import AppLayout from "components/AppLayout/AppLayout.astro"; return Astro.redirect("https://discord.com/invite/5mcXcRAczj");
--- ---
{/* ------------------------------------------- HTML ------------------------------------------- */}
<AppLayout title="WIP" />

View File

@ -26,7 +26,7 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
</div> </div>
<div id="description" slot="header-description"> <div id="description" slot="header-description">
<p set:html={t("home.description")} class="high-contrast-text" /> <p set:html={t("home.description")} class="high-contrast-text" />
<a href={getLocalizedUrl("/about")}> <a href={getLocalizedUrl("/about")} class="DEV_TODO">
<Button title={t("home.aboutUsButton")} icon="material-symbols:left-click" /> <Button title={t("home.aboutUsButton")} icon="material-symbols:left-click" />
</a> </a>
</div> </div>
@ -35,7 +35,7 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
<section id="library" class="high-contrast-text"> <section id="library" class="high-contrast-text">
<h2>{t("home.librarySection.title")}</h2> <h2>{t("home.librarySection.title")}</h2>
<p set:html={t("home.librarySection.description")} /> <p set:html={t("home.librarySection.description")} />
<a href={getLocalizedUrl("/search")}> <a href={getLocalizedUrl("/search")} class="DEV_TODO">
<Button <Button
class="section-button" class="section-button"
title={t("home.librarySection.button")} title={t("home.librarySection.button")}
@ -47,7 +47,7 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
</div> </div>
</section> </section>
<section> <section class="DEV_TODO">
<h2>{t("home.chroniclesSection.title")}</h2> <h2>{t("home.chroniclesSection.title")}</h2>
<p set:html={t("home.chroniclesSection.description")} /> <p set:html={t("home.chroniclesSection.description")} />
<div class="flex"> <div class="flex">
@ -90,7 +90,7 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
</div> </div>
</section> </section>
<section> <section class="DEV_TODO">
<h2>{t("home.changesSection.title")}</h2> <h2>{t("home.changesSection.title")}</h2>
<p set:html={t("home.changesSection.description")} /> <p set:html={t("home.changesSection.description")} />
<a href={getLocalizedUrl("/changelog")}> <a href={getLocalizedUrl("/changelog")}>
@ -102,7 +102,7 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
</a> </a>
</section> </section>
<section> <section class="DEV_TODO">
<h2>{t("home.moreSection.title")}</h2> <h2>{t("home.moreSection.title")}</h2>
<p set:html={t("home.moreSection.description")} /> <p set:html={t("home.moreSection.description")} />
<div class="grid"> <div class="grid">
@ -158,12 +158,14 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
subtitle={t("footer.socials.github.subtitle")} subtitle={t("footer.socials.github.subtitle")}
href="https://github.com/Accords-Library" href="https://github.com/Accords-Library"
/> />
<LinkCard <div class="DEV_TODO">
icon="material-symbols:mail-outline" <LinkCard
title={t("footer.socials.contact.title")} icon="material-symbols:mail-outline"
subtitle={t("footer.socials.contact.subtitle")} title={t("footer.socials.contact.title")}
href={getLocalizedUrl("/contact")} subtitle={t("footer.socials.contact.subtitle")}
/> href={getLocalizedUrl("/contact")}
/>
</div>
</div> </div>
</section> </section>
</div> </div>

View File

@ -1,7 +0,0 @@
---
import AppLayout from "components/AppLayout/AppLayout.astro";
---
{/* ------------------------------------------- HTML ------------------------------------------- */}
<AppLayout title="WIP" />

View File

@ -1,7 +0,0 @@
---
import AppLayout from "components/AppLayout/AppLayout.astro";
---
{/* ------------------------------------------- HTML ------------------------------------------- */}
<AppLayout title="WIP" />