began work on profile page

This commit is contained in:
ajdj100
2023-05-18 00:29:27 -04:00
parent 72184f07f2
commit 6386e02acd
7 changed files with 105 additions and 23 deletions

View File

@@ -0,0 +1,33 @@
<script>
import profileHeader from './profileHeader.vue'
export default {
name: 'ProfilePage',
components: {
profileHeader
}
}
</script>
<template>
<div id="ProfileWrapper">
<profileHeader></profileHeader>
test words
<div id="profileContentWrapper">
<RouterView />
</div>
</div>
</template>
<style>
#profileContentWrapper {
margin-left: 300px;
margin-top: 100px;
}
#ProfileWrapper {
display: flex;
flex-direction: row;
}
</style>

View File

@@ -11,17 +11,35 @@ export default {
</script>
<template>
<div>
<div id="wrapper">
<div id="headerImages">
<img id="rankImg" src="../icons/misc/test.png" />
<img id="rangerTab" src="#"/>
<img id="rangerTab" src="#" />
</div>
<div id="mainInfo">
<h1>Big Name</h1>
<h2>Rank</h2>
<h2>Unit</h2>
</div>
<h1>Dis the header</h1>
</div>
</template>
<style>
#wrapper {
/* position: fixed; */
display: flex;
flex-direction: column-reverse;
margin-top: 50px;
max-width: 400px;
padding-right: 120px;
border-right: solid;
border-color: var(--background-secondary);
}
#mainInfo h1 {
margin: 20px 0 10px 0px;
}
#rankImg {
max-width: 200px;
}
@@ -31,4 +49,13 @@ export default {
flex-direction: column;
align-items: center;
}
@media screen and (max-width: 1300px) {
#wrapper {
flex-direction: row;
border: none;
margin-left: 25vw;
}
}
</style>

View File

@@ -0,0 +1,18 @@
<script>
import { stringLiteral } from '@babel/types';
import { RouterLink } from 'vue-router'
export default {
name: 'subnav',
props: {
link: String,
active: Boolean
}
}
</script>
<template>
<RouterLink :to="link">
<p>{{ content }}</p>
</RouterLink>
</template>