feat: started to work on table
This commit is contained in:
parent
7561329158
commit
68e0efd51c
6 changed files with 47 additions and 9 deletions
|
|
@ -1,5 +0,0 @@
|
||||||
import Link from './components/Link.svelte';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
a: Link
|
|
||||||
};
|
|
||||||
19
src/components/Table.svelte
Normal file
19
src/components/Table.svelte
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<table id="table">
|
||||||
|
<slot />
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
table {
|
||||||
|
background-color: var(--light-color);
|
||||||
|
border-radius: 1rem;
|
||||||
|
padding: 1rem;
|
||||||
|
box-shadow: 0px 0px 2px var(--shadow-color);
|
||||||
|
border: 1px solid var(--outline-color);
|
||||||
|
}
|
||||||
|
:global(#table tbody tr) {
|
||||||
|
margin: 1rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
<script context="module">
|
<script context="module">
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import components from '../components';
|
import components from './components';
|
||||||
const a = components.a;
|
const { a, table } = components;
|
||||||
export { a };
|
export { a, table };
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -15,6 +15,8 @@
|
||||||
export let date;
|
export let date;
|
||||||
// svelte-ignore unused-export-let
|
// svelte-ignore unused-export-let
|
||||||
export let keywords;
|
export let keywords;
|
||||||
|
// svelte-ignore unused-export-let
|
||||||
|
export let hidden;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<slot />
|
<slot />
|
||||||
|
|
|
||||||
9
src/layouts/components.js
Normal file
9
src/layouts/components.js
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
import Link from '../components/Link.svelte';
|
||||||
|
import Table from '../components/Table.svelte';
|
||||||
|
|
||||||
|
const components = {
|
||||||
|
a: Link,
|
||||||
|
table: Table,
|
||||||
|
};
|
||||||
|
|
||||||
|
export default components;
|
||||||
|
|
@ -8,6 +8,7 @@ keywords:
|
||||||
- Lavender
|
- Lavender
|
||||||
- root
|
- root
|
||||||
- microG
|
- microG
|
||||||
|
- Magisk
|
||||||
---
|
---
|
||||||
|
|
||||||
<script context="module" lang="ts">
|
<script context="module" lang="ts">
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ title: 'Software recommendations for a privacy conscious digital life'
|
||||||
description: ''
|
description: ''
|
||||||
keywords:
|
keywords:
|
||||||
- privacy
|
- privacy
|
||||||
hidden: true
|
hidden: false
|
||||||
---
|
---
|
||||||
|
|
||||||
<script context="module" lang="ts">
|
<script context="module" lang="ts">
|
||||||
|
|
@ -24,3 +24,15 @@ hidden: true
|
||||||
Moving away from BigTech is not an easy task. However, in these days, there are plenty polished
|
Moving away from BigTech is not an easy task. However, in these days, there are plenty polished
|
||||||
alternatives out there. Over the years I tried out many different services and software. I will
|
alternatives out there. Over the years I tried out many different services and software. I will
|
||||||
formulate some of my opinions here.
|
formulate some of my opinions here.
|
||||||
|
|
||||||
|
A very encompassing resource I recommend is [PrivacyGuides](https://www.privacyguides.org/).
|
||||||
|
|
||||||
|
| Name | Description | Cost | Selfhostable |
|
||||||
|
| -------------------------------------- | ---------------- | ----------------- | ------------ |
|
||||||
|
| [Bitwarden](https://bitwarden.com/) | Password manager | free | yes |
|
||||||
|
| [SimpleLogin](https://simplelogin.io/) | Email aliases | free for students | yes |
|
||||||
|
| [Mailbox.org](https://mailbox.org/en/) | Email hosting | 1 € / m | no |
|
||||||
|
|
||||||
|
<table>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue