Compare commits

...

10 commits

Author SHA1 Message Date
Keyemail 225ba506fb Moved from github 2024-05-14 00:52:16 -07:00
Keyemail a5de236b8c Comments done! Redesign! 2024-05-07 23:30:34 -07:00
Patrick Hatsune 35e9697681 Screen sizing 2024-05-07 14:13:12 -07:00
Keyemail a07e1aeffe Commment Section & Designs 2024-05-05 20:24:26 -07:00
Patrick Hatsune 8eda99ae06 Adding Comments! 2024-05-03 11:43:07 -07:00
Patrick Hatsune d142747912 Fixed Issues 2024-04-26 11:25:47 -07:00
Patrick Hatsune 55aa2d0c5e Fixed Issues 2024-04-22 11:03:18 -07:00
Keyemail c0ba8016c3 New design 2024-04-22 00:00:35 -07:00
Keyemail bde7a4ca90 project & profile update 2024-01-25 00:12:58 -08:00
Keyemail 688438d473 fixed socials grid 2024-01-15 21:24:28 -08:00
16 changed files with 366 additions and 86 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -17,8 +17,8 @@ export default {
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap');
html, body, #app { html, body, #app {
height: 100%;
scroll-behavior: smooth; scroll-behavior: smooth;
background-color: #192236;
} }
#app { #app {
@ -33,8 +33,4 @@ html, body, #app {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
body {
background-color: #192236;
}
</style> </style>

Binary file not shown.

BIN
src/assets/no-picture.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
src/assets/profile.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

View file

@ -5,6 +5,7 @@
<li><router-link to="/">Home</router-link></li> <li><router-link to="/">Home</router-link></li>
<li><router-link to="/gallery">Gallery</router-link></li> <li><router-link to="/gallery">Gallery</router-link></li>
<li><router-link to="/socials">Socials</router-link></li> <li><router-link to="/socials">Socials</router-link></li>
<li><router-link to="/projects">Projects</router-link></li>
</ul> </ul>
<div class="mobileNavButton" v-else> <div class="mobileNavButton" v-else>
<i class="fa-solid fa-x" @click="mobileUI(); handleResize();" v-if="turnOnMobileUI"></i> <i class="fa-solid fa-x" @click="mobileUI(); handleResize();" v-if="turnOnMobileUI"></i>
@ -17,6 +18,7 @@
<li><router-link to="/" @click="mobileUI()">Home</router-link></li> <li><router-link to="/" @click="mobileUI()">Home</router-link></li>
<li><router-link to="/gallery" @click="mobileUI()">Gallery</router-link></li> <li><router-link to="/gallery" @click="mobileUI()">Gallery</router-link></li>
<li><router-link to="/socials" @click="mobileUI()">Socials</router-link></li> <li><router-link to="/socials" @click="mobileUI()">Socials</router-link></li>
<li><router-link to="/projects" @click="mobileUI()">Projects</router-link></li>
</ul> </ul>
</div> </div>
</div> </div>

View file

@ -0,0 +1,11 @@
<template>
</template>
<style>
</style>
<script>
</script>

8
src/data/projects.js Normal file
View file

@ -0,0 +1,8 @@
export default [
{
"name": "Weather App",
"description": "A cool weather app I decided to build for computer science class! This was coded by me, all images and data belong to code.org.",
"photo": "project_thumbnails/weather.png",
"id": "1"
}
]

View file

@ -4,6 +4,7 @@ import homeView from '../views/HomePage.vue'
import galleryView from '../views/GalleryPage.vue' import galleryView from '../views/GalleryPage.vue'
import socialView from '../views/SocialsPage.vue' import socialView from '../views/SocialsPage.vue'
import notFoundPage from '../views/404Page.vue' import notFoundPage from '../views/404Page.vue'
import projectsView from '../views/ProjectsPage.vue'
const routes = [ const routes = [
{ {
@ -24,6 +25,11 @@ const routes = [
{ {
path: '/:pathMatch(.*)', path: '/:pathMatch(.*)',
component: notFoundPage component: notFoundPage
},
{
path: '/projects',
name: 'Projects',
component: projectsView
} }
] ]

View file

@ -1,114 +1,210 @@
<template> <template>
<div class="header"> <header>
<div class="headContents"> <a class="pfp" href="https://www.pixiv.net/en/artworks/118037520">
<h1>Hello, I'm Keyemail or Patrick.</h1> <img src="@/assets/profile.jpg"/>
<p> </a>
I specialize in IT and web development-related stuff, but I also love doing a variety of different hobbies such as Flight Simulator, or learning Japanese. <h1>Keyemail</h1>
I daily run an Arch Linux machine as my main system and support Linux in every way. I'm glad to meet you! </header>
</p> <div class="section-row">
<div class="intro">
<h1>Hi, I'm Keyemail or Patrick.</h1>
<p>I specialize in IT and web development-related stuff, but I also love doing a variety of different hobbies such as Flight Simulator, or learning Japanese. I daily run an Arch Linux machine as my main system and support Linux in every way. I'm glad to meet you! </p>
</div> </div>
<img alt="Profile Picture" src="../assets/roller_profile_circle.png"> <article>
<h1>Comments!</h1>
<div>
<span>Developer: Sorry this function is in the workings! Come back later to use this function.</span>
</div>
<input type="text" placeholder="Start Typing.." required minlength="1"/>
</article>
</div> </div>
<i class="fa-solid fa-arrow-down morearrow" @click="downArrow()" title="Nothing.."></i>
</template> </template>
<script>
export default {
methods: {
downArrow(){
if(counter >= 4){
var quack = new Audio(require('@/assets/sounds/duck-quack.mp3'));
quack.play();
alert('You just got quacked!');
counter = 0;
} else {
alert('Nothing to scroll down to, may come useful later though..');
counter++;
}
}
}
}
var counter = 0;
</script>
<style scoped> <style scoped>
.header { header {
position: relative;
color: white;
height: 100%;
font-family: 'Rubik', sans-serif;
display: flex; display: flex;
justify-content: space-between;
align-items: center; align-items: center;
margin-top: 20px;
background-image: url(@/assets/banner_website.avif);
background-repeat: no-repeat;
background-size: cover;
background-position: center 20%;
height: 180px;
width: 100%;
background-color: #0df;
border-radius: 10px;
font-family: 'Rubik', sans-serif;
} }
.headContents { header h1 {
height: fit-content; color: white;
margin-left: 20px;
font-size: 3rem;
-webkit-text-stroke: 1px black;
} }
.headContents h1{ .pfp {
font-weight: 500; height: 130px !important;
font-size: 50px width: 130px !important;
border: solid;
border-width: 4px;
border-radius: 50%;
border-color: white;
overflow: hidden;
margin-left: 20px;
} }
.headContents p { .pfp img {
margin-top: 40px; width:100%;
font-weight: 400; height:100%;
font-size: 30px; object-fit: cover;
width: 900px; background-color: #afb5c8
} }
.header img { .section-row {
width: 400px;
height: 400px;
justify-self: center;
}
.workinprogress {
display: flex; display: flex;
justify-content: center; flex-direction: row;
margin-top: 200px; justify-content: space-between;
flex-wrap: wrap;
}
.intro {
display: flex;
flex-direction: column;
margin-top: 90px;
width: 700px;
color: white; color: white;
font-family: 'Rubik', sans-serif; font-family: 'Rubik', sans-serif;
background-color: #151d2f;
border-radius: 10px;
padding: 20px;
}
.intro h1 {
font-size: 3.5rem;
font-weight: 500; font-weight: 500;
font-size: 30px; text-align: left;
} }
@media only screen and (max-width: 1376px){ .intro p {
.workinprogress{ margin-top: 15px;
font-size: 20px; font-size: 1.8rem;
} font-weight: 400;
text-align: left;
max-width: 1200px;
} }
@media only screen and (max-width: 1360px) { article {
.header { background-color: #151d2f;
justify-content: center; height: 350px;
flex-direction: column; width: 700px;
margin-top: 80px; margin-top: 90px;
} border-radius: 10px;
padding: 20px;
}
.headContents{ article h1 {
font-size: 1.5rem;
color: white;
font-family: 'Rubik', sans-serif;
width: 100%;
text-align: center;
}
article div {
color: white;
font-family: 'Rubik', sans-serif;
font-weight: 300;
margin-top: 10px;
display: flex;
flex-direction: column-reverse;
overflow: auto;
height: 240px;
background-color: #111826;
padding: 10px;
border-radius: 10px;
}
article span {
margin: 8px 0;
}
article input {
all: unset;
margin-top: 10px;
background-color: #111826;
height: 40px;
color: white;
padding: 5px;
border-radius: 10px;
width: 100%;
box-sizing: border-box;
font-family: 'Rubik', sans-serif;
font-weight: 300;
}
.morearrow {
cursor: pointer;
font-size: 40px;
color: white;
margin: 40px auto;
margin-top: 80px;
}
@media screen and (max-width: 1519px){
.section-row > * {
width: 100%;
}
.intro h1 {
text-align: center; text-align: center;
} }
.intro p {
.header img{ text-align: center;
margin-top: 60px; max-width: 100%;
width: 350px; }
height: 350px; article{
padding-bottom: 60px; margin-top: 20px;
} }
} }
@media only screen and (max-width: 990px){ @media screen and (max-width: 450px){
.headContents p { header {
width: auto; flex-direction: column;
height: 240px;
justify-content: center;
} }
.workinprogress { header h1 {
font-size: 15px; margin-left: 0px;
} }
.intro h1 {
font-size: 3rem;
}
.intro p {
font-size: 1.8rem;
}
.pfp{
margin-left: 0px;
}
} }
</style>
@media only screen and (max-width: 720px) {
.workinprogress {
font-size: 10px;
}
.header {
height: auto;
margin-top: 100px;
}
}
@media only screen and (max-height: 720px) {
.header {
height: auto;
margin-top: 100px;
}
}
@media only screen and (max-width: 380px) {
.header img {
width: 100%;
height: auto;
}
}
</style>

153
src/views/ProjectsPage.vue Normal file
View file

@ -0,0 +1,153 @@
<template>
<div class="projects center">
<div class="projectTitle">
<h1>Projects</h1>
<p>Some cool projects I will post here!</p>
</div>
<div class="projectsGrid">
<ul class="projectsList">
<li v-for="project in projects" :key="project.id" @click="workinprogress()">
<div>
<h1>{{ project.name }}</h1>
<p>{{ project.description }}</p>
</div>
<img :src="require('@/assets/' + project.photo)"/>
</li>
</ul>
</div>
</div>
</template>
<script>
import projectData from '../data/projects.js'
export default {
data() {
return {
projects: projectData
}
},
methods: {
workinprogress(){
alert("Work in progress! Check back soon.");
}
}
}
</script>
<style scoped>
.center {
display: grid;
grid-template-columns: [breakout-start] 50px 50px [content-start] 1fr [content-end] 50px 50px [breakout-end];
}
.center > * {
grid-column: content;
}
.projects {
color: white;
font-family: 'Rubik', sans-serif;
margin-top: 60px;
}
.projectTitle {
width: 100%
}
.projectTitle h1 {
font-weight: 500;
font-size: 3rem;
}
.projectTitle p {
margin-top: 5px;
font-size: 1.5rem;
}
.projectsGrid {
margin-top: 20px;
width: 100%;
}
.projectsList li {
display: flex;
align-items: center;
margin-top: 9px;
width: 100%;
min-height: 210px;
background-color: #141926;
border-radius: 15px;
transition: 0.3s background-color;
cursor: pointer;
}
.projectsList li:hover {
background-color:#11151f;
}
.projectsList div {
width: 90%;
height: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
padding: 15px;
}
.projectsList h1 {
font-size: 2.5rem;
}
.projectsList p {
font-size: 1.5rem;
}
.projectsList img {
width: 170px;
height: 170px;
border-radius: 5px;
justify-self: center;
margin: 15px;
object-fit: cover;
object-position: center;
}
@media only screen and (max-width: 1060px) {
.center > * {
grid-column: breakout;
}
}
@media only screen and (max-width: 660px) {
.projectsList li {
min-height: 160px;
}
.projectsList h1 {
font-size: 2rem;
}
.projectsList p {
font-size: 1rem;
}
.projectsList img {
width: 130px;
height: 130px;
}
}
@media only screen and (max-width: 430px) {
.projectsList h1 {
font-size: 1.5rem;
}
.projectsList p {
font-size: 0.8rem;
}
}
@media only screen and (max-width: 380px){
.projectsList img {
display: none;
}
}
</style>

View file

@ -148,4 +148,12 @@
margin-left: 0px; margin-left: 0px;
} }
} }
@media only screen and (max-height: 720px){
.socials {
display: flex;
justify-content: unset;
margin-top: 80px;
}
}
</style> </style>