Skip to content
Snippets Groups Projects
Commit dc230053 authored by HyunKyeong Park's avatar HyunKyeong Park
Browse files

활동로그 제작중

parent d8e72b63
Branches
No related tags found
No related merge requests found
...@@ -5,7 +5,14 @@ ...@@ -5,7 +5,14 @@
<h4 class="hi">Hi</h4> <h4 class="hi">Hi</h4>
</div> </div>
<div v-if="isLogin === true"> <div v-if="isLogin === true">
<h1>Profile</h1> <b-img
src="https://picsum.photos/1024/400/?image=41"
thumbnail
fluid
alt="Responsive image">
</b-img>
<br>
<br>
<p>이름 : {{userInfo.name}}</p> <p>이름 : {{userInfo.name}}</p>
<p>대학교 : {{userInfo.univ}}</p> <p>대학교 : {{userInfo.univ}}</p>
<p>전공 : {{userInfo.department}}</p> <p>전공 : {{userInfo.department}}</p>
...@@ -46,6 +53,7 @@ ...@@ -46,6 +53,7 @@
import {mapState} from "vuex" import {mapState} from "vuex"
import { BButton } from 'bootstrap-vue' import { BButton } from 'bootstrap-vue'
import { ListGroupPlugin } from 'bootstrap-vue' import { ListGroupPlugin } from 'bootstrap-vue'
import { BImg } from 'bootstrap-vue'
export default { export default {
name: 'Nav', name: 'Nav',
...@@ -103,4 +111,8 @@ export default { ...@@ -103,4 +111,8 @@ export default {
letter-spacing: 1px; letter-spacing: 1px;
} }
img {
margin-left: -5px;
}
</style> </style>
\ No newline at end of file
...@@ -2,17 +2,35 @@ ...@@ -2,17 +2,35 @@
<template> <template>
<div class="board"> <div class="board">
<NavClub id="navClub"></NavClub> <NavClub id="navClub"></NavClub>
제목: {{board[0].title}}<br> <div class="boardTable">
내용: {{board[0].content}}<br> <table>
글쓴이: {{board[0].writer}}<br> <thead>
작성 날짜: {{board[0].date}}<br> <tr>
<th>활동일지</th>
</tr>
</thead>
<tbody>
<tr>
<td>제목: {{board[0].title}}</td>
</tr>
<tr>
<td>내용: {{board[0].content}}</td>
</tr>
<tr>
<td>글쓴이: {{board[0].writer}}</td>
</tr>
<tr>
<td>작성 날짜: {{board[0].date}}</td>
</tr>
</tbody>
</table>
</div>
</div> </div>
</template> </template>
<script> <script>
import axios from "axios" import axios from "axios"
import NavClub from '@/components/NavClub.vue' import NavClub from '@/components/NavClub.vue'
import { VBToggle } from 'bootstrap-vue'
export default { export default {
components: { components: {
...@@ -36,5 +54,32 @@ export default { ...@@ -36,5 +54,32 @@ export default {
} }
</script> </script>
<style> <style>
/*table {
margin-left: auto;
margin-right: auto;
text-align: center;
}*/
table {
width: 60%;
border: 1px solid #444444;
border-collapse: collapse;
table-layout: auto;
}
th, td {
border-bottom: 1px solid #444444;
padding: 10px;
}
.boardTable {
margin-top: 40px;
margin-left: 300px;
text-align: start;
}
.boardWrite {
clear: both;
margin-top: 20px;
width: 100px;
}
</style> </style>
\ No newline at end of file
...@@ -69,6 +69,7 @@ export default { ...@@ -69,6 +69,7 @@ export default {
margin-top: 20px; margin-top: 20px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.header-subtitle { .header-subtitle {
color: #777; color: #777;
font-size: 16px; font-size: 16px;
...@@ -119,6 +120,4 @@ hr.section-divider:after { ...@@ -119,6 +120,4 @@ hr.section-divider:after {
font-weight: 500; font-weight: 500;
text-transform: uppercase; text-transform: uppercase;
} }
</style> </style>
\ No newline at end of file
...@@ -95,7 +95,7 @@ p { ...@@ -95,7 +95,7 @@ p {
.mypage a { .mypage a {
width: 80%; width: 80%;
color: #ffffff; color: #ffffff;
background-color: #FA6900; background-color: #54397e;
border-radius: 14px; border-radius: 14px;
border: none; border: none;
padding: 5px; padding: 5px;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<div class="clubView"> <div class="clubView">
<NavClub id="navClub"></NavClub> <NavClub id="navClub"></NavClub>
<div class="clubMain"> <div class="clubMain">
<div class="logTable">
<table> <table>
<thead> <thead>
<tr> <tr>
...@@ -21,14 +22,19 @@ ...@@ -21,14 +22,19 @@
</div> </div>
</tbody> </tbody>
</table> </table>
<router-link :to="{path:`/post/${club[0].id}`}">글쓰기</router-link> </div>
<div class="logWrite">
<router-link :to="{path:`/post/${club[0].id}`}">
<b-button variant="outline-primary">글쓰기</b-button>
</router-link>
</div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import NavClub from '@/components/NavClub.vue' import NavClub from '@/components/NavClub.vue'
import { BPagination } from 'bootstrap-vue' import { BButton } from 'bootstrap-vue'
export default { export default {
name: 'club_post', name: 'club_post',
...@@ -79,13 +85,13 @@ export default { ...@@ -79,13 +85,13 @@ export default {
.clubMain { .clubMain {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
table { table {
width: 80%; width: 100%;
border-top: 1px solid #444444; border-top: 1px solid #444444;
border-collapse: collapse; border-collapse: collapse;
table-layout: auto table-layout: auto
...@@ -95,4 +101,13 @@ th, td { ...@@ -95,4 +101,13 @@ th, td {
padding: 10px; padding: 10px;
} }
.logTable {
margin-top: 20px;
}
.logWrite {
clear: both;
margin-top: 20px;
width: 100px;
}
</style> </style>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment