removed updates page
This commit is contained in:
@@ -1,87 +0,0 @@
|
||||
<script lang="ts">
|
||||
export interface UpdateEntry {
|
||||
date: string;
|
||||
time: string;
|
||||
|
||||
content: string;
|
||||
link?: string;
|
||||
}
|
||||
|
||||
let {
|
||||
entry,
|
||||
}: {
|
||||
entry: UpdateEntry;
|
||||
} = $props();
|
||||
</script>
|
||||
|
||||
<div class="update-entry">
|
||||
<div class="update-entry-timestamp-container">
|
||||
<span>{entry.date}</span>
|
||||
<span class="update-entry-timestamp-comma">, </span>
|
||||
<span>{entry.time}</span>
|
||||
</div>
|
||||
<span class="update-entry-timestamp-divider">::</span>
|
||||
<p>
|
||||
{@html entry.content}
|
||||
{#if entry.link}
|
||||
<a class="update-entry-link" href="{entry.link}">»</a>
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.update-entry * {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.update-entry {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 8px;
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
.update-entry p {
|
||||
font-size: 1.0rem;
|
||||
line-height: 1.3rem;
|
||||
}
|
||||
|
||||
.update-entry-timestamp-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.update-entry-timestamp-container *, .update-entry-timestamp-divider {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.3rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-highlight);
|
||||
min-width: fit-content;
|
||||
}
|
||||
|
||||
.update-entry-link {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 1.2rem;
|
||||
color: var(--color-highlight);
|
||||
text-decoration: none;
|
||||
line-height: 1.3rem;
|
||||
}
|
||||
|
||||
.update-entry-link:hover {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 550px) {
|
||||
/* Align timestamp texts vertically */
|
||||
.update-entry-timestamp-container {
|
||||
flex-direction: column;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
/* Hide separating comma */
|
||||
.update-entry-timestamp-comma {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -32,7 +32,6 @@
|
||||
<h6>Meta</h6>
|
||||
<a href="/meta/about">About</a>
|
||||
<a href="/meta/feeds">Feeds</a>
|
||||
<a href="/meta/updates">Updates</a>
|
||||
<a href="https://code.natconf.dev/denizk0461/pages">Page Source</a>
|
||||
<a href="/meta/privacy">Privacy & Cookies</a>
|
||||
</div>
|
||||
@@ -92,8 +91,6 @@
|
||||
background-color: var(--color-background-highlight);
|
||||
margin-top: 32px;
|
||||
border-top: var(--border-style) var(--border-dash-size) var(--color-highlight);
|
||||
/* border-left: var(--border-style) var(--border-dash-size) var(--color-highlight);
|
||||
border-right: var(--border-style) var(--border-dash-size) var(--color-highlight); */
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-top-right-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user