Skip to content

Commit 10b5846

Browse files
documenation on github pages for private repo
1 parent 8b18e2c commit 10b5846

File tree

4 files changed

+42
-9
lines changed

4 files changed

+42
-9
lines changed

src/assets/images/githubpages1png.png

161 KB
Loading

src/components/about-us/about-us.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export class AboutUs {
1010
// Dynamically resolve the path to the image file
1111
const imagePath1 = new URL('../../assets/images/app-starter1.png', import.meta.url).href;
1212
const imagePath2 = new URL('../../assets/images/app-starter2.png', import.meta.url).href;
13+
const imagePath3 = new URL('../../assets/images/githubpages1png.png', import.meta.url).href;
1314
return (
1415
<div>
1516
<div>
@@ -66,6 +67,30 @@ How to set up GitHub Pages for a project repository:<br></br>
6667
This way, you can have multiple repositories, each with its own GitHub Pages site.
6768

6869
</p>
70+
<h1>GitHub Pages for a private repository</h1>
71+
<p>you can use GitHub Pages for a private repository, but there are a few important points to keep in mind:<br></br>
72+
<br></br>
73+
74+
Key Details:<br></br>
75+
<strong>GitHub Pages for Private Repositories:</strong><br></br>
76+
<br></br>
77+
78+
GitHub Pages can be enabled for private repositories if you have a <strong>GitHub Pro, Team, or Enterprise</strong> plan. Free plans support GitHub Pages only for public repositories.<br></br>
79+
<img
80+
src={imagePath3}
81+
style={{
82+
width: '100%',
83+
height: '250px',
84+
}}
85+
loading="lazy"
86+
/>
87+
<strong>Visibility of the Pages:</strong><br></br>
88+
89+
When using GitHub Pages with a private repository, the website generated can still be publicly accessible. The content hosted on GitHub Pages does not inherit the repository's privacy status, so anyone with the link can access it unless further restrictions are applied (e.g., custom access controls).<br></br>
90+
<br></br>
91+
<strong>Restrictions for Private Repositories:</strong>
92+
<br></br>
93+
Ensure that sensitive or confidential information is not included in the repository, as it could inadvertently become exposed through the GitHub Pages site.<br></br></p>
6994
<h1>GitHub Actions</h1>
7095
<p>GitHub Actions is required in scenario where entry file of a repository is not at root directory and the repository is of a framework like React, Angular, StencilJS</p>
7196
<p>GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline. You can create workflows that build and test every pull request to your repository, or deploy merged pull requests to production.</p>

src/components/app-profile-page/app-profile-page.tsx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class AppProfile {
5959
<tr>
6060
<td>stenciljs-components</td>
6161
<td><a href="https://www.npmjs.com/package/stenciljs-components" target="_blank">Visit</a></td>
62-
<td>1.0.8</td>
62+
<td>1.0.13</td>
6363
</tr>
6464
<tr>
6565
<td>FLUID Library</td>
@@ -93,16 +93,16 @@ export class AppProfile {
9393
<td>StencilJS 4.7</td>
9494
</tr>
9595
<tr>
96+
<td>angular19-app</td>
97+
<td><a href="https://sanjeetkumaritoutlook.github.io/angular19-app/" target="_blank">Visit</a></td>
98+
<td>Angular 19</td>
99+
</tr>
100+
<tr>
96101
<td>consuming-angular-app</td>
97102
<td><a href="https://sanjeetkumaritoutlook.github.io/consuming-angular-app/" target="_blank">Visit</a></td>
98103
<td>Angular 16</td>
99104
</tr>
100105
<tr>
101-
<td>react-local-stenciljs</td>
102-
<td><a href="https://sanjeetkumaritoutlook.github.io/react-local-stenciljs/" target="_blank">Visit</a></td>
103-
<td>React 18.2</td>
104-
</tr>
105-
<tr>
106106
<td>ionic-web-app</td>
107107
<td><a href="https://sanjeetkumaritoutlook.github.io/ionic-web-app/" target="_blank">Visit</a></td>
108108
<td>Angular 17</td>
@@ -117,13 +117,17 @@ export class AppProfile {
117117
<td><a href="https://sanjeetkumaritoutlook.github.io/angular-tinymce-form/" target="_blank">Visit</a></td>
118118
<td>Angular 12</td>
119119
</tr>
120-
<tr>
120+
{/* <tr>
121121
<td>angular-local-stenciljs</td>
122122
<td><a href="https://sanjeetkumaritoutlook.github.io/angular-local-stenciljs/" target="_blank">Visit</a></td>
123123
<td>Angular 12</td>
124124
</tr>
125+
<tr>
126+
<td>react-local-stenciljs</td>
127+
<td><a href="https://sanjeetkumaritoutlook.github.io/react-local-stenciljs/" target="_blank">Visit</a></td>
128+
<td>React 18.2</td>
129+
</tr> */}
125130
</table>
126-
127131
</div>
128132
);
129133
}

src/components/feedback-form/feedback-form.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export class FeedbackForm {
342342

343343
// Ensure all required fields are filled
344344
if (!this.userName || !this.userEmail || !this.editorContent) {
345-
alert('Please fill out all fields before submitting.');
345+
alert('Please fill out first 3 fields before submitting.');
346346
return;
347347
}
348348
// Call EmailJS to send the email (Browser based or client based)
@@ -433,12 +433,16 @@ export class FeedbackForm {
433433
onInput={(event) => this.handleInputChange(event, 'email')}
434434
required/>
435435
</label>
436+
<br />
437+
<label>
438+
Please provide your feedback:
436439
<div
437440
id={editorId}
438441
ref={(el: HTMLElement) => (this._targetRef = el)}
439442
innerHTML={this.initialValue}
440443
aria-disabled={this.disabled}
441444
aria-placeholder={this.placeholder}></div>
445+
</label>
442446
<fluid-file-upload
443447
uploadControlConfig="uploadControlConfig"
444448
fileListUpdated="fileListUpdated($event)"

0 commit comments

Comments
 (0)