feat: changes

Signed-off-by: Avior <github@avior.me>
This commit is contained in:
Florian Bouillon 2023-06-29 00:40:17 +02:00
parent d29a64c662
commit cd5993c04c
5 changed files with 10 additions and 92 deletions

View File

@ -48,7 +48,7 @@ ENV HOST=0.0.0.0
# Download & install PrusaSlicer
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
prusa-slicer bzip2 \
prusa-slicer bzip2 libglu1-mesa-dev libegl-dev \
&& apt-get remove prusa-slicer -y \
&& rm -rf /var/lib/apt/lists/*
ADD https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.6.0/PrusaSlicer-2.6.0+linux-x64-GTK3-202306191220.tar.bz2 ./

BIN
bun.lockb Normal file

Binary file not shown.

12
package-lock.json generated
View File

@ -592,11 +592,11 @@
}
},
"node_modules/@dzeio/logger": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@dzeio/logger/-/logger-3.0.0.tgz",
"integrity": "sha512-CmqmIblP6XZdapWOwmoYG3/lBX7HX1vK0i6hY6ArjCyjg8dWpLierx6vagnfhk5NIIs1jpIS3hR759QJwFE9xw==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@dzeio/logger/-/logger-3.2.0.tgz",
"integrity": "sha512-ovU8iB1j00uvPbcyA/Q3dCkVSvUCq+ki843kW0p/gLZXwevrO+uA/AD4bwrv7tJB46ryo1FQl6V0fsfJ2HUo9w==",
"dependencies": {
"ansi-colors": "^4.1.1"
"colorette": "^2.0.20"
}
},
"node_modules/@dzeio/object-util": {
@ -1469,6 +1469,7 @@
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",
"integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==",
"dev": true,
"engines": {
"node": ">=6"
}
@ -2487,8 +2488,7 @@
"node_modules/colorette": {
"version": "2.0.20",
"resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
"integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==",
"dev": true
"integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w=="
},
"node_modules/combined-stream": {
"version": "1.0.8",

View File

@ -1,63 +0,0 @@
---
export interface Props {
title: string;
body: string;
href: string;
}
const { href, title, body } = Astro.props;
---
<li class="link-card">
<a href={href}>
<h2>
{title}
<span>&rarr;</span>
</h2>
<p>
{body}
</p>
</a>
</li>
<style>
.link-card {
list-style: none;
display: flex;
padding: 0.25rem;
background-color: white;
background-image: none;
background-size: 400%;
border-radius: 0.6rem;
background-position: 100%;
transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.link-card > a {
width: 100%;
text-decoration: none;
line-height: 1.4;
padding: 1rem 1.3rem;
border-radius: 0.35rem;
color: #111;
background-color: white;
opacity: 0.8;
}
h2 {
margin: 0;
font-size: 1.25rem;
transition: color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
p {
margin-top: 0.5rem;
margin-bottom: 0;
color: #444;
}
.link-card:is(:hover, :focus-within) {
background-position: 0;
background-image: var(--accent-gradient);
}
.link-card:is(:hover, :focus-within) h2 {
color: rgb(var(--accent));
}
</style>

View File

@ -1,6 +1,5 @@
---
import Layout from '../layouts/Layout.astro';
import Card from '../components/Card.astro';
---
<Layout title="Welcome to Astro.">
@ -11,26 +10,8 @@ import Card from '../components/Card.astro';
<strong>Code Challenge:</strong> Tweak the "Welcome to Astro" message above.
</p>
<ul role="list" class="link-card-grid">
<Card
href="https://docs.astro.build/"
title="Documentation"
body="Learn how Astro works and explore the official API docs."
/>
<Card
href="https://astro.build/integrations/"
title="Integrations"
body="Supercharge your project with new frameworks and libraries."
/>
<Card
href="https://astro.build/themes/"
title="Themes"
body="Explore a galaxy of community-built starter themes."
/>
<Card
href="https://astro.build/chat/"
title="Community"
body="Come say hi to our amazing Discord community. ❤️"
/>
<li><a href="/account/login">Login</a></li>
<li><a href="/account/register">Register</a></li>
</ul>
</main>
</Layout>
</Layout>