added images
This commit is contained in:
BIN
public/img/projects/acecore.png
Normal file
BIN
public/img/projects/acecore.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 102 KiB |
BIN
public/img/projects/discord-rpc.png
Normal file
BIN
public/img/projects/discord-rpc.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 115 KiB |
BIN
public/img/projects/sca.png
Normal file
BIN
public/img/projects/sca.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 287 KiB |
@@ -1,17 +1,20 @@
|
|||||||
---
|
---
|
||||||
|
import { array } from "astro/zod";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
name: string;
|
name: string;
|
||||||
href?: string;
|
href?: string;
|
||||||
|
gallery?: string | string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
const { name, href } = Astro.props;
|
const { name, href, gallery } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "../styles/_var.scss";
|
@import "../styles/_var.scss";
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: white;
|
color: white;
|
||||||
|
padding: 20px;
|
||||||
&.project-external {
|
&.project-external {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
&::after {
|
&::after {
|
||||||
@@ -24,10 +27,17 @@ const { name, href } = Astro.props;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.content {
|
.content {
|
||||||
padding: 20px;
|
padding: 0;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
max-width: 40vw;
|
max-width: 40vw;
|
||||||
transition: border-color 0.3s;
|
transition: border-color 0.3s;
|
||||||
|
.gallery {
|
||||||
|
img {
|
||||||
|
margin-top: 20px;
|
||||||
|
border-radius: 25px;
|
||||||
|
max-width: 250px;
|
||||||
|
}
|
||||||
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
@@ -44,6 +54,8 @@ const { name, href } = Astro.props;
|
|||||||
|
|
||||||
<div class={href ? "content" : "content no-hover"}>
|
<div class={href ? "content" : "content no-hover"}>
|
||||||
<a class="project-external" target={href ? "_blank" : ""} href={href}>
|
<a class="project-external" target={href ? "_blank" : ""} href={href}>
|
||||||
<h2>{name}</h2><slot />
|
<h2>{name}</h2><slot /><div class="gallery">
|
||||||
</a>
|
<img loading="lazy" src={Array.isArray(gallery) ? "" : gallery} />
|
||||||
|
</div></a
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -13,29 +13,35 @@ import ProjectCard from "../components/ProjectCard.astro";
|
|||||||
description="This is my personal website with my projects, docs and other useful stuff."
|
description="This is my personal website with my projects, docs and other useful stuff."
|
||||||
>
|
>
|
||||||
<main>
|
<main>
|
||||||
<div>
|
<div style="margin-bottom: 20px;">
|
||||||
<h1 style="text-align: center;">Projects</h1>
|
<h1 style="text-align: center;">Projects</h1>
|
||||||
<ProjectCard name="voicenext" href="https://voicenext.app"
|
<ProjectCard name="voicenext" href="https://voicenext.app"
|
||||||
>My team and I are currently working on voicenext, a voice messaging app
|
>My team and I are currently working on voicenext, a voice messaging app
|
||||||
designed to keep communication simple and intuitive. With voicenext, you
|
designed to keep communication simple and intuitive. With voicenext, you
|
||||||
just hold to speak and tap to listen. We are also working on unique
|
just hold to speak and tap to listen. We are also working on unique
|
||||||
features that other messaging apps haven't considered because we are
|
features that other messaging apps haven't considered because we are
|
||||||
solely focused on audio.</ProjectCard
|
solely focused on audio.
|
||||||
>
|
</ProjectCard>
|
||||||
<ProjectCard name="SmartCustomerAI"
|
<ProjectCard name="SmartCustomerAI" gallery="/img/projects/sca.png"
|
||||||
>I am currently developing a program that can simulate customer calls.
|
>I am currently developing a program that can simulate customer calls.
|
||||||
For this, I am using the Web Speech Recognition API, OpenAI, and
|
For this, I am using the Web Speech Recognition API, OpenAI, and
|
||||||
Elevenlabs.</ProjectCard
|
Elevenlabs.
|
||||||
>
|
</ProjectCard>
|
||||||
|
<ProjectCard
|
||||||
|
name="acecore"
|
||||||
|
gallery="/img/projects/acecore.png"
|
||||||
|
href="https://github.com/vaporvee/acecore"
|
||||||
|
>Modular multi purpose bot powering your Discord server.<br />
|
||||||
|
Custom forms with ticket and approve system, tags / custom commands, sticky
|
||||||
|
messages, auto join roles, autopublish, cat pictures and much more
|
||||||
|
</ProjectCard>
|
||||||
<ProjectCard
|
<ProjectCard
|
||||||
name="DiscordRPC Godot Plugin"
|
name="DiscordRPC Godot Plugin"
|
||||||
|
gallery="/img/projects/discord-rpc.png"
|
||||||
href="https://github.com/vaporvee/discord-rpc-godot"
|
href="https://github.com/vaporvee/discord-rpc-godot"
|
||||||
>The first Discord RPC plugin for the version 4 of the Godot game
|
>The first Discord RPC plugin for the version 4 of the Godot game
|
||||||
engine.</ProjectCard
|
engine.
|
||||||
>
|
</ProjectCard>
|
||||||
<ProjectCard name="acecore" href="https://github.com/vaporvee/acecore"
|
|
||||||
>Modular multi purpose bot powering your Discord server.</ProjectCard
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
Reference in New Issue
Block a user