Skip to content

Commit

Permalink
Feat: Akash Website ReVamp - port
Browse files Browse the repository at this point in the history
  • Loading branch information
dharamveergit committed Jan 7, 2024
1 parent a7ae448 commit 812b154
Show file tree
Hide file tree
Showing 1,284 changed files with 97,452 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# build output
dist/
.mockdata

# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"astro-build.astro-vscode",
"vivaxy.vscode-conventional-commits"
],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cSpell.words": ["akash"]
}
57 changes: 57 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
MIT License

Copyright (c) 2021 Fred K. Schott

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:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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.

---

This license also applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/sveltejs/kit repository:

Copyright (c) 2020 [these people](https://github.com/sveltejs/kit/graphs/contributors)

---

This license also applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/vitejs/vite repository:

Copyright (c) 2019-present, Yuxi (Evan) You and Vite contributors

---

MIT License

Copyright (c) 2023 [Astro contributors](https://github.com/withastro/starlight/graphs/contributors)

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:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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.
107 changes: 106 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1 +1,106 @@
# website-revamp
# Akash Network Website

Explore the repository for the Akash Network website, skillfully developed by [Hooman Digital](https://twitter.com/hooman_digital). The website serves as a dynamic showcase, illustrating the prowess and capabilities of Akash Network—a decentralized cloud computing marketplace revolutionizing the digital landscape.

## Getting Started Locally

To run the repository locally and explore the website on your machine, follow these simple steps:

1. **Clone the Repository:**
```bash
git clone https://github.com/akash-network/website-revamp
```

2. **Navigate to the Project Directory:**
```bash
cd website-revamp
```

3. **Install Dependencies:**
```bash
npm install
```

4. **Run the Development Server:**
```bash
npm run dev
```

5. **Open Your Browser:**
Visit [http://localhost:3000](http://localhost:3000) to view the Akash Network website locally.

## Contribution Guidelines

Before contributing to the project, please adhere to the following guidelines to ensure the project's integrity and maintainability.

### File Naming Convention

When creating files for components, pages, etc., follow this straightforward file naming convention:

- **Component Name:** Utilize kebab-case, featuring lowercase words separated by hyphens.

Example: `my-component-name.js`

### Commit Message Structure

Each commit message should carry a meaningful structure, commencing with a type and followed by a concise description. Utilize the following types for commit messages:

- **feat:** Introduce a new feature or functionality to the codebase.

Example: `feat: implement user authentication`

- **fix:** Rectify a bug or address an issue within the code.

Example: `fix: resolve issue with login page`

- **docs:** Focus on documentation-related changes, such as updating comments, README files, or documentation pages.

Example: `docs: enhance installation instructions`

- **style:** Implement code style changes, such as formatting, indentation, or variable renaming.

Example: `style: refactor CSS styles`

- **chore:** Undertake routine tasks, maintenance, or housekeeping activities, often not directly related to code changes.

Example: `chore: update dependencies`

- **test:** Contribute to or modify tests, including unit tests, integration tests, or end-to-end tests.

Example: `test: add test cases for login feature`

- **perf:** Optimize the code for better performance.

Example: `perf: enhance database query efficiency`

- **ci:** Implement changes to the continuous integration (CI) pipeline.

- **refactor:** Enhance code structure without introducing new features or fixing bugs.

Example: `refactor: extract reusable function`

- **build:** Make changes related to the build process, such as build scripts or tools.

Example: `build: update webpack configuration`

- **revert:** Revert a previous commit.

Example: `revert: undo changes from commit abc123`

- **deps:** Update or modify project dependencies, such as npm packages or libraries.

Example: `deps: upgrade lodash to version 4.0.0`

### Commit Message Best Practices

- Keep commit messages concise and to the point.
- Utilize the imperative mood (e.g., "add," "fix," "update") in the description.
- Provide context in the description when necessary.

## Contact

Discord - [Akash Network]()

Twitter: [Akash Network]()

Website: [Akash Network]()
49 changes: 49 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import { defineConfig } from "astro/config";
import remark from "remark-directive";
import { customAsidePlugin } from "./src/lib/aside/customAsidePlugin";
import astroExpressiveCode from "astro-expressive-code";

import mdx from "@astrojs/mdx";

// https://astro.build/config
export default defineConfig({
// experimental: {
// contentCollectionCache: true,
// },
redirects: {
"/ecosystem": "/ecosystem/akash-tools/latest/",
"/development": "/development/welcome/overview/",
"/community": "/community/akash-insiders/",
"/about": "/about/general-information/",
"/about/pricing": "/about/pricing/compare",
"/akash-docs": "/akash-docs/docs",
},
markdown: {
// shikiConfig: {
// theme: theme,
// },
remarkPlugins: [remark, customAsidePlugin],
},
integrations: [
tailwind(),
sitemap(),
react(),
astroExpressiveCode({
themes: ["light-plus", "dark-plus"],
useDarkModeMediaQuery: true,
themeCssSelector: (theme) => `[data-theme='${theme.name}']`,

styleOverrides: {
terminalTitlebarForeground: "var(--theme-header-bg)",
terminalTitlebarDotsForeground: "var(--three-dots-bg)",
terminalTitlebarBackground: "var(--theme-header-bg)",
terminalTitlebarDotsOpacity: "1",
},
}),
mdx(),
],
site: "https://akash.network",
});
Loading

0 comments on commit 812b154

Please sign in to comment.