Skip to content

Commit f872564

Browse files
SimYunSuprkttu
authored andcommitted
feat: Migrate website to a Blazor application, restructuring content and build environment.
1 parent 04d2b85 commit f872564

File tree

117 files changed

+5721
-117
lines changed

Some content is hidden

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

117 files changed

+5721
-117
lines changed

.github/workflows/deploy.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v4
20+
with:
21+
dotnet-version: '10.0.x'
22+
23+
- name: Publish
24+
run: dotnet publish src/DotnetDevKr.Website/DotnetDevKr.Website.csproj -c Release -o release
25+
26+
- name: Setup Pages
27+
uses: actions/configure-pages@v4
28+
29+
- name: Upload artifact
30+
uses: actions/upload-pages-artifact@v2
31+
with:
32+
# Upload the wwwroot directory from the publish output
33+
path: 'release/wwwroot'
34+
35+
- name: Deploy to GitHub Pages
36+
id: deployment
37+
uses: actions/deploy-pages@v2

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ Thumbs.db
2121

2222
# Docker
2323
docker-compose.override.yml
24+
css/app.css
25+
bin/
26+
obj/

Dockerfile

Lines changed: 0 additions & 26 deletions
This file was deleted.

Gemfile

Lines changed: 0 additions & 22 deletions
This file was deleted.

_layouts/default.html

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<html lang="ko">
3+
34
<head>
45
<meta charset="UTF-8">
56
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -24,10 +25,10 @@
2425
<h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1>
2526
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>
2627
{% if site.show_downloads %}
27-
<section id="downloads">
28-
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
29-
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
30-
</section>
28+
<section id="downloads">
29+
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
30+
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
31+
</section>
3132
{% endif %}
3233
</header>
3334
</div>
@@ -37,7 +38,7 @@ <h2 id="project_tagline">{{ site.description | default: site.github.project_tagl
3738
position: relative;
3839
overflow: hidden;
3940
}
40-
41+
4142
.header-bg-logo {
4243
position: absolute;
4344
top: 50%;
@@ -54,12 +55,12 @@ <h2 id="project_tagline">{{ site.description | default: site.github.project_tagl
5455
pointer-events: none;
5556
z-index: 0;
5657
}
57-
58+
5859
#header_wrap .inner {
5960
position: relative;
6061
z-index: 1;
6162
}
62-
63+
6364
@media (max-width: 1024px) {
6465
.header-bg-logo {
6566
left: 0;
@@ -79,15 +80,18 @@ <h2 id="project_tagline">{{ site.description | default: site.github.project_tagl
7980
{% include footer.html %}
8081

8182
{% if site.google_analytics %}
82-
<script>
83-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
84-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
85-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
86-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
87-
ga('create', '{{ site.google_analytics }}', 'auto');
88-
ga('send', 'pageview');
89-
</script>
83+
<script>
84+
(function (i, s, o, g, r, a, m) {
85+
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
86+
(i[r].q = i[r].q || []).push(arguments)
87+
}, i[r].l = 1 * new Date(); a = s.createElement(o),
88+
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
89+
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
90+
ga('create', '{{ site.google_analytics }}', 'auto');
91+
ga('send', 'pageview');
92+
</script>
9093
{% endif %}
9194
<script src="https://loopback.social/banner.js" defer></script>
9295
</body>
93-
</html>
96+
97+
</html>

coc/index.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

disclosures/index.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

docker-compose.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

finance/2023/index.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

meetings/index.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)