Skip to content

Commit

Permalink
Hidotmatrix/feat/new design (#1)
Browse files Browse the repository at this point in the history
* create project

* mobile and 1000 size finished

* 1440 1920 and 2560 finished and links added

* fix sub menu width

* add favicon and title

* add backgrounds

* fix title

* fix style of body

* fix(header): fix mobile header style

* fix(header): fix header link

* fix(links): fix the page links

* fix(header): update mobile links

* CI

* Fix project name

* Fix trigger

---------

Co-authored-by: Hamid Roohi <52012062+hamidroohi71@users.noreply.github.com>
Co-authored-by: Hamid Roohi <hamidroohi71@gmail.com>
Co-authored-by: fewensa <37804932+fewensa@users.noreply.github.com>
  • Loading branch information
4 people authored Jun 25, 2024
1 parent 91e6001 commit e4ef42b
Show file tree
Hide file tree
Showing 55 changed files with 3,871 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy develop

on:
pull_request:

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github

- uses: ./.github/actions/smart-vercel
name: Deploy to Vercel
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
project_name: ringdao-home
dist_path: dist
enable_cache: true
enable_notify_comment: true
enable_notify_slack: true
slack_channel: public-darwinia-websites-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

34 changes: 34 additions & 0 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy production

on:
push:
tags:
- 'v*'

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github

- uses: ./.github/actions/smart-vercel
name: Deploy to Vercel
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
project_name: ringdao-home
dist_path: dist
prod_mode: true
enable_cache: true
enable_notify_slack: true
slack_channel: public-darwinia-websites-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

32 changes: 32 additions & 0 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy staging

on:
push:
branches: [main]

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github

- uses: ./.github/actions/smart-vercel
name: Deploy to Vercel
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
project_name: ringdao-home
dist_path: dist
enable_cache: true
enable_notify_slack: true
slack_channel: public-darwinia-websites-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
53 changes: 53 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- favicon -->
<link
rel="icon"
type="image/png"
sizes="32x32"
href="favicon/favicon-32x32.png"
/>

<!-- For Android and Chrome -->
<link
rel="icon"
type="image/png"
sizes="48x48"
href="favicon/favicon-48x48.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="favicon/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="favicon/favicon-192x192.png"
/>

<!-- For iPads and iPhones -->
<link
rel="apple-touch-icon"
type="image/png"
sizes="167x167"
href="favicon/favicon-167x167.png"
/>
<link
rel="apple-touch-icon"
type="image/png"
sizes="180x180"
href="favicon/favicon-180x180.png"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RingDAO</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading

0 comments on commit e4ef42b

Please sign in to comment.