This commit is contained in:
Mosab Ibrahim
2020-05-08 16:34:03 +02:00
parent b571d25733
commit ca10ec1b74
5 changed files with 54 additions and 33 deletions

View File

@@ -2,47 +2,53 @@ export default [
{ {
name: 'Alert', name: 'Alert',
components: [ components: [
{ name: 'Success Alert' }, { name: 'Success alert' },
{ name: 'Info Alert' }, { name: 'Info alert' },
{ name: 'Warning Alert' }, { name: 'Warning alert' },
{ name: 'Error Alert' }, { name: 'Error alert' },
{ name: 'Notification Pop' }, { name: 'Notification pop' },
], ],
}, },
{ {
name: 'Cards', name: 'Cards',
components: [ components: [
{ name: 'Article Card' }, { name: 'Article card' },
{ name: 'Article Card With Image' }, { name: 'Article card with image' },
{ name: 'Product Card' }, { name: 'Product card' },
{ name: 'Product Card With Evaluation' }, { name: 'Product card with evaluation' },
{ name: 'Testimonial Card' }, { name: 'Testimonial card' },
{ name: 'User Card' }, { name: 'User card' },
{ name: 'User Card With Details' }, { name: 'User card with details' },
], ],
}, },
{ {
name: 'Forms', name: 'Forms',
components: [ components: [
{name: 'Inputs Form'}, {name: 'Inputs Form'},
{name: 'Newsletter Form'}, {name: 'Newsletter form'},
{name: 'Sign In Form'}, {name: 'Sign in form'},
{name: 'Sign In Form With Image'}, {name: 'Sign in form with image'},
],
},
{
name: 'Heroes',
components: [
{ name: 'Hero With Image' },
{ name: 'Hero With Pattern' },
], ],
}, },
{ {
name: 'Navbars', name: 'Navbars',
components: [ components: [
{ name: 'Navbar' }, { name: 'Navbar' },
{ name: 'Navbar With Search' }, { name: 'Navbar with search' },
]
},
{
name: 'Headers',
components: [
{ name: 'Header with image' },
{ name: 'Header with pattern' },
],
},
{
name: 'Sections',
components: [
{ name: 'Paragraph with image' },
] ]
}, },
{ {
@@ -51,4 +57,10 @@ export default [
{ name: 'Pagination' }, { name: 'Pagination' },
] ]
}, },
{
name: 'Footers',
components: [
{ name: 'Footer with subscribe form' },
]
},
]; ];

View File

@@ -23,7 +23,7 @@
</div> </div>
</div> </div>
</div> </div>
<p class="mt-8 text-gray-700">Heroes components require simple(Don't panic please😘) <a class="text-blue-600 hover:underline" href="https://gist.github.com/Miaababikir/052e31b345781c0f73180b80a285781b" target="_blank">configuration</a></p> <p class="mt-8 text-gray-700">Header components require simple(Don't panic please😘) <a class="text-blue-600 hover:underline" href="https://gist.github.com/Miaababikir/052e31b345781c0f73180b80a285781b" target="_blank">configuration</a></p>
</div> </div>
<div class="w-full max-w-5xl mx-auto"> <div class="w-full max-w-5xl mx-auto">
@@ -61,14 +61,19 @@
import NewsletterForm from "./UI/Forms/NewsletterForm"; import NewsletterForm from "./UI/Forms/NewsletterForm";
import SignInForm from "./UI/Forms/SignInForm"; import SignInForm from "./UI/Forms/SignInForm";
import SignInFormWithImage from "./UI/Forms/SignInFormWithImage"; import SignInFormWithImage from "./UI/Forms/SignInFormWithImage";
// Heroes // Header
import HeroWithImage from "./UI/Heroes/HeroWithImage"; import HeaderWithImage from "./UI/Header/HeaderWithImage";
import HeroWithPattern from "./UI/Heroes/HeroWithPattern"; import HeaderWithPattern from "./UI/Header/HeaderWithPattern";
// Navbars // Navbars
import Navbar from "./UI/Navbars/Navbar"; import Navbar from "./UI/Navbars/Navbar";
import NavbarWithSearch from "./UI/Navbars/NavbarWithSearch"; import NavbarWithSearch from "./UI/Navbars/NavbarWithSearch";
// Paginations // Sections
import ParagraphWithImage from "./UI/Sections/ParagraphWithImage";
// Pagination
import Pagination from "./UI/Paginations/Pagination"; import Pagination from "./UI/Paginations/Pagination";
// Footers
import FooterWithSubscribeForm from "./UI/Footers/FooterWithSubscribeForm";
import Component from "../Models/Component"; import Component from "../Models/Component";
@@ -95,14 +100,18 @@
SignInForm, SignInForm,
SignInFormWithImage, SignInFormWithImage,
HeroWithImage, HeaderWithImage,
HeroWithPattern, HeaderWithPattern,
Navbar, Navbar,
NavbarWithSearch, NavbarWithSearch,
ParagraphWithImage,
Pagination, Pagination,
FooterWithSubscribeForm,
ViewComponent, ViewComponent,
}, },
data() { data() {

View File

@@ -74,7 +74,7 @@
export default { export default {
data() { data() {
return { return {
name: 'Hero With Image', name: 'Header With Image',
isOpen: false, isOpen: false,
} }
} }

View File

@@ -52,7 +52,7 @@
export default { export default {
data() { data() {
return { return {
name: 'Hero With Pattern' name: 'Header With Pattern'
} }
} }
} }