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

feat: add template #1

Merged
merged 1 commit into from
Dec 31, 2021
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added public/fonts/Gilroy-Bold.woff
Binary file not shown.
Binary file added public/fonts/Gilroy-Heavy.woff
Binary file not shown.
Binary file added public/fonts/Gilroy-Light.woff
Binary file not shown.
Binary file added public/fonts/Gilroy-Medium.woff
Binary file not shown.
Binary file added public/fonts/Gilroy-Regular.woff
Binary file not shown.
Binary file added public/fonts/Simple-Line-Icons.eot
Binary file not shown.
200 changes: 200 additions & 0 deletions public/fonts/Simple-Line-Icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/fonts/Simple-Line-Icons.ttf
Binary file not shown.
Binary file added public/fonts/Simple-Line-Icons.woff
Binary file not shown.
Binary file added public/fonts/Simple-Line-Icons.woff2
Binary file not shown.
Binary file added public/fonts/fa-brands-400.eot
Binary file not shown.
3,449 changes: 3,449 additions & 0 deletions public/fonts/fa-brands-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/fonts/fa-brands-400.ttf
Binary file not shown.
Binary file added public/fonts/fa-brands-400.woff
Binary file not shown.
Binary file added public/fonts/fa-brands-400.woff2
Binary file not shown.
Binary file added public/fonts/fa-regular-400.eot
Binary file not shown.
803 changes: 803 additions & 0 deletions public/fonts/fa-regular-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/fonts/fa-regular-400.ttf
Binary file not shown.
Binary file added public/fonts/fa-regular-400.woff
Binary file not shown.
Binary file added public/fonts/fa-regular-400.woff2
Binary file not shown.
Binary file added public/fonts/fa-solid-900.eot
Binary file not shown.
4,649 changes: 4,649 additions & 0 deletions public/fonts/fa-solid-900.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/fonts/fa-solid-900.ttf
Binary file not shown.
Binary file added public/fonts/fa-solid-900.woff
Binary file not shown.
Binary file added public/fonts/fa-solid-900.woff2
Binary file not shown.
Binary file added public/fonts/ionicons.eot
Binary file not shown.
2,230 changes: 2,230 additions & 0 deletions public/fonts/ionicons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/fonts/ionicons.ttf
Binary file not shown.
Binary file added public/fonts/ionicons.woff
Binary file not shown.
Binary file added public/img/banner/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/15.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/16.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/17.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/18.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/19.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/20.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/21.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/22.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/23.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner/7.jpg
Binary file added public/img/blog-post/1.jpg
Binary file added public/img/blog-post/2.jpg
Binary file added public/img/blog-post/3.jpg
Binary file added public/img/blog-post/4.jpg
Binary file added public/img/blog-post/5.jpg
Binary file added public/img/blog-post/avatar.jpg
Binary file added public/img/blog-post/large-blog.jpg
Binary file added public/img/brand/1.jpg
Binary file added public/img/brand/2.jpg
Binary file added public/img/brand/3.jpg
Binary file added public/img/brand/4.jpg
Binary file added public/img/brand/5.jpg
Binary file added public/img/category/1.1.jpg
Binary file added public/img/category/1.jpg
Binary file added public/img/category/2.jpg
Binary file added public/img/category/3.1.jpg
Binary file added public/img/category/3.jpg
Binary file added public/img/category/4.1.jpg
Binary file added public/img/category/4.jpg
Binary file added public/img/category/5.jpg
Binary file added public/img/category/6.jpg
Binary file added public/img/category/7.jpg
Binary file added public/img/category/8.1.jpg
Binary file added public/img/category/8.jpg
Binary file added public/img/favicon.ico
Binary file not shown.
Binary file added public/img/hot-deals/1.jpg
Binary file added public/img/hot-deals/10.jpg
Binary file added public/img/hot-deals/2.jpg
Binary file added public/img/hot-deals/3.jpg
Binary file added public/img/hot-deals/4.jpg
Binary file added public/img/hot-deals/5.1.jpg
Binary file added public/img/hot-deals/5.jpg
Binary file added public/img/hot-deals/6.jpg
Binary file added public/img/hot-deals/7.jpg
Binary file added public/img/hot-deals/8.1.jpg
Binary file added public/img/hot-deals/8.jpg
Binary file added public/img/hot-deals/9.jpg
Binary file added public/img/hot-deals/thumb/1.2x.jpg
Binary file added public/img/hot-deals/thumb/1.jpg
Binary file added public/img/hot-deals/thumb/2.2x.jpg
Binary file added public/img/hot-deals/thumb/2.jpg
Binary file added public/img/hot-deals/thumb/3.2x.jpg
Binary file added public/img/hot-deals/thumb/3.jpg
Binary file added public/img/hot-deals/thumb/4.2x.jpg
Binary file added public/img/hot-deals/thumb/4.jpg
Binary file added public/img/hot-deals/thumb/5.2x.jpg
Binary file added public/img/hot-deals/thumb/5.jpg
Binary file added public/img/hot-deals/thumb/6.2x.jpg
Binary file added public/img/hot-deals/thumb/6.jpg
Binary file added public/img/hot-deals/thumb/7.2x.jpg
Binary file added public/img/hot-deals/thumb/7.jpg
Binary file added public/img/icon/1.png
Binary file added public/img/icon/10.jpg
Binary file added public/img/icon/10.png
Binary file added public/img/icon/11.png
Binary file added public/img/icon/12.png
Binary file added public/img/icon/2.png
Binary file added public/img/icon/3.png
Binary file added public/img/icon/4.png
Binary file added public/img/icon/5.png
Binary file added public/img/icon/6.png
Binary file added public/img/icon/apple.png
Binary file added public/img/icon/phone.png
Binary file added public/img/icon/phone2.png
Binary file added public/img/icon/phone3.png
Binary file added public/img/icon/play.png
Binary file added public/img/logo/france.jpg
Binary file added public/img/logo/logo-dark.jpg
Binary file added public/img/logo/logo-white.jpg
Binary file added public/img/logo/us-flag.jpg
Binary file added public/img/mega-menu/1.jpg
Binary file added public/img/mega-menu/2.jpg
Binary file added public/img/mega-menu/3.jpg
Binary file added public/img/mega-menu/4.jpg
Binary file added public/img/modal/1.jpg
Binary file added public/img/new-products/1.1.jpg
Binary file added public/img/new-products/1.jpg
Binary file added public/img/new-products/2.jpg
Binary file added public/img/new-products/3.jpg
Binary file added public/img/new-products/4.1.jpg
Binary file added public/img/new-products/4.jpg
Binary file added public/img/new-products/5.jpg
Binary file added public/img/new-products/6.jpg
Binary file added public/img/payment/1.png
Binary file added public/img/popular/1.jpg
Binary file added public/img/popular/10.jpg
Binary file added public/img/popular/11.jpg
Binary file added public/img/popular/12.jpg
Binary file added public/img/popular/13.jpg
Binary file added public/img/popular/14.jpg
Binary file added public/img/popular/15.jpg
Binary file added public/img/popular/16.jpg
Binary file added public/img/popular/2.jpg
Binary file added public/img/popular/3.jpg
Binary file added public/img/popular/4.jpg
Binary file added public/img/popular/5.jpg
Binary file added public/img/popular/6.jpg
Binary file added public/img/popular/7.jpg
Binary file added public/img/popular/8.jpg
Binary file added public/img/popular/9.jpg
Binary file added public/img/popular/popular-bg.jpg
Binary file added public/img/product/1.jpg
Binary file added public/img/product/10.jpg
Binary file added public/img/product/11.jpg
Binary file added public/img/product/12.jpg
Binary file added public/img/product/13.jpg
Binary file added public/img/product/14.jpg
Binary file added public/img/product/15.jpg
Binary file added public/img/product/16.jpg
Binary file added public/img/product/17.jpg
Binary file added public/img/product/18.jpg
Binary file added public/img/product/19.jpg
Binary file added public/img/product/2.jpg
Binary file added public/img/product/20.jpg
Binary file added public/img/product/21.jpg
Binary file added public/img/product/22.jpg
Binary file added public/img/product/23.jpg
Binary file added public/img/product/24.jpg
Binary file added public/img/product/25.jpg
Binary file added public/img/product/26.jpg
Binary file added public/img/product/27.jpg
Binary file added public/img/product/28.jpg
Binary file added public/img/product/29.jpg
Binary file added public/img/product/3.jpg
Binary file added public/img/product/30.1.jpg
Binary file added public/img/product/30.jpg
Binary file added public/img/product/31.jpg
Binary file added public/img/product/32.1.jpg
Binary file added public/img/product/32.jpg
Binary file added public/img/product/33.jpg
Binary file added public/img/product/34.jpg
Binary file added public/img/product/35.jpg
Binary file added public/img/product/36.jpg
Binary file added public/img/product/37.jpg
Binary file added public/img/product/38.jpg
Binary file added public/img/product/4.jpg
Binary file added public/img/product/5.jpg
Binary file added public/img/product/6.jpg
Binary file added public/img/product/7.jpg
Binary file added public/img/product/8.jpg
Binary file added public/img/product/9.jpg
Binary file added public/img/single-product/1.2x.jpg
Binary file added public/img/single-product/1.jpg
Binary file added public/img/single-product/2.2x.jpg
Binary file added public/img/single-product/2.jpg
Binary file added public/img/single-product/3.2x.jpg
Binary file added public/img/single-product/3.jpg
Binary file added public/img/single-product/4.2x.jpg
Binary file added public/img/single-product/4.jpg
Binary file added public/img/slider/slide1.jpg
Binary file added public/img/slider/slide2.jpg
Binary file added public/img/slider/slide3.jpg
Binary file added public/img/slider/slide4.jpg
Binary file added public/img/slider/slide5.jpg
Binary file added public/img/slider/slide6.jpg
Binary file added public/img/slider/slide7.jpg
Binary file added public/img/slider/slide8.jpg
Binary file added public/img/slider/thumb/1.1.jpg
Binary file added public/img/slider/thumb/1.jpg
Binary file added public/img/slider/thumb/10.1.jpg
Binary file added public/img/slider/thumb/10.jpg
Binary file added public/img/slider/thumb/11.1.jpg
Binary file added public/img/slider/thumb/11.jpg
Binary file added public/img/slider/thumb/12.1.jpg
Binary file added public/img/slider/thumb/12.jpg
Binary file added public/img/slider/thumb/13.1.jpg
Binary file added public/img/slider/thumb/13.jpg
Binary file added public/img/slider/thumb/2.1.jpg
Binary file added public/img/slider/thumb/2.jpg
Binary file added public/img/slider/thumb/3.1.jpg
Binary file added public/img/slider/thumb/3.jpg
Binary file added public/img/slider/thumb/4.1.jpg
Binary file added public/img/slider/thumb/4.jpg
Binary file added public/img/slider/thumb/5.1.jpg
Binary file added public/img/slider/thumb/5.jpg
Binary file added public/img/slider/thumb/6.1.jpg
Binary file added public/img/slider/thumb/6.jpg
Binary file added public/img/slider/thumb/7.1.jpg
Binary file added public/img/slider/thumb/7.jpg
Binary file added public/img/slider/thumb/8.1.jpg
Binary file added public/img/slider/thumb/8.jpg
Binary file added public/img/slider/thumb/9.1.jpg
Binary file added public/img/slider/thumb/9.jpg
Binary file added public/img/stodio.jpg
884 changes: 884 additions & 0 deletions src/html/about-us.html

Large diffs are not rendered by default.

1,009 changes: 1,009 additions & 0 deletions src/html/blog-grid-3-column.html

Large diffs are not rendered by default.

1,054 changes: 1,054 additions & 0 deletions src/html/blog-grid-4-column.html

Large diffs are not rendered by default.

1,148 changes: 1,148 additions & 0 deletions src/html/blog-grid-left-sidebar.html

Large diffs are not rendered by default.

1,148 changes: 1,148 additions & 0 deletions src/html/blog-grid-right-sidebar.html

Large diffs are not rendered by default.

1,029 changes: 1,029 additions & 0 deletions src/html/blog-list-left-sidebar.html

Large diffs are not rendered by default.

1,029 changes: 1,029 additions & 0 deletions src/html/blog-list-right-sidebar.html

Large diffs are not rendered by default.

950 changes: 950 additions & 0 deletions src/html/blog-single-left-sidebar.html

Large diffs are not rendered by default.

950 changes: 950 additions & 0 deletions src/html/blog-single-right-sidebar.html

Large diffs are not rendered by default.

957 changes: 957 additions & 0 deletions src/html/cart.html

Large diffs are not rendered by default.

1,220 changes: 1,220 additions & 0 deletions src/html/checkout.html

Large diffs are not rendered by default.

911 changes: 911 additions & 0 deletions src/html/compare.html

Large diffs are not rendered by default.

912 changes: 912 additions & 0 deletions src/html/contact.html

Large diffs are not rendered by default.

4,106 changes: 4,106 additions & 0 deletions src/html/index-2.html

Large diffs are not rendered by default.

4,104 changes: 4,104 additions & 0 deletions src/html/index-3.html

Large diffs are not rendered by default.

3,228 changes: 3,228 additions & 0 deletions src/html/index-4.html

Large diffs are not rendered by default.

4,892 changes: 4,892 additions & 0 deletions src/html/index.html

Large diffs are not rendered by default.

872 changes: 872 additions & 0 deletions src/html/login.html

Large diffs are not rendered by default.

1,052 changes: 1,052 additions & 0 deletions src/html/myaccount.html

Large diffs are not rendered by default.

923 changes: 923 additions & 0 deletions src/html/register.html

Large diffs are not rendered by default.

2,635 changes: 2,635 additions & 0 deletions src/html/shop-grid-3-column.html

Large diffs are not rendered by default.

2,635 changes: 2,635 additions & 0 deletions src/html/shop-grid-4-column.html

Large diffs are not rendered by default.

2,837 changes: 2,837 additions & 0 deletions src/html/shop-grid-left-sidebar.html

Large diffs are not rendered by default.

2,836 changes: 2,836 additions & 0 deletions src/html/shop-grid-list-left-sidebar.html

Large diffs are not rendered by default.

2,836 changes: 2,836 additions & 0 deletions src/html/shop-grid-list-right-sidebar.html

Large diffs are not rendered by default.

2,636 changes: 2,636 additions & 0 deletions src/html/shop-grid-list.html

Large diffs are not rendered by default.

2,837 changes: 2,837 additions & 0 deletions src/html/shop-grid-right-sidebar.html

Large diffs are not rendered by default.

930 changes: 930 additions & 0 deletions src/html/single-blog.html

Large diffs are not rendered by default.

2,152 changes: 2,152 additions & 0 deletions src/html/single-product-affiliate.html

Large diffs are not rendered by default.

2,185 changes: 2,185 additions & 0 deletions src/html/single-product-configurable.html

Large diffs are not rendered by default.

2,209 changes: 2,209 additions & 0 deletions src/html/single-product-group.html

Large diffs are not rendered by default.

2,160 changes: 2,160 additions & 0 deletions src/html/single-product.html

Large diffs are not rendered by default.

957 changes: 957 additions & 0 deletions src/html/wishlist.html

Large diffs are not rendered by default.

Empty file added src/pages/home/index.vue
Empty file.
55 changes: 55 additions & 0 deletions src/php/mail.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php

// Only process POST reqeusts.
if ($_SERVER["REQUEST_METHOD"] == "POST") {
// Get the form fields and remove whitespace.
$name = strip_tags(trim($_POST["name"]));
$name = str_replace(array("\r","\n"),array(" "," "),$name);
$email = filter_var(trim($_POST["email"]), FILTER_SANITIZE_EMAIL);
$subject = trim($_POST["subject"]);
$message = trim($_POST["message"]);



// Check that data was sent to the mailer.
if ( empty($name) OR empty($subject) OR empty($message) OR !filter_var($email, FILTER_VALIDATE_EMAIL)) {
// Set a 400 (bad request) response code and exit.
http_response_code(400);
echo "Please complete the form and try again.";
exit;
}

// Set the recipient email address.
// FIXME: Update this to your desired email address.
$recipient = "ititiu19228@student.hcmiu.edu.vn";

// Set the email subject.
$subject = "New contact from $name";

// Build the email content.
$email_content = "Name: $name\n";
$email_content .= "Email: $email\n\n";
$email_content .= "Subject: $subject\n\n";
$email_content .= "Message:\n$message\n";

// Build the email headers.
$email_headers = "From: $name <$email>";

// Send the email.
if (mail($recipient, $subject, $email_content, $email_headers)) {
// Set a 200 (okay) response code.
http_response_code(200);
echo "Thank You! Your message has been sent.";
} else {
// Set a 500 (internal server error) response code.
http_response_code(500);
echo "Oops! Something went wrong and we couldn't send your message.";
}

} else {
// Not a POST request, set a 403 (forbidden) response code.
http_response_code(403);
echo "There was a problem with your submission, please try again.";
}

?>
119 changes: 119 additions & 0 deletions src/sass/base/_background-&-colors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
/*-------------------------
background images
-------------------------*/

.bg-img {
background-repeat: no-repeat;
background-position: center bottom;
background-size: cover;
}

.bg-img1 {
background-image: url("../img/slider/slide1.jpg");
}

.bg-img2 {
background-image: url("../img/slider/slide2.jpg");
}

.bg-img3 {
background-image: url("../img/slider/slide3.jpg");
}

.bg-img4 {
background-image: url("../img/slider/slide4.jpg");
}

.bg-img5 {
background-image: url("../img/slider/slide5.jpg");
}

.bg-img6 {
background-image: url("../img/slider/slide6.jpg");
}

.bg-img7 {
background-image: url("../img/slider/slide7.jpg");
}

.bg-img8 {
background-image: url("../img/slider/slide8.jpg");
}

@media (max-width: 991px) {
.bg-img {
background-position: 0% bottom;
}

.bg-img.bg-img3 {
background-position: 75% bottom;
}

.bg-img.bg-img4 {
background-position: 25% bottom;
}

.wraped .bg-img {
background-position: 40% bottom;
}
}

/*------------------------
background colors
------------------------*/

.theme-bg {
background-color: $theme-color !important;
}

.theme-bg2 {
background-color: $theme-color2 !important;
}

.theme-bg3 {
background-color: $theme-color3 !important;
}

.bg-light {
background-color: $color-grey-dark !important;
}

.bg-lighten {
background-color: $color-grey !important;
}

.bg-lighten2 {
background-color: $color-grey-light;
}

.bg-dark {
background-color: $color-dark !important;
}

/*-------------------
text-color
-------------------*/

.theme-color {
color: $theme-color;
}

.theme-color2 {
color: $theme-color2;
}

.theme-color3 {
color: $theme-color3;
}

.text-warning {
color: $color-warning !important;
}

.text-dark {
color: $color-dark !important;
}

.text-muted {
color: $body-color !important;
}
Loading