Skip to content

Commit cbd9334

Browse files
author
Your Name
committed
fix: update deployment configuration to fix blank screen issue
1 parent 271dd7a commit cbd9334

File tree

11 files changed

+299
-31
lines changed

11 files changed

+299
-31
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

README.md

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,41 +15,27 @@ A beautiful, feature-rich markdown note-taking application with live preview, bu
1515
- **Local Storage** - Notes are automatically saved in your browser
1616
- **Syntax Highlighting** - Code blocks with syntax highlighting
1717

18-
## 🌐 Custom Domain Setup
18+
## 🌐 Deployment
1919

20-
To use your custom domain `thesolutiondesk.ca/tools/free/markdown`:
20+
Your app is deployed to GitHub Pages at:
2121

22-
### 1. DNS Configuration
23-
24-
Add these records in your domain's DNS settings:
25-
26-
```dns
27-
# CNAME Record
28-
Name: tools.thesolutiondesk.ca
29-
Type: CNAME
30-
Value: thesolutiondeskandcompany.github.io
31-
TTL: Auto
32-
33-
# TXT Record (for GitHub verification)
34-
Name: _github-pages-challenge-thesolutiondesk
35-
Type: TXT
36-
Value: "<GitHub will provide this>"
37-
TTL: Auto
22+
```
23+
https://thesolutiondeskandcompany.github.io/markdown-notes/
3824
```
3925

40-
### 2. GitHub Pages Settings
41-
42-
1. Go to your repository → Settings → Pages
43-
2. Under "Custom domain", enter: `thesolutiondesk.ca/tools/free/markdown`
44-
3. Check "Enforce HTTPS" when available
26+
### Setting Up a Custom Domain (Optional)
4527

46-
### 3. Verification
28+
If you want to use a custom domain like `markdown.thesolutiondesk.ca`:
4729

48-
After DNS propagation (up to 48 hours), your app will be available at:
30+
1. **Update DNS Settings**:
31+
- Go to your domain registrar
32+
- Add a CNAME record pointing to `thesolutiondeskandcompany.github.io`
4933

50-
```
51-
https://thesolutiondesk.ca/tools/free/markdown
52-
```
34+
2. **Configure GitHub Pages**:
35+
- Go to your repository → Settings → Pages
36+
- Under "Custom domain", enter your domain (e.g., `markdown.thesolutiondesk.ca`)
37+
- Click "Save"
38+
- Once verified, check "Enforce HTTPS"
5339

5440
## 🚀 Getting Started
5541

dist/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
thesolutiondesk.ca

dist/assets/index-dJkEJQ3t.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/index-jIr3YNDb.js

Lines changed: 141 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html lang="en" class="h-full">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Markdown Notes</title>
7+
<meta name="description" content="A beautiful markdown note-taking app with live preview" />
8+
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
9+
<meta name="theme-color" content="#0f172a" media="(prefers-color-scheme: dark)">
10+
<link rel="icon" type="image/png" href="/favicon.png">
11+
<script type="module" crossorigin src="/assets/index-jIr3YNDb.js"></script>
12+
<link rel="stylesheet" crossorigin href="/assets/index-dJkEJQ3t.css">
13+
</head>
14+
<body class="h-full">
15+
<div id="root"></div>
16+
</body>
17+
</html>

node_modules/.package-lock.json

Lines changed: 65 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 52 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "markdown-notes",
33
"private": true,
44
"version": "0.1.0",
5-
"homepage": "https://thesolutiondesk.ca/tools/free/markdown",
5+
"homepage": "https://thesolutiondeskandcompany.github.io/markdown-notes",
66
"type": "module",
77
"scripts": {
88
"dev": "vite",
@@ -23,6 +23,7 @@
2323
"tailwindcss": "^3.4.1"
2424
},
2525
"devDependencies": {
26+
"@tailwindcss/typography": "^0.5.16",
2627
"@types/react": "^18.2.56",
2728
"@types/react-dom": "^18.2.19",
2829
"@vitejs/plugin-react": "^4.2.1",

tailwind.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ export default {
2727
},
2828
},
2929
},
30-
plugins: [],
30+
plugins: [
31+
require('@tailwindcss/typography'),
32+
],
3133
}

0 commit comments

Comments
 (0)