Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Valexr committed Apr 25, 2024
1 parent 2352d47 commit 1d42a47
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 267 deletions.
3 changes: 1 addition & 2 deletions src/App.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script lang="ts" context="module">
import { date, time } from "$lib/dates";
import { time } from "$lib/dates";
import { images } from "$lib/images";
// import { t } from "$lib/utils";
import DateForm from "$lib/components/DateForm.svelte";
import Control from "$lib/components/Control.svelte";
Expand Down
31 changes: 11 additions & 20 deletions src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ html {
font-family: system-ui;
}

html::after {
html::before {
content: attr(title);
position: absolute;
inset: 0;
Expand All @@ -16,6 +16,16 @@ html::after {
text-align: center;
}

html::after {
content: '';
background: rgba(0, 0, 0, 0.27);
position: absolute;
z-index: -1;
inset: 0;
overflow: hidden;
}


body {
margin: 0;
display: grid;
Expand All @@ -26,25 +36,6 @@ body {
overflow: hidden;
}

body::after {
content: '';
background: rgba(0, 0, 0, 0.27);
position: absolute;
z-index: -1;
inset: 0;
overflow: hidden;
}

/* body::before {
content: attr(title);
position: absolute;
inset: 0;
top: 97.5%;
font-size: 0.8em;
font-weight: 300;
opacity: 0.69;
} */

header,
footer {
display: flex;
Expand Down
5 changes: 0 additions & 5 deletions src/lib/components/Control.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { images } from "$lib/images";
import { dates } from "$lib/dates";
// import { t } from "$lib/utils";
</script>

<script lang="ts">
Expand All @@ -21,15 +20,11 @@
</script>

<button class="box" on:click={images.back}>
<!-- {t("Image", "Картинка")} -->
<Icon name="Images" />
</button>
<!-- <h2>{$time}</h2> -->
<button class="box" id={active} on:click={deleteDate}>
<!-- {t("Delete", "Удалить")} -->
<Icon name="Delete" />
</button>
<button class="box" id={active} on:click={randomQuote}>
<!-- {t("Quote", "Цитата")} -->
<Icon name="Quote" />
</button>
78 changes: 0 additions & 78 deletions src/lib/components/Counter.svelte

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib/components/County.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts" context="module">
import Button from "./Button.svelte";
import { convert, t } from "$lib/utils";
import { convert } from "$lib/utils";
</script>

<script lang="ts">
Expand Down
11 changes: 0 additions & 11 deletions src/lib/components/Gh.svelte

This file was deleted.

37 changes: 0 additions & 37 deletions src/lib/components/Start.svelte

This file was deleted.

1 change: 0 additions & 1 deletion src/lib/counters.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Writable, derived } from 'svelte/store';
import { dates } from './dates';
import { quotes } from './quotes';
import { random } from './utils';

export const counters = derived<[Writable<StartDate[]>, Writable<Quote[]>], Counter[]>(([dates, quotes]),
([$dates, $quotes], set) => {
Expand Down
112 changes: 0 additions & 112 deletions src/lib/jsonp.ts

This file was deleted.

0 comments on commit 1d42a47

Please sign in to comment.