diff --git a/package.json b/package.json index 7c13c0d..7432159 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,8 @@ "format": "prettier --write src/" }, "dependencies": { + "@ant-design/icons-vue": "^7.0.1", + "ant-design-vue": "^4.2.5", "pinia": "^2.1.7", "vue": "^3.4.29", "vue-router": "^4.3.3" diff --git a/src/App.vue b/src/App.vue index 76d8321..36a65c2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,82 +1,51 @@ - + +import CustomCard from '@/components/CustomCard.vue' + \ No newline at end of file diff --git a/src/assets/main.css b/src/assets/main.css index 3d1340f..bbf3199 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -5,6 +5,21 @@ margin: 0 auto; padding: 2rem; font-weight: normal; + display: flex; + flex-direction: column; +} + +header { + margin: 0 auto; +} + +main { + /*width: 80%;*/ + width: 1080px; + display: flex; + justify-content: center; + flex: 2 800px; + margin: 0 auto; } a, @@ -22,11 +37,6 @@ a, } @media (min-width: 1024px) { - body { - display: flex; - place-items: center; - } - #app { padding: 0 2rem; } diff --git a/src/components/CustomCard.vue b/src/components/CustomCard.vue index 062384e..5c387f5 100644 --- a/src/components/CustomCard.vue +++ b/src/components/CustomCard.vue @@ -7,9 +7,7 @@ const customCard = ref(new CustomCard())