Skip to content

Commit

Permalink
#42.3 | Deploy web
Browse files Browse the repository at this point in the history
  • Loading branch information
LuongXuanNhat committed Dec 6, 2023
1 parent 7e9aae6 commit 49d8d31
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 8 deletions.
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"baseHref": "toiyeulichsu.com",
"baseHref": "/VietNamHistory/",
"allowedCommonJsDependencies": ["@ckeditor/ckeditor5-build-classic"],
"outputPath": "docs",
"index": "src/index.html",
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
</style>
<body class="ig-typography ig-scrollbar">
<app-root></app-root>
<script src="runtime.10f09cdf8c3e24d5.js" type="module"></script><script src="polyfills.918ca83f6100aaee.js" type="module"></script><script src="scripts.cd816875f3dc91fb.js" defer></script><script src="main.47df02dff6954eb9.js" type="module"></script></body>
<script src="runtime.10f09cdf8c3e24d5.js" type="module"></script><script src="polyfills.918ca83f6100aaee.js" type="module"></script><script src="scripts.cd816875f3dc91fb.js" defer></script><script src="main.a919e536cad8ffd0.js" type="module"></script></body>
</html>

Large diffs are not rendered by default.

39 changes: 36 additions & 3 deletions src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,43 @@ <h5>Khóa học</h5>
</div>
<div class="flex-center-h">
<div>

<a href="" class="underline-none text-black po-re dis-flex" style="width: 270px;">
<img src="assets/Icon/contest1.png" alt="" class="po-ab" style="width: 100%; object-fit: contain;">
<div class="mt flex-center-sb plr">
<div>⭐⭐⭐⭐⭐</div>
<div style="font-size: 12px; background-color: #4069E5; border-radius: 4px;">Miễn phí</div>
</div>
<div class="text-2-line">Lịch sử Việt Nam ( giai đoạn 1945 -1954 )</div>
<div class="flex-center-h">
<div>🖊️</div>
<div class="pl">Nguyễn Văn Nam</div>
</div>
</a>
<a href="" class="underline-none text-black po-re dis-flex" style="width: 270px;">
<img src="assets/Icon/contest2.png" alt="" class="po-ab" style="width: 100%; object-fit: contain;">
<div class="mt flex-center-sb plr">
<div>⭐⭐⭐⭐⭐</div>
<div style="font-size: 12px; background-color: #4069E5; border-radius: 4px;">Miễn phí</div>
</div>
<div class="text-2-line">Các cuộc khởi nghĩa trong thời gian 1000 năm Bắc thuộc</div>
<div class="flex-center-h">
<div>🖊️</div>
<div class="pl">Nguyễn Xuân Văn Tài</div>
</div>
</a><a href="" class="underline-none text-black po-re dis-flex" style="width: 270px;">
<img src="assets/Icon/contest3.png" alt="" class="po-ab" style="width: 100%; object-fit: contain;">
<div class="mt flex-center-sb plr">
<div>⭐⭐⭐⭐⭐</div>
<div style="font-size: 12px; background-color: #4069E5; border-radius: 4px;">Miễn phí</div>
</div>
<div class="text-2-line">HỌC LỊCH SỬ THEO CHỦ ĐỀ - NHỮNG VẤN ĐỀ THƯỜNG GẶP TRONG ĐỀ THI ...</div>
<div class="flex-center-h">
<div>🖊️</div>
<div class="pl">Đặng Mai Hương</div>
</div>
</a>
</div>
<div></div>
<div></div>

</div>
</div>
<div class="flex-center-sb">
Expand Down
2 changes: 1 addition & 1 deletion src/app/service/publicservice.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { AuthService } from './auth.service';
export class PublicserviceService {

constructor(private http: HttpClient, private datePipe: DatePipe ,private authservice: AuthService) { }
url = "http://localhost:4200/VietNamHistory_FEweb";
url = "https://toiyeulichsu.com";
apiurl = this.authservice.getApiUrl();

CreatePost(data: FormData){
Expand Down

0 comments on commit 49d8d31

Please sign in to comment.