Merge pull request #2 from Fluffy-Bean/deepsource-transform-36a8a0f8

style: format code with Prettier
This commit is contained in:
Michał 2024-05-25 11:28:22 +01:00 committed by GitHub
commit fcc026d06d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 57 additions and 51 deletions

View file

@ -1,4 +1,4 @@
import { defineConfig } from 'astro/config'; import { defineConfig } from "astro/config";
// https://astro.build/config // https://astro.build/config
export default defineConfig({}); export default defineConfig({});

View file

@ -1,5 +1,4 @@
import { z, defineCollection } from 'astro:content'; import { z, defineCollection } from "astro:content";
const postsCollection = defineCollection({ const postsCollection = defineCollection({
type: "content", type: "content",
@ -31,10 +30,10 @@ const certificatesCollection = defineCollection({
skills: z.array(z.string()).optional(), skills: z.array(z.string()).optional(),
link: z.string().optional(), link: z.string().optional(),
}), }),
}) });
export const collections = { export const collections = {
"posts": postsCollection, posts: postsCollection,
"projects": projectsCollection, projects: projectsCollection,
"certificates": certificatesCollection, certificates: certificatesCollection,
}; };

View file

@ -22,7 +22,9 @@ These are the elements outlined in John Grubers original design document. All
### Heading ### Heading
# H1 # H1
## H2 ## H2
### H3 ### H3
### Bold ### Bold
@ -31,7 +33,7 @@ These are the elements outlined in John Grubers original design document. All
### Italic ### Italic
*italicized text* _italicized text_
### Blockquote ### Blockquote
@ -72,7 +74,7 @@ These elements extend the basic syntax by adding additional features. Not all Ma
### Table ### Table
| Syntax | Description | | Syntax | Description |
| ----------- | ----------- | | --------- | ----------- |
| Header | Title | | Header | Title |
| Paragraph | Text | | Paragraph | Text |

View file

@ -23,7 +23,7 @@
overflow: hidden; overflow: hidden;
&:before { &:before {
content: ''; content: "";
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -40,13 +40,16 @@
pointer-events: none; pointer-events: none;
} }
&:hover, &:focus-visible { &:hover,
&:focus-visible {
outline: 0 solid transparent; outline: 0 solid transparent;
&:before { &:before {
opacity: 1; opacity: 1;
transform: scaleX(100%); transform: scaleX(100%);
transition: opacity 0.5s cubic-bezier(0,1,0,1), transform 0.5s cubic-bezier(0,1,0,1); transition:
opacity 0.5s cubic-bezier(0, 1, 0, 1),
transform 0.5s cubic-bezier(0, 1, 0, 1);
} }
} }
} }

View file

@ -1,8 +1,10 @@
*, *::before, *::after { *,
*::before,
*::after {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
font-family: 'IBM Plex Mono', monospace; font-family: "IBM Plex Mono", monospace;
} }
html { html {