게시판 view 수정

This commit is contained in:
kimdaae328 2024-12-17 10:32:18 +09:00
parent c56acf60f8
commit 6d0b078bc6
3 changed files with 45 additions and 31 deletions

View File

@ -1,6 +1,18 @@
<template>
<div>
<div class="card shadow-none border mt-6">
<div class="card-body">
<div class="d-flex justify-content-start align-items-top">
<div class="avatar-wrapper">
<div class="avatar me-4"><img src="/img/avatars/11.png" alt="Avatar" class="rounded-circle"></div>
</div>
<div class="w-100">
<textarea class="form-control" placeholder="주제에 대한 생각을 자유롭게 댓글로 표현해 주세요.&#13;&#10;여러분의 다양한 의견을 기다립니다."></textarea>
</div>
</div>
</div>
</div>
<div class="mb-4 text-end">
<button class="btn btn-primary my-4">답변 쓰기</button>
</div>
</template>

View File

@ -1,10 +1,4 @@
<template>
<div class="col">
<div class="card">
<div class="card-header">
<BoardProfile profileName="만드레야2" />
</div>
<div class="card-body">
<div class="d-flex justify-content-between align-items-center flex-wrap mb-6 gap-2">
<div class="me-1">
<h5 class="mb-0">리액트 강의 추천좀</h5>
@ -22,17 +16,11 @@
<div class="d-flex min-150">
<p class="mb-0">현재 사용중인데 리액트 공부가 해보고 싶습니다. 강의 추천해주십쇼! 리액트 1 모릅니다.</p>
</div>
<div class="mb-4 text-end">
<button class="btn btn-primary my-4">답변 쓰기</button>
</div>
</div>
</div>
</div>
</template>
<script setup>
import BoardProfile from './BoardProfile.vue';
import BoardComentArea from './BoardComentArea.vue';
import BoardProfile from './BoardProfile.vue';
</script>
<style scoped>

View File

@ -1,16 +1,30 @@
<template>
<div class="container-xxl flex-grow-1 container-p-y">
<div class="row">
<div class="col">
<div class="card">
<div class="card-header">
<BoardProfile profileName="만드레야2"/>
</div>
<div class="card-body">
<BoardContent />
<BoardComentArea />
</div>
<div class="card-footer">
<BoardComment />
</div>
</div>
</div>
</div>
</div>
</template>
<script setup>
import BoardComentArea from '@/components/board/BoardComentArea.vue';
import BoardComment from '@/components/board/BoardComment.vue';
import BoardContent from '@/components/board/BoardContent.vue';
import BoardProfile from '@/components/board/BoardProfile.vue';
</script>