-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implemented Fresh Landing Page Structure with Separate Sections…
… and Guidance. (#145) * Feat: import SDL functionality on landing page added * Feat: Review SDL button error fixed * Feat: SDL guide lines section added * Feat: medium screen errors fixed on sdl guideline section * Feat: workded on responsiveness for each section * Style: Tile and SDL guidelines cards centered * Feat: refactored code to make it readable * Style: space added between "create deployment and review sdl button" * Update App.tsx * Feat: Converted the styles from vanilla css to Tailwind * Update TileCard.tsx
- Loading branch information
1 parent
7e5b170
commit 179f7f2
Showing
29 changed files
with
2,912 additions
and
1,999 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
import img1 from './landingIcons/first_img.png'; | ||
import img2 from './landingIcons/www.png'; | ||
import img3 from './landingIcons/chip.png'; | ||
import img33 from './landingIcons/code.png'; | ||
import img4 from './landingIcons/last_guide.png'; | ||
import img5 from './landingIcons/sdl_2.png'; | ||
import img6 from './landingIcons/sdl_22.png'; | ||
|
||
interface Tile { | ||
title: string; | ||
description: string; | ||
image: string; | ||
buttonText: string; | ||
route: string; | ||
icon: string; | ||
buttonEnabled: boolean; | ||
buttonClass?: string; | ||
} | ||
|
||
interface CategoryTiles { | ||
introText: string; | ||
tiles: Tile[]; | ||
} | ||
|
||
interface Metadata { | ||
version: string; | ||
categoriesTiles: CategoryTiles; | ||
sdlGuideTiles: { | ||
introText: string; | ||
introDescription: string; | ||
tiles: { | ||
step: string; | ||
text: string; | ||
image: string; | ||
}[]; | ||
}; | ||
} | ||
|
||
export const metadata: Metadata = { | ||
version: '0.0.1', | ||
categoriesTiles: { | ||
introText: 'What would you like to do today?', | ||
tiles: [ | ||
{ | ||
title: 'Deploy a Blockchain Node', | ||
description: | ||
'Easy and low cost hosting for your blockchain nodes (RPC servers, Validators and more)', | ||
buttonText: 'Choose a Template', | ||
route: '/landing/node-deployment', | ||
icon: 'xrayView', | ||
image: img1, | ||
buttonEnabled: true, | ||
}, | ||
{ | ||
title: 'Host a Website or Web Service', | ||
description: | ||
'Low cost, decentralized equivalents of the services provided by mainstream cloud providers. Host websites, blogsites, databases and more.', | ||
buttonText: 'Coming Soon', | ||
route: '', | ||
icon: 'www', | ||
image: img2, | ||
buttonEnabled: true, | ||
buttonClass: 'coming-soon-btn-2', | ||
}, | ||
{ | ||
title: 'Deploy an AI/ ML Model', | ||
description: | ||
'Popular AI & ML models, deployed in just a few clicks. Includes Stable Diffusion, GPT4All, Alpaca and more.', | ||
buttonText: 'Coming Soon', | ||
route: '', | ||
icon: 'electronicsChip', | ||
image: img3, | ||
buttonEnabled: true, | ||
}, | ||
{ | ||
title: 'Custom Application', | ||
description: | ||
'Define your unique deployment requirements and preferences with SDL and deploy with ease on the flexible and reliable Akash network.', | ||
buttonText: 'Import SDL', | ||
route: '', | ||
icon: 'electronicsChip', | ||
image: img33, | ||
buttonEnabled: true, | ||
}, | ||
], | ||
}, | ||
sdlGuideTiles: { | ||
introText: 'How it works?', | ||
introDescription: | ||
'There are 3 main steps to deploying on Akash. Check out our detailed <a target="_blank" href="https://docs.akash.network/guides/deploy">help</a> for more.', | ||
tiles: [ | ||
{ | ||
step: '01', | ||
text: 'Start with a template or your own custom application (SDL)', | ||
image: img6, | ||
}, | ||
{ | ||
step: '02', | ||
text: 'Choose a provider based on your preferences and desired price', | ||
image: img5, | ||
}, | ||
{ | ||
step: '03', | ||
text: 'View & manage your deployed application', | ||
image: img4, | ||
}, | ||
], | ||
}, | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.