A personal website hosted on the blockchain.
The URL to deploy to is here: https://n5znu-6iaaa-aaaag-aatoa-cai.ic0.app
-
JavaScript
-
Svelte
Tools for building UI.
-
tailwind CSS
CSS Frameworks.
-
dfx
Tools to create, deploy and manage Dapps to be developed on IC.
-
src/-
assets/Contains images used for the website
-
lib/Contains the components that make up the website.
About.svelte: Compose the profile section.Footer.svelte: Compose the footer.Home.svelte: Compose the home.Nav.svelte: Compose the navigation bar. Contains in-page links to HOME, ABOUT ME, and PORTFOLO.Portfolio.svelte: Compose the portfolio. URL to the official UNCHAIN site is used as a dummy.
-
App.svelteThe main component of the application. This file imports the svelte file in the
lib/. -
main.jsFiles to be loaded directly into
index.html. ImportApp.svelteandapp.css.
-
-
canister_ids.jsonA configuration file mapping the name and ID of deployed canisters. Generated when the command
dfx deployis executed. -
dfx.jsonConfiguration file for building a project for the Internet Computer Blockchain.
-
postcss.config.cjs,tailwind.config.cjstailwind CSS configuration file
Describe in a dfx.json file.
{
"canisters": {
"website": {
"type": "assets",
"source": ["dist"]
}
}
}-
"website"is the name you give to the canister.ex) When looking up the ID of a canister
dfx canister --network ic id website
-
"type":specifies the type of canister. -
"source":specifies the directory to be used for static assets.
Internet Computer
- Hosting a Static Website on the Internet Computer
- Deploy a "Hello World" Dapp in 10 Minutes
- Network deployment
Svelte


