Skip to content

Commit

Permalink
deploy: d74064e
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoonahn committed Nov 29, 2023
1 parent d6890e8 commit 39bf68b
Show file tree
Hide file tree
Showing 16 changed files with 121 additions and 23 deletions.
4 changes: 2 additions & 2 deletions blog/iga-ios-1/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/publish-introduce/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/publish-part-1/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/publish-part-2/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion blog/scade-introduce/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/swiftui-need-mvvm/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/tuist-xcodebeta/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/universal-framework/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/what-is-swift/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/what-is-swiftui/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/yackety-yak-ios-4/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion feed.rss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>jihoon.me</title><description>This is a personal blog for iOS Developer jihoonahn.</description><link>https://blog.jihoon.me</link><language>ko</language><lastBuildDate>Wed, 29 Nov 2023 13:15:03 +0000</lastBuildDate><pubDate>Wed, 29 Nov 2023 13:15:03 +0000</pubDate><ttl>250</ttl><atom:link href="https://blog.jihoon.me/feed.rss" rel="self" type="application/rss+xml"/><item><guid isPermaLink="true">https://blog.jihoon.me/blog/publish-part-2</guid><title>Publish 사용하기 part 2</title><description>Swift publish 커스텀하기</description><link>https://blog.jihoon.me/blog/publish-part-2</link><pubDate>Thu, 26 Oct 2023 14:48:00 +0000</pubDate><content:encoded><![CDATA[<h2>Publish 구조 작성하기</h2><pre><code><span class="keyword">struct</span> PublishHTMLFactory: <span class="type">HTMLFactory</span> {
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>jihoon.me</title><description>This is a personal blog for iOS Developer jihoonahn.</description><link>https://blog.jihoon.me</link><language>ko</language><lastBuildDate>Wed, 29 Nov 2023 17:07:49 +0000</lastBuildDate><pubDate>Wed, 29 Nov 2023 17:07:49 +0000</pubDate><ttl>250</ttl><atom:link href="https://blog.jihoon.me/feed.rss" rel="self" type="application/rss+xml"/><item><guid isPermaLink="true">https://blog.jihoon.me/blog/publish-part-2</guid><title>Publish 사용하기 part 2</title><description>Swift publish 커스텀하기</description><link>https://blog.jihoon.me/blog/publish-part-2</link><pubDate>Thu, 26 Oct 2023 14:48:00 +0000</pubDate><content:encoded><![CDATA[<h2>Publish 구조 작성하기</h2><pre><code><span class="keyword">struct</span> PublishHTMLFactory: <span class="type">HTMLFactory</span> {
<span class="keyword">typealias</span> Site = <span class="type">Example</span>
<span class="keyword">func</span> makeIndexHTML(for index: <span class="type">Publish</span>.<span class="type">Index</span>, context: <span class="type">Publish</span>.<span class="type">PublishingContext</span>&lt;<span class="type">Example</span>&gt;) <span class="keyword">throws</span> -&gt; <span class="type">Plot</span>.<span class="type">HTML</span> {
Expand Down
1 change: 1 addition & 0 deletions static/icons/copy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions static/scripts/post.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
function attachEvent(selector, event, fn) {
const matches = typeof selector === 'string' ? document.querySelectorAll(selector) : selector;
if (matches && matches.length) {
matches.forEach((elem) => {
elem.addEventListener(event, (e) => fn(e, elem), false);
});
}
}

window.onload = function() {
var host = window.location.host;
var pathname = window.location.pathname;

attachEvent('.copyPost', 'click', function() {
var tempInput = document.createElement("input");
tempInput.value = host + pathname;
document.body.appendChild(tempInput);
tempInput.select();
tempInput.setSelectionRange(0, 99999);
document.execCommand("copy");
document.body.removeChild(tempInput);
});
};
74 changes: 74 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ pre code .preprocessing {
margin-right: auto;
width: 85%;
overflow: auto;
text-align: center;
}

@media (min-width: 768px) {
Expand Down Expand Up @@ -897,6 +898,10 @@ pre code .preprocessing {
margin: 0.125rem;
}

.m-1 {
margin: 0.25rem;
}

.mx-0 {
margin-left: 0px;
margin-right: 0px;
Expand Down Expand Up @@ -952,6 +957,10 @@ pre code .preprocessing {
margin-bottom: auto;
}

.mb-0 {
margin-bottom: 0px;
}

.mb-2 {
margin-bottom: 0.5rem;
}
Expand All @@ -972,6 +981,14 @@ pre code .preprocessing {
margin-left: 1rem;
}

.mr-1 {
margin-right: 0.25rem;
}

.mr-1\.5 {
margin-right: 0.375rem;
}

.mt-11 {
margin-top: 2.75rem;
}
Expand All @@ -988,6 +1005,14 @@ pre code .preprocessing {
margin-top: 1rem;
}

.mt-5 {
margin-top: 1.25rem;
}

.mt-6 {
margin-top: 1.5rem;
}

.mt-8 {
margin-top: 2rem;
}
Expand Down Expand Up @@ -1290,6 +1315,11 @@ pre code .preprocessing {
border-color: rgb(113 113 122 / var(--tw-border-opacity));
}

.bg-blog-c-button {
--tw-bg-opacity: 1;
background-color: rgb(245 245 247 / var(--tw-bg-opacity));
}

.bg-blog-c-footer {
--tw-bg-opacity: 1;
background-color: rgb(245 245 247 / var(--tw-bg-opacity));
Expand All @@ -1313,6 +1343,11 @@ pre code .preprocessing {
background-color: rgb(246 248 250 / var(--tw-bg-opacity));
}

.bg-neutral-900 {
--tw-bg-opacity: 1;
background-color: rgb(23 23 23 / var(--tw-bg-opacity));
}

.bg-white {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
Expand All @@ -1331,6 +1366,10 @@ pre code .preprocessing {
padding: 0.25rem;
}

.p-1\.5 {
padding: 0.375rem;
}

.p-16 {
padding: 4rem;
}
Expand All @@ -1356,6 +1395,16 @@ pre code .preprocessing {
padding-right: 0px;
}

.px-1 {
padding-left: 0.25rem;
padding-right: 0.25rem;
}

.px-1\.5 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}

.px-3 {
padding-left: 0.75rem;
padding-right: 0.75rem;
Expand All @@ -1376,6 +1425,11 @@ pre code .preprocessing {
padding-bottom: 0px;
}

.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}

.py-3 {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
Expand Down Expand Up @@ -1538,6 +1592,11 @@ pre code .preprocessing {
color: rgb(68 64 60 / var(--tw-text-opacity));
}

.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}

.backdrop-blur-xl {
--tw-backdrop-blur: blur(24px);
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
Expand Down Expand Up @@ -1569,6 +1628,21 @@ pre code .preprocessing {
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.hover\:bg-gray-300:hover {
--tw-bg-opacity: 1;
background-color: rgb(209 213 219 / var(--tw-bg-opacity));
}

.hover\:bg-zinc-300:hover {
--tw-bg-opacity: 1;
background-color: rgb(212 212 216 / var(--tw-bg-opacity));
}

.hover\:text-black:hover {
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
}

.hover\:text-white:hover {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
Expand Down
2 changes: 1 addition & 1 deletion tags/index.html

Large diffs are not rendered by default.

0 comments on commit 39bf68b

Please sign in to comment.