Skip to content

Commit 9f238c4

Browse files
committed
Layout fixes
1 parent 5f02877 commit 9f238c4

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/App.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<!-- Header Start -->
33
<nav id="nav" class="container mx-auto bg-white">
4-
<div class="md:flex items-center justify-between py-5">
4+
<div class="md:flex items-center justify-between px-4 py-5">
55
<div class="flex justify-between items-center">
66
<div class="text-2xl font-bold text-gray-800 md:text-3xl">
77
<a href="#">Brand</a>
@@ -31,7 +31,7 @@
3131
<!-- Render Active Component Contents End -->
3232

3333
<!-- Footer Start -->
34-
<div class="container mx-auto bg-white">
34+
<div class="container mx-auto bg-white px-4">
3535
<div class="md:flex items-center justify-between py-5">
3636
<div class="flex justify-between items-center">
3737
<div class="text-lg text-gray-800">
@@ -40,9 +40,9 @@
4040
</div>
4141
<div>
4242
<ul class="flex gap-4">
43-
<li class="text-gray-500"><i data-feather="twitter"></i></li>
44-
<li class="text-gray-500"><i data-feather="instagram"></i></li>
45-
<li class="text-gray-500"><i data-feather="github"></i></li>
43+
<li class="text-gray-500 cursor-pointer"><i data-feather="twitter"></i></li>
44+
<li class="text-gray-500 cursor-pointer"><i data-feather="instagram"></i></li>
45+
<li class="text-gray-500 cursor-pointer"><i data-feather="github"></i></li>
4646
</ul>
4747
</div>
4848
</div>

src/components/About.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="container mx-auto">
2+
<div class="container mx-auto px-4">
33
<p>About Page</p>
44
<i data-feather="home"></i>
55
</div>

src/components/Home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="container mx-auto">
2+
<div class="container mx-auto px-4">
33
<p>Home Page</p>
44
<i data-feather="home"></i>
55
</div>

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ import './assets/css/tailwind.css'
66
const feather = require('feather-icons')
77
feather.replace()
88

9-
createApp(App).use(router).use(router).mount('#app')
9+
createApp(App).use(router).mount('#app')

0 commit comments

Comments
 (0)