generated from StabilityNexus/Template-Repo
-
Notifications
You must be signed in to change notification settings - Fork 27
Add Static Marketing Website with Deep Linking Support #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Pushkar111
wants to merge
1
commit into
StabilityNexus:main
from
Pushkar111:feat/static-marketing-website
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,14 @@ | ||
| [ | ||
| { | ||
| "relation": [ | ||
| "delegate_permission/common.handle_all_urls" | ||
| ], | ||
| "target": { | ||
| "namespace": "android_app", | ||
| "package_name": "com.example.zplit", | ||
| "sha256_cert_fingerprints": [ | ||
| "PLACEHOLDER_REPLACE_WITH_ACTUAL_SHA256_FINGERPRINT" | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
This file contains hidden or 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,147 @@ | ||
| # Zplit Website | ||
|
|
||
| Static marketing website for the Zplit decentralized payment-splitting app. | ||
|
|
||
| ## 📁 Structure | ||
|
|
||
| ``` | ||
| website/ | ||
| ├── index.html # Main landing page | ||
| ├── .well-known/ | ||
| │ └── assetlinks.json # Android App Links configuration | ||
| ├── css/ | ||
| │ └── styles.css # Minimalistic green theme | ||
| ├── js/ | ||
| │ └── main.js # Smooth scroll & animations | ||
| ├── assets/ | ||
| │ └── images/ # Logos, illustrations, mockups | ||
| └── README.md # This file | ||
| ``` | ||
|
|
||
| ## 🎨 Design | ||
|
|
||
| - **Theme:** Minimalistic with green hues (#10B981) | ||
| - **Typography:** Inter font family | ||
| - **Responsive:** Mobile-first design | ||
| - **Accessibility:** Semantic HTML, proper contrast ratios | ||
|
|
||
| ## 🚀 Deployment | ||
|
|
||
| ### Option 1: GitHub Pages | ||
|
|
||
| 1. Push the `website/` directory to your repository | ||
| 2. Go to **Settings** → **Pages** | ||
| 3. Set source to `main` branch, `/website` folder | ||
| 4. Your site will be live at `https://stabilitynexus.github.io/Zplit/` | ||
|
|
||
| ### Option 2: Vercel | ||
|
|
||
| ```bash | ||
| cd website | ||
| vercel --prod | ||
| ``` | ||
|
|
||
| ### Option 3: Netlify | ||
|
|
||
| 1. Drag and drop the `website/` folder to [Netlify Drop](https://app.netlify.com/drop) | ||
| 2. Or connect your GitHub repository | ||
|
|
||
| ### Option 4: Custom Server (Nginx) | ||
|
|
||
| ```nginx | ||
| server { | ||
| listen 80; | ||
| server_name zplit.stability.nexus; | ||
| root /var/www/zplit/website; | ||
| index index.html; | ||
|
|
||
| location /.well-known/assetlinks.json { | ||
| default_type application/json; | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| ## 🔗 Android Deep Linking Setup | ||
|
|
||
| 1. **Generate SHA256 Fingerprint:** | ||
|
|
||
| ```bash | ||
| # For debug keystore | ||
| keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android | ||
|
|
||
| # For release keystore | ||
| keytool -list -v -keystore /path/to/release.keystore -alias your-alias | ||
| ``` | ||
|
|
||
| 2. **Update `assetlinks.json`:** | ||
|
|
||
| Replace `PLACEHOLDER_REPLACE_WITH_ACTUAL_SHA256_FINGERPRINT` with your actual SHA256 fingerprint. | ||
|
|
||
| 3. **Verify Deep Linking:** | ||
|
|
||
| ```bash | ||
| # Test assetlinks.json accessibility | ||
| curl https://your-domain.com/.well-known/assetlinks.json | ||
|
|
||
| # Validate with Google's tool | ||
| https://developers.google.com/digital-asset-links/tools/generator | ||
| ``` | ||
|
|
||
| ## 🧪 Local Testing | ||
|
|
||
| ### Simple HTTP Server (Python) | ||
|
|
||
| ```bash | ||
| cd website | ||
| python -m http.server 8000 | ||
| # Visit http://localhost:8000 | ||
| ``` | ||
|
|
||
| ### Live Server (VS Code Extension) | ||
|
|
||
| 1. Install "Live Server" extension | ||
| 2. Right-click `index.html` → "Open with Live Server" | ||
|
|
||
| ## 📝 Customization | ||
|
|
||
| ### Update Colors | ||
|
|
||
| Edit CSS variables in `css/styles.css`: | ||
|
|
||
| ```css | ||
| :root { | ||
| --primary-green: #10B981; /* Change to your brand color */ | ||
| --dark-green: #059669; | ||
| --light-green: #D1FAE5; | ||
| } | ||
| ``` | ||
|
|
||
| ### Replace Placeholder Images | ||
|
|
||
| - `assets/images/zplit-logo.png` - Replace with final logo | ||
| - `assets/images/app-mockup.png` - Replace with actual app screenshots | ||
| - `assets/images/hero-illustration.png` - Update with final design | ||
|
|
||
| ### Update Content | ||
|
|
||
| Edit `index.html` sections: | ||
| - Hero tagline and description | ||
| - Feature cards | ||
| - How It Works steps | ||
| - Community links | ||
|
|
||
| ## 🔧 Maintenance | ||
|
|
||
| - **SEO:** Update meta tags in `<head>` section | ||
| - **Analytics:** Add tracking code in `js/main.js` | ||
| - **Performance:** Optimize images (use WebP format) | ||
| - **Security:** Ensure HTTPS for deep linking to work | ||
|
|
||
| ## 📄 License | ||
|
|
||
| This website is part of the Zplit project. | ||
| © 2025 The Stable Order | ||
|
|
||
| ## 🤝 Contributing | ||
|
|
||
| See the main [Zplit repository](https://github.com/StabilityNexus/Zplit) for contribution guidelines. |
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.