Skip to content

Commit 927b4f1

Browse files
committed
test
1 parent 44309cb commit 927b4f1

20 files changed

+781
-1
lines changed

.github/workflows/jekyll.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build Jekyll site
2+
on:
3+
push:
4+
branches: ["main"]
5+
permissions:
6+
contents: read
7+
pages: write
8+
id-token: write
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
submodules: 'recursive' # This will recursively clone submodules
17+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
18+
- name: Setup Pages
19+
uses: actions/configure-pages@v5
20+
- name: Build
21+
uses: actions/jekyll-build-pages@v1
22+
- name: Upload artifact
23+
uses: actions/upload-pages-artifact@v3
24+
deploy:
25+
runs-on: ubuntu-latest
26+
needs: build
27+
steps:
28+
- name: Deploy to GitHub Pages
29+
id: deployment
30+
uses: actions/deploy-pages@v4
31+
environment:
32+
name: github-pages
33+
url: ${{ steps.deployment.outputs.page_url }}

.gitignore

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
.vs
2+
3+
_tmp/
4+
*.epub
5+
output/
6+
7+
_site
8+
.sass-cache
9+
.jekyll-cache
10+
.jekyll-metadata
11+
Gemfile.lock
12+
vendor
13+
14+
*.png
15+
*.jpg
16+
17+
*.zip
18+
*.7z
19+
20+
# Byte-compiled / optimized / DLL files
21+
__pycache__/
22+
*.py[cod]
23+
*$py.class
24+
25+
# C extensions
26+
*.so
27+
28+
# Distribution / packaging
29+
.Python
30+
build/
31+
develop-eggs/
32+
dist/
33+
downloads/
34+
eggs/
35+
.eggs/
36+
lib/
37+
lib64/
38+
parts/
39+
sdist/
40+
var/
41+
wheels/
42+
share/python-wheels/
43+
*.egg-info/
44+
.installed.cfg
45+
*.egg
46+
MANIFEST
47+
48+
# PyInstaller
49+
# Usually these files are written by a python script from a template
50+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
51+
*.manifest
52+
*.spec
53+
54+
# Installer logs
55+
pip-log.txt
56+
pip-delete-this-directory.txt
57+
58+
# Unit test / coverage reports
59+
htmlcov/
60+
.tox/
61+
.nox/
62+
.coverage
63+
.coverage.*
64+
.cache
65+
nosetests.xml
66+
coverage.xml
67+
*.cover
68+
*.py,cover
69+
.hypothesis/
70+
.pytest_cache/
71+
cover/
72+
73+
# Translations
74+
*.mo
75+
*.pot
76+
77+
# Django stuff:
78+
*.log
79+
local_settings.py
80+
db.sqlite3
81+
db.sqlite3-journal
82+
83+
# Flask stuff:
84+
instance/
85+
.webassets-cache
86+
87+
# Scrapy stuff:
88+
.scrapy
89+
90+
# Sphinx documentation
91+
docs/_build/
92+
93+
# PyBuilder
94+
.pybuilder/
95+
target/
96+
97+
# Jupyter Notebook
98+
.ipynb_checkpoints
99+
100+
# IPython
101+
profile_default/
102+
ipython_config.py
103+
104+
# pyenv
105+
# For a library or package, you might want to ignore these files since the code is
106+
# intended to run in multiple environments; otherwise, check them in:
107+
# .python-version
108+
109+
# pipenv
110+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
111+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
112+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
113+
# install all needed dependencies.
114+
#Pipfile.lock
115+
116+
# poetry
117+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
118+
# This is especially recommended for binary packages to ensure reproducibility, and is more
119+
# commonly ignored for libraries.
120+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
121+
#poetry.lock
122+
123+
# pdm
124+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
125+
#pdm.lock
126+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
127+
# in version control.
128+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
129+
.pdm.toml
130+
.pdm-python
131+
.pdm-build/
132+
133+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
134+
__pypackages__/
135+
136+
# Celery stuff
137+
celerybeat-schedule
138+
celerybeat.pid
139+
140+
# SageMath parsed files
141+
*.sage.py
142+
143+
# Environments
144+
.env
145+
.venv
146+
env/
147+
venv/
148+
ENV/
149+
env.bak/
150+
venv.bak/
151+
152+
# Spyder project settings
153+
.spyderproject
154+
.spyproject
155+
156+
# Rope project settings
157+
.ropeproject
158+
159+
# mkdocs documentation
160+
/site
161+
162+
# mypy
163+
.mypy_cache/
164+
.dmypy.json
165+
dmypy.json
166+
167+
# Pyre type checker
168+
.pyre/
169+
170+
# pytype static type analyzer
171+
.pytype/
172+
173+
# Cython debug symbols
174+
cython_debug/
175+
176+
# PyCharm
177+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
178+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
179+
# and can be added to the global gitignore or merged into this file. For a more nuclear
180+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
181+
#.idea/
182+

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[submodule "_includes"]
2+
path = _includes
3+
url = ../Jekyll_includes.git
4+
branch = main
5+
6+
[submodule "_layouts"]
7+
path = _layouts
8+
url = ../posetmage_layouts.git
9+
branch = main

404.html

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
permalink: /404.html
3+
layout: page
4+
---
5+
6+
<style type="text/css" media="screen">
7+
.container {
8+
display: none; /* Initially hide the container */
9+
margin: 10px auto;
10+
max-width: 600px;
11+
text-align: center;
12+
}
13+
.loading {
14+
margin: 10px auto;
15+
max-width: 600px;
16+
text-align: center;
17+
font-size: 2em;
18+
}
19+
h1 {
20+
margin: 30px 0;
21+
font-size: 4em;
22+
line-height: 1;
23+
letter-spacing: -1px;
24+
}
25+
</style>
26+
27+
<div class="loading">Loading...</div>
28+
29+
<div class="container">
30+
<h1>404</h1>
31+
<p><strong>Page not found :(</strong></p>
32+
<p>The requested page could not be found.</p>
33+
</div>
34+
35+
<script>
36+
// Function to extract the shortcode from the current URL
37+
function getShortCode() {
38+
return window.location.pathname.slice(1); // Remove the leading '/'
39+
}
40+
41+
// Function to load the URL mappings and handle the page content
42+
function loadAndRedirect() {
43+
fetch('https://raw.githubusercontent.com/posetmage/url/master/urlMappings.json') // Adjust the path if your JSON file is located elsewhere
44+
.then(response => {
45+
if (!response.ok) {
46+
throw new Error('Network response was not ok');
47+
}
48+
return response.json();
49+
})
50+
.then(data => {
51+
const shortCode = getShortCode();
52+
const realUrl = data[shortCode];
53+
if (realUrl) {
54+
// If a matching URL is found, redirect
55+
window.location.href = realUrl;
56+
} else {
57+
// If no match is found, display the original message
58+
document.querySelector('.loading').style.display = 'none'; // Hide the loading message
59+
document.querySelector('.container').style.display = 'block'; // Show the original 404 content
60+
}
61+
})
62+
.catch(error => {
63+
console.error('Failed to load URL mappings:', error);
64+
document.querySelector('.loading').style.display = 'none';
65+
document.querySelector('.container').style.display = 'block';
66+
});
67+
}
68+
69+
// Call the function on page load
70+
loadAndRedirect();
71+
</script>

About/index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: page
3+
title: About
4+
---
5+
6+
## Brand Story of Poset Mage
7+
Welcome to the expansive universe of "Poset Mage," where the art of magic is redefined through the innovative concept of Partially Ordered Magic (POM). This concept draws inspiration from the mathematical idea of a poset, or partially ordered set. In our universe, this symbolizes a complex yet structured approach to learning and mastering magical skills, akin to navigating a skill tree.
8+
9+
Each skill in this magical framework is like a node in a vast network, where some skills can be learned in various sequences while others must follow a specific order. This partially ordered structure ensures that all mages, whether beginners or advanced, can strategically plan their paths, enhancing their powers through careful selection and sequencing of spells and abilities.
10+
11+
In the world of Poset Mage, magic isn’t simply a collection of spells cast at will but rather a structured network of skills and knowledge that mages must navigate with care and strategic foresight. Each mage’s journey is uniquely shaped by their chosen path through the magic skill tree, where spells and abilities are interconnected in a partially ordered manner. This means that while mages enjoy the freedom to explore diverse magical realms, they must also meet certain prerequisites to unlock more potent and complex spells.
12+
13+
Sub-Brands of Poset Mage:
14+
15+
## LatticeMage:
16+
Focusing on the intricate layers of mastery in various high-skilled areas, LatticeMage serves professionals and enthusiasts in fields such as algorithmic trading, startups, competitive psychology, coding, and productivity workflows. It symbolizes the structured yet interconnected pathways that these fields share with the principles of partially ordered magic.
17+
18+
## ShinraMage:
19+
Dedicated to fans of anime, comics, games, novels (ACGN), and learners of the Japanese language, ShinraMage merges ACGN culture with educational pursuits. It provides a magical framework for exploring both entertainment and learning, emphasizing the joy and depth of immersive cultural experiences.
20+
21+
## AlchemyMage:
22+
Targeted towards the Taiwanese market, AlchemyMage combines business insights, rapid learning techniques, and strategies for overcoming adversity with the allure of AI. Drawing parallels with the mythical philosopher's stone, this sub-brand focuses on transforming and elevating business acumen and personal growth in the face of challenges.
23+
24+
## AI-Mage:
25+
Specializing in the burgeoning field of AI-generated content (AIGC), AI-Mage is crafted for creators, developers, and innovators who are pioneering the integration of artificial intelligence in creative processes. It represents the cutting edge of technological magic within the Poset Mage universe.
26+
27+
## The Mission of Poset Mage
28+
Poset Mage and its sub-brands are committed to transforming how individuals engage with their professions, hobbies, and learning experiences. By blending the structured beauty of poset theory with the boundless possibilities of magic, Poset Mage offers a unique, personalized pathway to mastery and excellence in various fields. Each sub-brand serves as a gateway to specialized knowledge, empowering users to harness their potential and achieve extraordinary results.

CNAME

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

Contact/index.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
layout: page
3+
title: Contact
4+
permalink: /Contact/
5+
redirect_from:
6+
- /contact/
7+
---
8+
9+
<style>
10+
.contact-form {
11+
max-width: 100%;
12+
}
13+
14+
.contact-form input[type="text"],
15+
.contact-form input[type="email"],
16+
.contact-form textarea {
17+
width: 100%;
18+
}
19+
20+
.contact-form textarea {
21+
height: 200px;
22+
}
23+
24+
</style>
25+
26+
{% include social.html %}
27+
28+
<form action="https://formspree.io/f/xayzglbq" method="POST" class="contact-form">
29+
<label for="name">What's your name/id?:</label><br>
30+
<input type="text" id="name" name="name" required><br>
31+
<label for="email">Your email address?:</label><br>
32+
<input type="email" id="email" name="_replyto" required><br>
33+
<label for="message">Anything want to say?:</label><br>
34+
<textarea id="message" name="message" required></textarea><br>
35+
<input type="submit" value="Submit"> <p align="right"><i>powered by formspree service</i></p><br>
36+
</form>

0 commit comments

Comments
 (0)