Skip to content

ahmad2smile/portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Portfolio & Blog

Stack

The of the site is Web Assembly based Single Page Application written in Rust. Framework is Rust Yew

Routing

Routing is using Yew Router. Yew Router is pretty flexible. The project uses hash based routing to avoid server side setup required for SPA as it's hosted on Github Pages.

Navigation is done by using set_route on routing_service of Yew Router also with direct

<a href="#my-route>My Route</a>

Web Assembly

Web Assembly bindings are set with cargo-web

Run

Makefile setup (or look in Makefile for cargo commands)

run:

make start

build:

make build

Visit

http://shafiqahmad.com/