Compare commits

...

2 Commits

Author SHA1 Message Date
7173c3723c Add Altessimo and revise GalleryImage 2021-01-13 21:34:10 +07:00
4ff681c080 Update pictures 2021-01-13 20:57:32 +07:00
16 changed files with 64 additions and 18 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 540 KiB

After

Width:  |  Height:  |  Size: 977 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 KiB

After

Width:  |  Height:  |  Size: 821 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 952 KiB

After

Width:  |  Height:  |  Size: 563 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 857 KiB

After

Width:  |  Height:  |  Size: 984 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 KiB

After

Width:  |  Height:  |  Size: 744 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1002 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -1,8 +1,8 @@
<template>
<div class="gallery-image">
<img :src='src' @click="shown = !shown">
<div :class="shown ? 'gallery-popup' : 'gallery-popup-hidden'" @click.self="shown = !shown" @mousemove="calculate">
<img :src='src' @click="zoom" :class="zoom_status" :style="{left: cursor_x, top: cursor_y }" draggable="false">
<div :class="shown ? 'gallery-popup' : 'gallery-popup-hidden'" @click.self="shown = !shown">
<img :src='src' @click="open" draggable="false">
<a class="gallery-popup-exit" @click="shown = !shown" href="#">x</a>
</div>
</div>
@ -14,23 +14,12 @@ export default {
data() {
return {
shown: false,
zoom_status: 'gallery-zoomed-out',
cursor_x: 300,
cursor_y: 300,
};
},
methods: {
zoom() {
if(this.zoom_status == 'gallery-zoomed-out') {
this.zoom_status = 'gallery-zoomed-in';
} else {
this.zoom_status = 'gallery-zoomed-out';
}
open() {
window.open(this.src,"_blank");
},
calculate(e) {
this.cursor_x = ((e.clientX)-(window.innerWidth/2))*2+'px';
this.cursor_y = ((e.clientY)-(window.innerHeight/2))*2+'px';
}
},
}
</script>
@ -50,7 +39,7 @@ export default {
@apply fixed;
width: 400vw;
}
.gallery-popup-exit {
@apply fixed right-0 top-0 z-30 mx-8 my-4 text-2xl text-white;
a.gallery-popup-exit {
@apply fixed right-0 top-0 mx-8 my-4 text-2xl text-white;
}
</style>

View File

@ -91,7 +91,7 @@ export default {
<style>
.site-header {
z-index: 100;
z-index: 10;
height: 4rem;
width: 100vw;
overflow: hidden;

View File

@ -0,0 +1,56 @@
<template>
<div class="page">
<PageHeader imageType="cue-mei">
<h1>Altessimo</h1>
<p>
<a href="https://altessimo.nanao.moe">live</a>
&bull;
<a href="https://github.com/Damillora/Altessimo">source code</a>
</p>
</PageHeader>
<main class="container mx-auto main">
<h2>Description</h2>
<p>
Altessimo is a web application I built to catalogue and put in context Idolmaster lyricists, composers, and arrangers.
</p>
<p>
The database itself is definitely a work-in-progress.</p>
</p>
<h2>Technologies</h2>
<ul>
<li>Django</li>
<li>Bootstrap</li>
</ul>
<h2>Screenshots</h2>
<div class="gallery">
<GalleryImage :src="require('~/assets/projects/altessimo/1.png')" />
<GalleryImage :src="require('~/assets/projects/altessimo/2.png')" />
<GalleryImage :src="require('~/assets/projects/altessimo/3.png')" />
<GalleryImage :src="require('~/assets/projects/altessimo/4.png')" />
</div>
</main>
</div>
</template>
<script>
import ProjectItem from "@/components/ProjectItem";
import PageHeader from "@/components/PageHeader";
import GalleryImage from '@/components/GalleryImage';
export default {
components: {
ProjectItem,
PageHeader,
GalleryImage
},
head: {
title: "Project Portfolio",
}
}
</script>
<style>
.card-list {
@apply flex flex-col;
}
</style>

View File

@ -8,6 +8,7 @@
<div class="card-list">
<ProjectItem name="nanao.moe" codename="miracle" description="The home page for my online identity." />
<ProjectItem name="nanao.moe Blog" codename="yuika" description="The blog for my hobbies" />
<ProjectItem name="Altessimo" codename="altessimo" description="Web database of Idolmaster composers" />
</div>
</main>
</div>