Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mhmmdkze #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# VueBoard
# persian panel
persian-panel create with vuejs

Dashboard starter template built Vue 3, Tailwind CSS and TypeScript.

![Dashboard](./dashboard.png)
![Dashboard](./dashboard2.png)
# fast explain
Dashboard starter template built Vue 3, Tailwind CSS and TypeScript. we try to develope our project this is a start

![Dashboard](./dashboard1.png)

## Usage

Expand Down
Binary file removed dashboard.png
Binary file not shown.
Binary file added dashboard1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed dashboard2.png
Binary file not shown.
65 changes: 39 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"@vue/eslint-config-typescript": "^9.1.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"tailwindcss-rtl": "^0.9.0",
"typescript": "~4.5.5",
"vue-cli-plugin-tailwind": "~3.0.0"
}
}
}
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="icon" href="<%= BASE_URL %>fav.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<body dir="rtl">
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
Expand Down
13 changes: 13 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,16 @@ const layout = computed(
() => `${currentRoute.value.meta.layout || defaultLayout}-layout`
)
</script>

<style>
@font-face {
font-family: "Far_Nazanin";
src: local("Far_Nazanin"),
url('./assets/fonts/Far_Nazanin.ttf') format('truetype');
font-weight: normal;
font-style: normal;
};
* {
font-family: "Far_Nazanin"
};
</style>
Binary file added src/assets/fonts/Far_Nazanin.ttf
Binary file not shown.
7 changes: 4 additions & 3 deletions src/components/Header.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template>
<template dir="rtl">
<header
class="
flex
Expand Down Expand Up @@ -98,7 +98,7 @@
v-show="notificationOpen"
class="
absolute
right-0
left-0
mt-2
w-80
bg-white
Expand Down Expand Up @@ -244,10 +244,11 @@
leave-to-class="scale-95 opacity-0"
>
<div
dir="rtl"
v-show="dropdownOpen"
class="
absolute
right-0
left-0
z-20
w-48
py-1
Expand Down
30 changes: 15 additions & 15 deletions src/components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<!-- End Backdrop -->

<div
:class="isOpen ? 'translate-x-0 ease-out' : '-translate-x-full ease-in'"
:class="isOpen ? '-translate-x-0 ease-in' : 'translate-x-full ease-out'"
class="
fixed
inset-y-0
left-0
right-0
z-30
w-64
overflow-y-auto
Expand Down Expand Up @@ -49,12 +49,12 @@
></path>
</svg>

<span class="mx-2 text-2xl font-semibold text-white">VueBoard</span>
<span class="mx-2 text-2xl font-semibold text-white">پنل ادمین</span>
</div>
</div>

<nav class="mt-10">
<p class="pl-4 text-xs font-semibold mb-4 text-gray-400">GENERAL</p>
<p class="pl-4 text-xs font-semibold mb-4 text-gray-400">عمومی</p>
<router-link
class="flex items-center px-6 py-2 mt-4 duration-200 border-l-4"
:class="[$route.name === 'Dashboard' ? activeClass : inactiveClass]"
Expand All @@ -75,10 +75,10 @@
></path>
</svg>

<span class="mx-4">Dashboard</span>
<span class="mx-4">داشبورد</span>
</router-link>
<p class="pl-4 my-2 text-xs font-semibold mb-4 text-gray-400">
Examples
مثال ها
</p>

<router-link
Expand Down Expand Up @@ -110,7 +110,7 @@
/>
</svg>

<span class="mx-4">UI Elements</span>
<span class="mx-4">طراحی ها</span>
</router-link>

<router-link
Expand Down Expand Up @@ -138,7 +138,7 @@
/>
</svg>

<span class="mx-4">Tables</span>
<span class="mx-4">جدول ها</span>
</router-link>

<router-link
Expand All @@ -157,7 +157,7 @@
/>
</svg>

<span class="mx-4">Forms</span>
<span class="mx-4">فرم ها</span>
</router-link>

<router-link
Expand All @@ -179,7 +179,7 @@
/>
</svg>

<span class="mx-4">Cards</span>
<span class="mx-4">حساب های اعتباری</span>
</router-link>

<router-link
Expand All @@ -204,7 +204,7 @@
/>
</svg>

<span class="mx-4">Modal</span>
<span class="mx-4">مدال</span>
</router-link>
<router-link
class="flex items-center px-6 py-2 mt-4 duration-200 border-l-4"
Expand All @@ -221,7 +221,7 @@
<path d="M12 2.252A8.014 8.014 0 0117.748 8H12V2.252z" />
</svg>

<span class="mx-4">Charts</span>
<span class="mx-4">چارت</span>
</router-link>
<router-link
class="flex items-center px-6 py-2 mt-4 duration-200 border-l-4"
Expand All @@ -234,14 +234,14 @@
/>
</svg>

<span class="mx-4">Blank</span>
<span class="mx-4">صفحه خالی</span>
</router-link>
<p class="pl-4 text-xs my-2 font-semibold mb-4 text-gray-400">About</p>
<p class="pl-4 text-xs my-2 font-semibold mb-4 text-gray-400">درباره ما</p>
<a
target="_blank"
class="flex items-center px-6 py-2 mt-4 duration-200 border-l-4"
:class="[$route.name === 'Blank' ? activeClass : inactiveClass]"
href="https://github.com/tal7aouy"
href="https://github.com/mohammadkze"
>
<svg
class="w-5 h-5 fill-current"
Expand Down
8 changes: 4 additions & 4 deletions src/partials/Banner.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<template dir="rtl">
<div
v-show="open"
class="fixed bottom-0 right-0 w-full md:bottom-8 md:right-12 md:w-auto z-60"
class="fixed bottom-0 left-0 w-full md:bottom-8 md:right-12 md:w-auto z-60"
>
<div
class="
Expand All @@ -10,8 +10,8 @@
p-3
md:rounded
shadow-lg
flex
justify-between
flex
flex-row-reverse
"
>
<div>
Expand Down
Loading