added images
This commit is contained in:
BIN
public/img/projects/voicenext/Home.png
Normal file
BIN
public/img/projects/voicenext/Home.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 207 KiB |
BIN
public/img/projects/voicenext/Promo.png
Normal file
BIN
public/img/projects/voicenext/Promo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1014 KiB |
BIN
public/img/projects/voicenext/Register.png
Normal file
BIN
public/img/projects/voicenext/Register.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
public/img/projects/voicenext/Settings.png
Normal file
BIN
public/img/projects/voicenext/Settings.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
public/img/projects/voicenext/Settings2.png
Normal file
BIN
public/img/projects/voicenext/Settings2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
@@ -28,14 +28,14 @@ const { name, href, gallery } = Astro.props;
|
|||||||
}
|
}
|
||||||
.content {
|
.content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 20px;
|
margin: 20px !important;
|
||||||
max-width: 40vw;
|
max-width: 40vw;
|
||||||
transition: border-color 0.3s;
|
transition: border-color 0.3s;
|
||||||
.gallery {
|
.gallery {
|
||||||
img {
|
img {
|
||||||
margin-top: 20px;
|
max-height: 250px;
|
||||||
border-radius: 25px;
|
margin: 20px 10px;
|
||||||
max-width: 250px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
@@ -50,12 +50,29 @@ const { name, href, gallery } = Astro.props;
|
|||||||
border: 1px solid lighten($highlight, 12%);
|
border: 1px solid lighten($highlight, 12%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-width: $responsive-width) {
|
||||||
|
.gallery {
|
||||||
|
margin-top: -30px;
|
||||||
|
text-align: center;
|
||||||
|
* {
|
||||||
|
margin: 2px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<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 /><div class="gallery">
|
<h2>{name}</h2><slot /><a
|
||||||
<img loading="lazy" src={Array.isArray(gallery) ? "" : gallery} />
|
><div class="gallery">
|
||||||
</div></a
|
{
|
||||||
|
Array.isArray(gallery) ? (
|
||||||
|
gallery.map((src) => <img loading="lazy" src={src} />)
|
||||||
|
) : (
|
||||||
|
<img loading="lazy" src={gallery as string} />
|
||||||
|
)
|
||||||
|
}
|
||||||
|
</div></a
|
||||||
|
></a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -15,7 +15,16 @@ import ProjectCard from "../components/ProjectCard.astro";
|
|||||||
<main>
|
<main>
|
||||||
<div style="margin-bottom: 20px;">
|
<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"
|
||||||
|
gallery={[
|
||||||
|
"/img/projects/voicenext/Promo.png",
|
||||||
|
"/img/projects/voicenext/Home.png",
|
||||||
|
"/img/projects/voicenext/Register.png",
|
||||||
|
"/img/projects/voicenext/Settings.png",
|
||||||
|
"/img/projects/voicenext/Settings2.png",
|
||||||
|
]}
|
||||||
|
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
|
||||||
|
@@ -180,6 +180,6 @@ button {
|
|||||||
|
|
||||||
@media (max-width: $responsive-width) {
|
@media (max-width: $responsive-width) {
|
||||||
.content{
|
.content{
|
||||||
min-width: 65vw !important;
|
min-width: 90vw !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user