Skip to content

Commit e7e2b6a

Browse files
feat!: migrate from gulp to astro
1 parent eff5c0d commit e7e2b6a

File tree

230 files changed

+7474
-9464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+7474
-9464
lines changed

.babelrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

.gitignore

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1-
node_modules
2-
dist
3-
build
1+
# build output
2+
dist/
3+
.output/
4+
*.zip
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store

.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"astro.typescript.enabled": false
3+
}

LICENSE.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
11
MIT License
22

3-
Copyright (c) 2018-present cssninjaStudio
3+
Copyright (c) 2018-2023 cssninjaStudio
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
116

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
148

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# HR 👋 | An awesome Bulma + Alpine JS sample app
2+
3+
[![cssninja-discord](https://img.shields.io/discord/785473098069311510?label=join%20us%20on%20discord&color=6944EC)](https://go.cssninja.io/discord)
4+
5+
> HR is a sample alpine JS + Bulma app built by [Css Ninja Studio](https://cssninja.io). HR is licensed under the MIT license.
6+
7+
![Screenshot](https://media.cssninja.io/products/hr/product.png "HR landing")
8+
9+
## ✌️ Preview
10+
11+
You can access the demo [here](https://cssninjastudio.github.io/hr/index.html). HR is built with [Bulma](https://bulma.io). Thanks to [Emy Lascan](https://dribbble.com/shots/14820469-wondrhub-Video-Monetization) for the homepage hero inspiration.
12+
13+
## 👌 Usage
14+
15+
1. Install depedencies
16+
17+
```sh
18+
pnpm i
19+
```
20+
21+
2. Run in dev mode
22+
23+
```sh
24+
pnpm dev
25+
```
26+
27+
3. Or build source
28+
29+
```sh
30+
pnpm build
31+
```
32+
33+
## 🍔 Issues
34+
35+
If you've found an issue or a bug, you can report it in the issues section of this repository. Please try to follow these simple guidelines to report your issue:
36+
37+
* Issue definition
38+
* Expected behaviour
39+
* Actual behaviour
40+
* steps to reproduce
41+
* Already tried fixes (if relevant)
42+
43+
## 🎉 More
44+
45+
Find more premium website and webapp templates on [Css Ninja](https://cssninja.io/).
46+
47+
## 🚀 About Us
48+
49+
Css Ninja is a web design studio. We build handcrafted and polished templates that will give some hype to your startup or to your next project.
50+
51+
52+

astro.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { defineConfig } from 'astro/config';
2+
3+
// https://astro.build/config
4+
export default defineConfig({});
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const { hsl } = require('bulma-css-vars')
1+
const { hsl } = require('@cssninja/bulma-css-vars')
22

33
const appColors = {
44
white: '#fff',
5-
primary: hsl(226, 77, 56), // '#3861e5',
5+
primary: hsl(239, 100, 59), // '#2e31ff',
66
dark: hsl(226, 34, 24), // '#283252',
77
link: hsl(229, 53, 53), // '#485fc7',
88
info: hsl(200, 97, 45), // '#039be5',
@@ -12,10 +12,10 @@ const appColors = {
1212
}
1313

1414
module.exports = {
15-
jsOutputFile: 'src/scss/bulma-generated/bulma-colors.ts',
16-
sassOutputFile: 'src/scss/bulma-generated/generated-vars.sass',
17-
cssFallbackOutputFile: 'src/scss/bulma-generated/generated-fallback.css',
15+
jsOutputFile: 'src/styles/bulma-generated/bulma-colors.ts',
16+
sassOutputFile: 'src/styles/bulma-generated/generated-vars.sass',
17+
cssFallbackOutputFile: 'src/styles/bulma-generated/generated-fallback.css',
1818
colorDefs: appColors,
19-
sassEntryFile: 'src/scss/main.scss',
19+
sassEntryFile: 'src/styles/main.scss',
2020
transition: null,
2121
}

config.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)