mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-10-31 20:34:12 +01:00
cleanup
This commit is contained in:
parent
802886fc08
commit
67d29dab2e
@ -1,6 +1,7 @@
|
||||
import axios from 'axios'
|
||||
import { dev } from '$app/env'
|
||||
|
||||
const base = axios.create({ baseURL: 'http://localhost:5000' })
|
||||
const base = axios.create({ baseURL: dev ? 'http://localhost:5000' : undefined })
|
||||
|
||||
export type Note = {
|
||||
contents: string
|
||||
|
@ -3,10 +3,10 @@
|
||||
import { create } from '$lib/api'
|
||||
import { getKeyFromString, encrypt } from '$lib/crypto'
|
||||
|
||||
import Button from './ui/Button.svelte'
|
||||
import Switch from './ui/Switch.svelte'
|
||||
import TextArea from './ui/TextArea.svelte'
|
||||
import TextInput from './ui/TextInput.svelte'
|
||||
import Button from '$lib/ui/Button.svelte'
|
||||
import Switch from '$lib/ui/Switch.svelte'
|
||||
import TextArea from '$lib/ui/TextArea.svelte'
|
||||
import TextInput from '$lib/ui/TextInput.svelte'
|
||||
|
||||
let note: Note = {
|
||||
contents: 'secret',
|
@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import '../app.css'
|
||||
import Header from '$lib/Header/index.svelte'
|
||||
import Header from '$lib/views/Header/index.svelte'
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
@ -39,6 +39,16 @@
|
||||
you are welcomed to check & audit the
|
||||
<a href="https://github.com/cupcakearmy/cryptgeon">source code</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<br />
|
||||
<b>▶ attributions</b>
|
||||
<br />
|
||||
<small>
|
||||
icons made by <a href="https://www.freepik.com" title="Freepik">freepik</a> from
|
||||
<a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>
|
||||
</small>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
|
@ -1,9 +1,9 @@
|
||||
<script context="module" lang="ts">
|
||||
export const prerender = true;
|
||||
export const prerender = true
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
import Create from '$lib/Create.svelte';
|
||||
import Create from '$lib/views/Create.svelte'
|
||||
</script>
|
||||
|
||||
<Create />
|
||||
|
Loading…
Reference in New Issue
Block a user