Skip to content

Commit

Permalink
An option to suggest user install Free Joomla template #753
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Aug 20, 2024
1 parent e6f953d commit c8abb8f
Show file tree
Hide file tree
Showing 23 changed files with 1,702 additions and 8 deletions.
Binary file added assets/images/astroid_congrats.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 added assets/images/one_thumbnail.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 assets/images/two_thumbnail.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 assets/images/zero_thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions assets/json/templates.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"templates": [
{
"name": "Two",
"description": "The Two is a stylish and easy-to-use Joomla Template best suited for a contemporary web design studio and creative agency, web designer's portfolio, graphic design, website building.",
"thumbnail": "../media/astroid/assets/images/two_thumbnail.jpg",
"preview": "https://demo.astroidframe.work/",
"download": "https://github.com/templaza/astroid-framework/archive/refs/heads/two-template.zip"
},
{
"name": "One",
"description": "A simple and beautiful template that can suit your many purposes. Available in a variety of colors such as Orange, Purple, Green and Yellow.",
"thumbnail": "../media/astroid/assets/images/one_thumbnail.jpg",
"preview": "",
"download": "https://github.com/templaza/astroid-framework/archive/refs/heads/one-template.zip"
},
{
"name": "Zero",
"description": "The first template of Astroid. Very beautiful and simple to suit your many business purposes. The template has built-in colors such as Red, Purple, Yellow and Pink.",
"thumbnail": "../media/astroid/assets/images/zero_thumbnail.jpg",
"preview": "",
"download": "https://github.com/templaza/astroid-framework/archive/refs/heads/zero-template.zip"
}
]
}
29 changes: 29 additions & 0 deletions assets/vendor/freetemplates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# freetemplates

This template should help get you started developing with Vue 3 in Vite.

## Recommended IDE Setup

[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).

## Project Setup

```sh
npm install
```

### Compile and Hot-Reload for Development

```sh
npm run dev
```

### Compile and Minify for Production

```sh
npm run build
```
1 change: 1 addition & 0 deletions assets/vendor/freetemplates/ajax.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"status":"success","code":200,"data":{"templates":[{"name":"Two","description":"The Two is a stylish and easy-to-use Joomla Template best suited for a contemporary web design studio and creative agency, web designer's portfolio, graphic design, website building.","thumbnail":"media\/astroid\/assets\/images\/two_thumbnail.jpg","preview":"https:\/\/demo.astroidframe.work\/","download":"https:\/\/github.com\/templaza\/astroid-framework\/archive\/refs\/heads\/two-template.zip"},{"name":"One","description":"The One is a stylish and easy-to-use Joomla Template best suited for a contemporary web design studio and creative agency, web designer's portfolio, graphic design, website building.","thumbnail":"","preview":"","download":"https:\/\/github.com\/templaza\/astroid-framework\/archive\/refs\/heads\/one-template.zip"},{"name":"Zero","description":"The Zero is a stylish and easy-to-use Joomla Template best suited for a contemporary web design studio and creative agency, web designer's portfolio, graphic design, website building.","thumbnail":"","preview":"","download":"https:\/\/github.com\/templaza\/astroid-framework\/archive\/refs\/heads\/zero-template.zip"}]}}
8 changes: 8 additions & 0 deletions assets/vendor/freetemplates/dist/.vite/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"index.html": {
"file": "index.js",
"name": "index",
"src": "index.html",
"isEntry": true
}
}
Binary file added assets/vendor/freetemplates/dist/favicon.ico
Binary file not shown.
16 changes: 16 additions & 0 deletions assets/vendor/freetemplates/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<link href="https://use.fontawesome.com/releases/v6.4.2/css/all.css" data-version="6.4.2" rel="stylesheet" type="text/css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script type="module" crossorigin src="/index.js"></script>
</head>
<body>
<script type="application/json" id="as-free-template-js">{"token":"99504c20fc30d226522ffef3733de4bf","congrats":"..\/media\/astroid\/assets\/images\/astroid_congrats.png","language":{"title":"Announcement from Astroid","desc":"Your website currently does not have any Astroid templates. Would you like to install a template to experience Astroid Framework?","install":"Install","preview":"Preview","congrats":"Congratulations! You have successfully installed","close":"Close"}}</script>
</body>
</html>
22 changes: 22 additions & 0 deletions assets/vendor/freetemplates/dist/index.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions assets/vendor/freetemplates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<link href="https://use.fontawesome.com/releases/v6.4.2/css/all.css" data-version="6.4.2" rel="stylesheet" type="text/css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</head>
<body>
<script type="application/json" id="as-free-template-js">{"token":"99504c20fc30d226522ffef3733de4bf","congrats":"..\/media\/astroid\/assets\/images\/astroid_congrats.png","language":{"title":"Announcement from Astroid","desc":"Your website currently does not have any Astroid templates. Would you like to install a template to experience Astroid Framework?","install":"Install","preview":"Preview","congrats":"Congratulations! You have successfully installed","close":"Close"}}</script>
<script type="module" src="/src/main.js"></script>
</body>
</html>
8 changes: 8 additions & 0 deletions assets/vendor/freetemplates/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
},
"exclude": ["node_modules", "dist"]
}
Loading

0 comments on commit c8abb8f

Please sign in to comment.