Skip to content

Commit

Permalink
Merge pull request #63 from beamkenya/dev
Browse files Browse the repository at this point in the history
First Release v1.0.0
  • Loading branch information
manuelgeek authored Jul 22, 2022
2 parents a04db3b + 04b0af3 commit 320e7fa
Show file tree
Hide file tree
Showing 86 changed files with 11,154 additions and 9,616 deletions.
Binary file removed .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ updates:
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
interval: "monthly"
4 changes: 2 additions & 2 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Thank for **#** your issue! Wea re glad you contributed!"
pr-message: "Thanks you **#** for your first pull Request!"
issue-message: "Thank for **@${{ github.actor }}** your issue! Wea re glad you contributed!"
pr-message: "Thanks you **@${{ github.actor }}** for your first pull Request!"
8 changes: 4 additions & 4 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Lint CI

on:
push:
branches: [ develop ]
branches: [ dev ]
pull_request:
branches: [ develop ]
branches: [ dev ]
repository_dispatch:
types: [lint-command]

Expand All @@ -18,15 +18,15 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm install
- run: npm run lint

- name: Comment on success
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build and Deploy to Live
on:
# push:
# branches:
# - dev
release:
types: [ published ]


jobs:
build-and-deploy:
if: ${{ github.event.release.target_commitish == 'main' }}
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x ]


steps:
- run: echo "Current Branch is ${{ github.event.release.target_commitish }}"
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-prod-1-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-prod-1
- name: Install and Build 🔧
run: |
npm install
npm run build
# cd .output/public
# mkdir -p elixir-conf-2022/
# cp -r docs/ elixir-conf-2022/docs/
# cp -r images/ elixir-conf-2022/images/
# npm run build
# npm run generate
# touch .output/public/.nojekyll

- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: .output/public # The folder the action should deploy.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ nuxt.d.ts
.output
.env
.idea/
.DS_Store
.env
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Nuxt 3 Minimal Starter
# ElixirConfAfrica Web 2022
> Official conference website
> Nuxt 3 implementation
We recommend to look at the [documentation](https://v3.nuxtjs.org).

## Setup
Expand All @@ -26,4 +28,24 @@ Build the application for production:
yarn build
```

Checkout the [deployment documentation](https://v3.nuxtjs.org/docs/deployment).
## Building Components

UI inspiration from this [https://demo.themewinter.com/wp/exhibz/home-9](https://demo.themewinter.com/wp/exhibz/home-9/)

All components sit in `/components` directory. check on [nuxt 3](https://v3.nuxtjs.org/)

## Style Guide

All styling are handled by [Tailwindcss](https://tailwindcss.com/) including paddings, margins, colors, font sizes etc.

All colors are included in the `tailwind.config.js` file. Any added color has to have a provision for dark theme and classes included in code too;
```html
<span class="text-primary dark:text-primary-dark"></span>
```

The file `assets/css/main.css` has some already applied classes, you can add more here



## Deployment
Checkout the [deployment documentation](https://v3.nuxtjs.org/docs/deployment).
Loading

0 comments on commit 320e7fa

Please sign in to comment.