Skip to content

Commit 92c241b

Browse files
committed
feat: build a landing page using next rs
1 parent d239ebf commit 92c241b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+593
-1
lines changed

β€ŽCargo.tomlβ€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[package]
2+
name = "kevin-rs-land"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
next-rs = { version = "0.0.12", features = ["navbar"] }
10+
yew = "0.21.0"
11+
yew-scroll = "0.1.0"

β€ŽLICENSEβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Mahmoud
3+
Copyright (c) 2024 kevin rs foundation
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

β€ŽMakefileβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
run:
2+
trunk serve --port 3000
3+
build:
4+
trunk build --release

β€ŽREADME.mdβ€Ž

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# πŸ’» Kevin RS Landing Page
2+
3+
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/wiseaidev)
4+
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
5+
[![Made With Rust](https://img.shields.io/badge/Made%20with-Rust-1f425f.svg?logo=rust&logoColor=white)](https://www.rust-lang.org/)
6+
[![Made with Next RS](https://img.shields.io/badge/Made%20with-Next%20RS-1f425f.svg?logo=netflix&logoColor=white)](https://next-rs.dev)
7+
8+
## βš™οΈ Building and Running
9+
10+
1. Fork/Clone the GitHub repository.
11+
12+
```bash
13+
git clone https://github.com/kevin-rs/landing
14+
```
15+
16+
1. Navigate to the application directory.
17+
18+
```bash
19+
cd landing
20+
```
21+
22+
1. Run the client:
23+
24+
```sh
25+
make run
26+
```
27+
28+
Navigate to http://localhost:3000 to explore the landing page.
29+
30+
## πŸš€ Deploying to CloudFlare
31+
32+
1. Install [Wrangler CLI](https://developers.cloudflare.com/workers/wrangler/get-started/):
33+
34+
To get started with Cloudflare Workers, you'll need to install the Wrangler CLI, which is a powerful tool for managing your deployments. Open up your command-line interface and enter the following command to globally install Wrangler:
35+
36+
```sh
37+
npm i -g wrangler
38+
```
39+
40+
1. Login to Cloudflare Account from the CLI:
41+
42+
To seamlessly interact with your Cloudflare account, you'll need to log in using Wrangler. Run the following command in your terminal:
43+
44+
```sh
45+
wrangler login
46+
```
47+
48+
1. Run Your Build Command:
49+
50+
Before deployment, you need to build the project. Execute the following command to share the app with the world:
51+
52+
```sh
53+
make build
54+
```
55+
56+
1. Create a New Deployment:
57+
58+
Execute the following command to deploy the app with Wrangler Pages:
59+
60+
```sh
61+
wrangler pages deploy dist
62+
```
63+
64+
## 🀝 Contributing
65+
66+
We welcome contributions to enhance the kevin-rs landing page repository! Thank you for helping make this project better!
67+
68+
## πŸ“œ License
69+
70+
This project and the accompanying materials are made available under the terms and conditions of the [`MIT License`](LICENSE).
28.6 KB
Loading
43.3 KB
Loading
3.81 KB
Loading
5.69 KB
Loading
10.1 KB
Loading
15.6 KB
Loading

0 commit comments

Comments
Β (0)