Compare commits

..

2 commits

Author SHA1 Message Date
5d70c06d96
fix end date 2024-07-25 20:54:42 +03:00
1e6303b215
sort projects by date 2024-07-25 17:48:30 +03:00
15 changed files with 74 additions and 60 deletions

8
dist/404.html vendored
View file

@ -33,11 +33,11 @@
</script>
<meta property="og:url" content="https://pleshevski.ru/404.html"><meta property="og:site_name" content="Дмитрий Плешевский"><meta property="og:type" content="website"><meta property="og:locale" content="ru-RU"><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":""}</script><title>Дмитрий Плешевский</title><meta name="description" content=" ">
<link rel="preload" href="/assets/style-LjaJbYtv.css" as="style"><link rel="stylesheet" href="/assets/style-LjaJbYtv.css">
<link rel="modulepreload" href="/assets/app-DVhfb_AK.js"><link rel="modulepreload" href="/assets/404.html-BY7PcDFN.js">
<link rel="prefetch" href="/assets/index.html-Dey18qa3.js" as="script"><link rel="prefetch" href="/assets/works.html-D_1XWu_F.js" as="script"><link rel="prefetch" href="/assets/index.html-CFkWDF7K.js" as="script"><link rel="prefetch" href="/assets/works.html-D_SQDS1j.js" as="script">
<link rel="modulepreload" href="/assets/app-Dg9P_Zls.js"><link rel="modulepreload" href="/assets/404.html-Bb8vIwe-.js">
<link rel="prefetch" href="/assets/index.html-DLgZGocO.js" as="script"><link rel="prefetch" href="/assets/works.html-D3oTJVPS.js" as="script"><link rel="prefetch" href="/assets/index.html-zZCC-31N.js" as="script"><link rel="prefetch" href="/assets/works.html-BrLYBvQK.js" as="script">
</head>
<body>
<div id="app"><!--[--><div class="vp-theme-container" data-v-99131a8e><main class="page" data-v-99131a8e><div class="theme-default-content" data-v-99131a8e><h1 data-v-99131a8e>404</h1><blockquote data-v-99131a8e>Верните страницу!</blockquote><a class="route-link" href="/" data-v-99131a8e>Вернуться на главную</a></div></main></div><!--[--><!----><!--]--><!--]--></div>
<script type="module" src="/assets/app-DVhfb_AK.js" defer></script>
<div id="app"><!--[--><div class="vp-theme-container" data-v-99131a8e><main class="page" data-v-99131a8e><div class="theme-default-content" data-v-99131a8e><h1 data-v-99131a8e>404</h1><blockquote data-v-99131a8e>Страница украдена.</blockquote><a class="route-link" href="/" data-v-99131a8e>Вернуться на главную</a></div></main></div><!--[--><!----><!--]--><!--]--></div>
<script type="module" src="/assets/app-Dg9P_Zls.js" defer></script>
</body>
</html>

View file

@ -1 +1 @@
import{_ as t,c as e,o,a}from"./app-DVhfb_AK.js";const n={},r=a("p",null,"404 Not Found",-1),c=[r];function s(l,p){return o(),e("div",null,c)}const i=t(n,[["render",s],["__file","404.html.vue"]]),m=JSON.parse('{"path":"/404.html","title":"","lang":"ru-RU","frontmatter":{"layout":"NotFound","head":[["meta",{"property":"og:url","content":"https://pleshevski.ru/404.html"}],["meta",{"property":"og:site_name","content":"Дмитрий Плешевский"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"ru-RU"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{},"filePathRelative":null}');export{i as comp,m as data};
import{_ as t,c as e,o,a}from"./app-Dg9P_Zls.js";const n={},r=a("p",null,"404 Not Found",-1),c=[r];function s(l,p){return o(),e("div",null,c)}const i=t(n,[["render",s],["__file","404.html.vue"]]),m=JSON.parse('{"path":"/404.html","title":"","lang":"ru-RU","frontmatter":{"layout":"NotFound","head":[["meta",{"property":"og:url","content":"https://pleshevski.ru/404.html"}],["meta",{"property":"og:site_name","content":"Дмитрий Плешевский"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"ru-RU"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{},"filePathRelative":null}');export{i as comp,m as data};

File diff suppressed because one or more lines are too long

30
dist/assets/app-Dg9P_Zls.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

6
dist/eng/index.html vendored

File diff suppressed because one or more lines are too long

8
dist/eng/works.html vendored

File diff suppressed because one or more lines are too long

6
dist/index.html vendored

File diff suppressed because one or more lines are too long

2
dist/sitemap.xml vendored
View file

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/sitemap.xsl"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://pleshevski.ru/</loc><lastmod>2024-07-25T12:12:09.000Z</lastmod><changefreq>monthly</changefreq><xhtml:link rel="alternate" hreflang="ru-RU" href="https://pleshevski.ru/"/><xhtml:link rel="alternate" hreflang="en-US" href="https://pleshevski.ru/eng/"/></url><url><loc>https://pleshevski.ru/works.html</loc><lastmod>2024-07-25T12:12:09.000Z</lastmod><changefreq>monthly</changefreq><xhtml:link rel="alternate" hreflang="ru-RU" href="https://pleshevski.ru/works.html"/><xhtml:link rel="alternate" hreflang="en-US" href="https://pleshevski.ru/eng/works.html"/></url><url><loc>https://pleshevski.ru/eng/</loc><lastmod>2024-07-25T12:12:09.000Z</lastmod><changefreq>monthly</changefreq><xhtml:link rel="alternate" hreflang="ru-RU" href="https://pleshevski.ru/"/><xhtml:link rel="alternate" hreflang="en-US" href="https://pleshevski.ru/eng/"/></url><url><loc>https://pleshevski.ru/eng/works.html</loc><lastmod>2024-07-25T12:12:09.000Z</lastmod><changefreq>monthly</changefreq><xhtml:link rel="alternate" hreflang="ru-RU" href="https://pleshevski.ru/works.html"/><xhtml:link rel="alternate" hreflang="en-US" href="https://pleshevski.ru/eng/works.html"/></url></urlset>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://pleshevski.ru/</loc><lastmod>2024-07-25T12:12:09.000Z</lastmod><changefreq>monthly</changefreq><xhtml:link rel="alternate" hreflang="ru-RU" href="https://pleshevski.ru/"/><xhtml:link rel="alternate" hreflang="en-US" href="https://pleshevski.ru/eng/"/></url><url><loc>https://pleshevski.ru/works.html</loc><lastmod>2024-07-25T13:59:34.000Z</lastmod><changefreq>monthly</changefreq><xhtml:link rel="alternate" hreflang="ru-RU" href="https://pleshevski.ru/works.html"/><xhtml:link rel="alternate" hreflang="en-US" href="https://pleshevski.ru/eng/works.html"/></url><url><loc>https://pleshevski.ru/eng/</loc><lastmod>2024-07-25T12:12:09.000Z</lastmod><changefreq>monthly</changefreq><xhtml:link rel="alternate" hreflang="ru-RU" href="https://pleshevski.ru/"/><xhtml:link rel="alternate" hreflang="en-US" href="https://pleshevski.ru/eng/"/></url><url><loc>https://pleshevski.ru/eng/works.html</loc><lastmod>2024-07-25T12:12:09.000Z</lastmod><changefreq>monthly</changefreq><xhtml:link rel="alternate" hreflang="ru-RU" href="https://pleshevski.ru/works.html"/><xhtml:link rel="alternate" hreflang="en-US" href="https://pleshevski.ru/eng/works.html"/></url></urlset>

10
dist/works.html vendored

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,8 @@
<script lang="ts">
function date2num(date: Date | undefined): number {
return date?.valueOf() ?? Infinity;
}
export default {
name: "WorksPage",
computed: {
@ -13,6 +17,15 @@ export default {
import { CHRONOLOGICAL_WORKS } from "../data.ts";
import { renderDate } from "../../../global.ts";
import { work as w } from "../domain";
import { computed } from "vue";
const works = computed(() =>
CHRONOLOGICAL_WORKS.concat().sort(
(a, b) =>
date2num(b.endDate) - date2num(a.endDate) ||
date2num(b.startDate) - date2num(a.startDate),
),
);
</script>
<template>
@ -28,7 +41,7 @@ import { work as w } from "../domain";
</tr>
</thead>
<tbody>
<tr v-for="work in CHRONOLOGICAL_WORKS">
<tr v-for="work in works">
<td>
<a rel="nofollow noopener" :href="w.getExternalLink(work)">{{
work.name
@ -40,7 +53,9 @@ import { work as w } from "../domain";
<td>{{ work.status }}</td>
<td>
<div>
<small :class="{ grey: work.endDate }">{{ renderDate(work.startDate) }}</small>
<small :class="{ grey: work.endDate }">
{{ renderDate(work.startDate) }}
</small>
</div>
<div v-if="work.endDate">
<small>{{ renderDate(work.endDate) }}</small>
@ -53,7 +68,6 @@ import { work as w } from "../domain";
<style lang="css">
.grey {
color: rgba(0,0,0,0.4);
color: rgba(0, 0, 0, 0.4);
}
</style>

View file

@ -12,7 +12,7 @@ export const CHRONOLOGICAL_WORKS: Work[] = [
roles: [Role.Author],
technologies: [Technology.Haskell],
startDate: new Date("2024-04-13"),
startDate: new Date("2024-07-25"),
endDate: new Date("2024-07-25"),
status: Status.AsIs,
},
{