Removed usage of custom HTML elements
This commit is contained in:
parent
9ab729b2d5
commit
8e1c938dbe
|
@ -26,7 +26,8 @@
|
|||
<title>About | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -82,6 +83,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Articles | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -43,6 +44,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Website Changelog Archive: 2022 | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -192,6 +193,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Website Changelog | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -194,6 +195,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Website Layout Archive | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -54,6 +55,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>June 2023 Layout Rewrite | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -50,7 +51,7 @@
|
|||
<li>Use a mobile-first workflow to rewrite the CSS of this website to make the website more responsive to various screen sizes (mobile, tablet and desktop). </li>
|
||||
<li>Streamline the CSS of the main parts of the site into one CSS file. The only pages that also have their own CSS due to unique elements with custom classes exclusive to the pages are <a href="/mymods/">my mod pages</a>. The shrines still have their own CSS files, however.</li>
|
||||
<li>Use <a href="https://andy-bell.co.uk/a-modern-css-reset/" target="_blank">Andy Bell's modern CSS reset</a> for the CSS of the entire website.</li>
|
||||
<li>Use <a href="https://www.freecodecamp.org/news/reusable-html-components-how-to-reuse-a-header-and-footer-on-a-website/" target="_blank">custom HTML elements</a> for components that are shared across multiple pages, including the header, navigation bar and footer</li>
|
||||
<li>The header, navigation bar and footer have their own scripts to dynamically render the content of these elements with JavaScript's <a href="https://www.javascripttutorial.net/javascript-dom/javascript-innerhtml/" target="_blank"><code class="inline-code">innerHTML</code></a> property.</li>
|
||||
<li>Add a "Back to top" link to the footer to quickly scroll back to the top of the page you are viewing</li>
|
||||
</ul>
|
||||
|
||||
|
@ -61,6 +62,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Website Layout Archive | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -67,6 +68,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -1,17 +1,5 @@
|
|||
class Footer extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.innerHTML = `
|
||||
<footer>
|
||||
<p>Made with ♥ by Leilukin</p>
|
||||
<p>Site Launched: September 11, 2022</p>
|
||||
// Footer component content
|
||||
document.querySelector("footer").innerHTML = `
|
||||
<p>Made with ♥ by Leilukin | Site Launched: September 11, 2022</p>
|
||||
<p><a href="/changelog">Website Changelog</a> | <a href="#page-top">Back to top</a></p>
|
||||
</footer>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('footer-component', Footer);
|
||||
`;
|
|
@ -1,14 +1,10 @@
|
|||
class Header extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.innerHTML = `
|
||||
<header>
|
||||
// Header component content
|
||||
document.querySelector("header").innerHTML = `
|
||||
<img src="/assets/Leilukins-Hub-website-banner.png" alt="">
|
||||
</header>
|
||||
<nav>
|
||||
`;
|
||||
|
||||
// Navigation component content
|
||||
document.querySelector("nav").innerHTML = `
|
||||
<ul class="nav__menu">
|
||||
<li class="nav__title"><a href="/">Leilukin's Hub</a></li>
|
||||
<li class="nav__item"><a href="/home.html">Home</a></li>
|
||||
|
@ -39,9 +35,4 @@ class Header extends HTMLElement {
|
|||
<li class="nav__item"><a href="/sitemap.html">Site Map</a></li>
|
||||
<li class="nav__toggle"><a href="#"><i class="fas fa-bars"></i></a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('header-component', Header);
|
||||
`;
|
|
@ -26,7 +26,8 @@
|
|||
<title>Featured | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -48,6 +49,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>KotOR 2 Modders Interview on Ars Technica | Featured | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -59,6 +60,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>LGBTQ+ Booklet Artist Interview from MISI:Bawang | Featured | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -78,6 +79,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Home | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -87,6 +88,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Links | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -56,6 +57,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
19
main.css
19
main.css
|
@ -214,7 +214,7 @@ summary {
|
|||
|
||||
/* HEADER COMPONENT */
|
||||
header {
|
||||
width: 100vw;
|
||||
width: 100%;
|
||||
max-height: 20rem;
|
||||
background-color: var(--header-bg-color);
|
||||
display: flex;
|
||||
|
@ -230,7 +230,7 @@ header img {
|
|||
/* NAVIGATION BAR COMPONENT */
|
||||
nav {
|
||||
background: var(--nav-bg);
|
||||
padding: 0 0.9rem;
|
||||
padding: 0 0.6rem;
|
||||
width: 100%;
|
||||
z-index: 999;
|
||||
}
|
||||
|
@ -249,12 +249,12 @@ nav a {
|
|||
}
|
||||
|
||||
.nav__title {
|
||||
font-size: 20px;
|
||||
font-size: 1.2rem;
|
||||
padding: 0.2rem 0;
|
||||
}
|
||||
|
||||
.nav__item {
|
||||
padding: 0.6rem;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.nav__item a:hover,
|
||||
|
@ -275,7 +275,7 @@ nav a {
|
|||
padding: 0.9rem 0.8rem;
|
||||
}
|
||||
|
||||
.nav__menu li.nav__subitem a {
|
||||
.nav__menu li .nav__subitem a {
|
||||
padding: 0.9rem;
|
||||
}
|
||||
|
||||
|
@ -381,7 +381,7 @@ as the navigation bar gets a new position at the top of the page
|
|||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 68px;
|
||||
top: 4.25rem;
|
||||
background: var(--nav-submenu-active);
|
||||
}
|
||||
|
||||
|
@ -429,6 +429,11 @@ article, .content-container {
|
|||
order: 1;
|
||||
}
|
||||
|
||||
.sidebar--sticky {
|
||||
position: sticky;
|
||||
top: 5rem;
|
||||
}
|
||||
|
||||
.left-sidebar {
|
||||
order: 2;
|
||||
}
|
||||
|
@ -592,7 +597,7 @@ article, .content-container {
|
|||
/* FOOTER COMPONENT */
|
||||
footer {
|
||||
background-color: var(--footer-bg);
|
||||
width: 100vw;
|
||||
width: 100%;
|
||||
padding: 0.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
<title>My Creations | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -46,6 +47,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>My Video Game Mods | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -53,6 +54,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -28,7 +28,8 @@
|
|||
<title>My KotOR 1 Mods | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -197,6 +198,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</h
|
|
@ -28,7 +28,8 @@
|
|||
<title>My KotOR 2 Mods | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -241,6 +242,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</h
|
|
@ -26,7 +26,8 @@
|
|||
<title>Playlists | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<aside class="left-sidebar">
|
||||
<div class="sidebar__toc">
|
||||
|
@ -67,6 +68,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Anti-Harry Potter and Anti-J. K. Rowling Masterlist | Resources | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -81,6 +82,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Resources | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -61,6 +62,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -1,15 +1,4 @@
|
|||
class Footer extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.innerHTML = `
|
||||
<footer>
|
||||
Made with ♥ by Leilukin | <a href="#page-top">Back to top</a>
|
||||
</footer>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('footer-component', Footer);
|
||||
// Footer component content
|
||||
document.querySelector("footer").innerHTML = `
|
||||
<p>Made with ♥ by Leilukin | <a href="#page-top">Back to top</a></p>
|
||||
`;
|
|
@ -1,14 +1,10 @@
|
|||
class Header extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.innerHTML = `
|
||||
<header>
|
||||
// Header component content
|
||||
document.querySelector("header").innerHTML = `
|
||||
<img src="./img/asummersend_header.png" alt="">
|
||||
</header>
|
||||
<nav>
|
||||
`;
|
||||
|
||||
// Navigation component content
|
||||
document.querySelector("nav").innerHTML = `
|
||||
<ul class="nav__menu">
|
||||
<li class="nav__title"><a href="/shrines/asummersend/">A Summer's End</a></li>
|
||||
<li class="nav__item"><a href="/shrines/asummersend/">Shrine Home</a></li>
|
||||
|
@ -19,9 +15,4 @@ class Header extends HTMLElement {
|
|||
<li class="nav__item"><a href="/home.html">Main Site</a></li>
|
||||
<li class="nav__toggle"><a href="#"><i class="fas fa-bars"></i></a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('header-component', Header);
|
||||
`;
|
|
@ -1,10 +1,6 @@
|
|||
class RightSidebarContent extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.innerHTML = `
|
||||
// Sidebar content
|
||||
document.querySelector(".right-sidebar").innerHTML = `
|
||||
<div class="sidebar--sticky">
|
||||
<h2>About</h2>
|
||||
<p><em>A Summer’s End — Hong Kong 1986</em> is a visual novel set in 1980s Hong Kong. It tells of a love story between two women. Lush and vibrant visuals, the game features over 400 unique hand-drawn artwork inspired by Asian cinema and 1980s anime.</p>
|
||||
<h3>Links</h3>
|
||||
|
@ -14,8 +10,5 @@ class RightSidebarContent extends HTMLElement {
|
|||
<li><a href="https://store.steampowered.com/app/1111370/A_Summers_End__Hong_Kong_1986/" target="_blank">Steam</a></li>
|
||||
<li><a href="https://oracleandbone.itch.io/a-summers-end" target="_blank">itch.io</a></li>
|
||||
</ul>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('right-sidebar-component', RightSidebarContent);
|
||||
</div>
|
||||
`;
|
|
@ -27,7 +27,8 @@
|
|||
<title>Gallery | A Summer’s End — Hong Kong 1986 Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -54,11 +55,9 @@
|
|||
</section>
|
||||
</div>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
<aside class="right-sidebar"></aside>
|
||||
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>A Summer’s End — Hong Kong 1986 Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -67,11 +68,9 @@
|
|||
</section>
|
||||
</div>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
<aside class="right-sidebar"></aside>
|
||||
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Playlists | A Summer’s End — Hong Kong 1986 Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<aside class="left-sidebar">
|
||||
<div class="sidebar__toc">
|
||||
|
@ -85,11 +86,9 @@
|
|||
</section>
|
||||
</div>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
<aside class="right-sidebar"></aside>
|
||||
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Trivia | A Summer’s End — Hong Kong 1986 Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -84,11 +85,9 @@
|
|||
</section>
|
||||
</div>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
<aside class="right-sidebar"></aside>
|
||||
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Shrines | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -36,10 +37,14 @@
|
|||
<section class="content-section">
|
||||
<h1>Shrines</h1>
|
||||
<p>Internet shrines are website pages dedicated to specific topics or interests. Here is a list of shrines I have made for my own website.</p>
|
||||
</section>
|
||||
|
||||
<section class="content-section">
|
||||
<h2><a href="./asummersend/" target="_blank"><em>A Summer’s End — Hong Kong 1986</em></a></h2>
|
||||
<a href="./asummersend/" target="_blank"><img src="./asummersend/img/asummersend_header.png" alt="Header of A Summer’s End — Hong Kong 1986" width="100%"></a>
|
||||
</section>
|
||||
|
||||
<section class="content-section">
|
||||
<h2><a href="./starwarskotor/" target="_blank"><em>Star Wars: Knights of the Old Republic</em></a></h2>
|
||||
<a href="./starwarskotor/" target="_blank"><img src="./starwarskotor/img/swkotor-header.jpg" alt="Header of the Star Wars: Knights of the Old Republic series" width="100%"></a>
|
||||
</section>
|
||||
|
|
|
@ -27,7 +27,8 @@
|
|||
<title>My Thoughts on the “Arren Kae is Kreia” Theory | Articles | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -51,11 +52,9 @@
|
|||
<p>In conclusion, Keeping Arren Kae and Kreia as two different people in my <cite>KotOR</cite> headcanons allows Arren to be a positive influence in Brianna’s life that Brianna needs. Also, there are many interesting ideas and possibilities about Arren and Kreia’s dynamics that could be explored.</p>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
<aside class="right-sidebar"></aside>
|
||||
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>FAQ for My Star Wars: KotOR Same-Gender Romance Mods | Guides | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<aside class="left-sidebar">
|
||||
<div class="sidebar__toc">
|
||||
|
@ -209,10 +210,10 @@
|
|||
|
||||
<details class="qna-accordion">
|
||||
<summary class="qna-accordion__question">
|
||||
Will you add kissing scenes/sex scenes to your romance mods?
|
||||
Will you add kissing scenes to your romance mods?
|
||||
</summary>
|
||||
<div class="qna-accordion__answer">
|
||||
<p>No. The purpose of my same-gender romance mods is not necessary to add new content, but to allow players to experience the pre-existing romance content in the <cite>KotOR</cite> series without the heterosexual gender restrictions. Kissing or sex scenes are beyond the scope of my mods, and I do not necessary have the skills required (such as modelling, animations, etc.) to create them either, especially given how limited the animations in these old games are.</p>
|
||||
<p>No. The purpose of my same-gender romance mods is not necessary to add new content, but to allow players to experience the pre-existing romance content in the <cite>KotOR</cite> series without the heterosexual gender restrictions. Kissing scenes are beyond the scope of my mods, and I do not necessary have the skills required (such as modelling, animations, etc.) to create them either, especially given how limited the animations in these old games are.</p>
|
||||
<p>For Carth Onasi and Male PC Romance mod for KotOR 1, if you want your male PC to kiss Carth, you may install cjt0202's <a href="http://www.cjt0202.net/carth_romance.php" target="_blank">Carth Romance Fix</a> mod, then install the compatibility patch provided in my mod.</p>
|
||||
</div>
|
||||
</details>
|
||||
|
@ -314,10 +315,7 @@
|
|||
</section>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
<aside class="right-sidebar"></aside>
|
||||
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
|
||||
<footer></footer>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Where is the Mother of Handmaiden’s Sisters? | Articles | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -55,11 +56,8 @@
|
|||
<p>However, I would still like to know at least a little more about the mother of Brianna’s sisters, since Brianna’s complicated relationship with her sisters also affects Brianna’s character and story arc.</p>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Articles | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -63,11 +64,8 @@
|
|||
</section>
|
||||
</div>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Access Juhani's Conversaion about Canderous without Restoration Mods | Articles | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -62,11 +63,8 @@
|
|||
<p>As evidence, I have recorded and compile the above video myself showing Juhani's interactions with Canderous and Juhani's conversation about Canderous.</p>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Evidence of Juhani being a Lesbian from Star Wars: KotOR's Game Files | Articles | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -81,11 +82,8 @@
|
|||
<p>I would also like to emphasise that <strong>I DO NOT support any mods that make Juhani a romance option for male characters under any circumstances</strong>, because such mods would be erasing the identity of the very first confirmed lesbian character in any Star Wars media. Not to mention, Juhani is the ONLY confirmed LGBTQ+ character in the entire KotOR series (Belaya from KotOR 1 and Luxa from KotOR 2 are heavily implied to be gay or bisexual, but their sexuality is never confirmed). Please respect LGBTQ+ representation and the identities of canon LGBTQ+ characters.</p>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -1,15 +1,4 @@
|
|||
class Footer extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.innerHTML = `
|
||||
<footer>
|
||||
Made with ♥ and the Force by Leilukin | <a href="#page-top">Back to top</a>
|
||||
</footer>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('footer-component', Footer);
|
||||
// Footer component content
|
||||
document.querySelector("footer").innerHTML = `
|
||||
<p>Made with ♥ and the Force by Leilukin | <a href="#page-top">Back to top</a></p>
|
||||
`;
|
|
@ -1,14 +1,10 @@
|
|||
class Header extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.innerHTML = `
|
||||
<header>
|
||||
// Header component content
|
||||
document.querySelector("header").innerHTML = `
|
||||
<img src="/shrines/starwarskotor/img/swkotor-header.jpg" alt="">
|
||||
</header>
|
||||
<nav>
|
||||
`;
|
||||
|
||||
// Navigation component content
|
||||
document.querySelector("nav").innerHTML = `
|
||||
<ul class="nav__menu">
|
||||
<li class="nav__title"><a href="/shrines/starwarskotor/">Star Wars: KotOR</a></li>
|
||||
<li class="nav__item"><a href="/shrines/starwarskotor/">Home</a></li>
|
||||
|
@ -18,9 +14,4 @@ class Header extends HTMLElement {
|
|||
<li class="nav__item"><a href="/home.html">Main Site</a></li>
|
||||
<li class="nav__toggle"><a href="#"><i class="fas fa-bars"></i></a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('header-component', Header);
|
||||
`;
|
|
@ -1,14 +1,7 @@
|
|||
class RightSidebarContent extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.innerHTML = `
|
||||
// Sidebar content
|
||||
document.querySelector(".right-sidebar").innerHTML = `
|
||||
<div class="sidebar--sticky">
|
||||
<h2>About</h2>
|
||||
<p><em>Star Wars: Knights of the Old Republic</em> is a space opera role-playing video game series that takes place in the <em>Star Wars</em> universe. The story takes place approximately 4,000 years before the rise of the Galactic Empire.</p>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('right-sidebar-component', RightSidebarContent);
|
||||
</div>
|
||||
`;
|
|
@ -27,7 +27,8 @@
|
|||
<title>Guides | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -59,11 +60,8 @@
|
|||
</section>
|
||||
</div>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Juhani Romance Guide | Guides | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<aside class="left-sidebar">
|
||||
<div class="sidebar__toc">
|
||||
|
@ -184,11 +185,9 @@
|
|||
</section>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
<aside class="right-sidebar"></aside>
|
||||
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Redeeming Bastila Guide | Guides | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<aside class="left-sidebar">
|
||||
<div class="sidebar__toc">
|
||||
|
@ -151,11 +152,8 @@
|
|||
</section>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Sandral-Matale Feud Ending Guide | Guides | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -111,11 +112,8 @@
|
|||
</section>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -59,11 +60,9 @@
|
|||
</section>
|
||||
</div>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
<aside class="right-sidebar"></aside>
|
||||
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Resources | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -88,11 +89,8 @@
|
|||
</section>
|
||||
</div>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>Same-Gender Romance Mods for KotOR Series | Resources | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<aside class="left-sidebar">
|
||||
<h3 class="sidebar__toc-title">Contents</h3>
|
||||
|
@ -202,11 +203,8 @@
|
|||
</section>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>List of KotOR 2 Mods that Allow Female Exiles to Recruit the Handmaiden as a Party Member | Resources | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -64,11 +65,8 @@
|
|||
<p>It is very important to note when it comes to installing mods for <cite>KotOR 2</cite>, <strong>I do NOT recommend using the Steam Workshop</strong>, including the Steam Workshop version of The Sith Lords Restored Contente Mod. because frankly, the Steam Workshop is a mod compatibility nightmare for games like <cite>KotOR 2</cite>. I recommend reading this post: <a href="https://deadlystream.com/topic/7321-why-not-to-use-the-steam-workshop/" target="_blank">Why NOT to Use the Steam Workshop</a>.</p>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,8 @@
|
|||
<title>List of KotOR 2 Mods that Allow Female Exiles to Recruit the Handmaiden as a Party Member | Resources | Star Wars: Knights of the Old Republic Shrine | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -53,11 +54,8 @@
|
|||
<p>Hope you will find this spreadsheet helpful. Enjoy!</p>
|
||||
</article>
|
||||
|
||||
<aside class="right-sidebar">
|
||||
<right-sidebar-component></right-sidebar-component>
|
||||
</aside>
|
||||
|
||||
<aside class="right-sidebar"></aside>
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,8 @@
|
|||
<title>Site Map | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
<header-component></header-component>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
|
@ -111,6 +112,6 @@
|
|||
Right sidebar content here
|
||||
</aside> -->
|
||||
</main>
|
||||
<footer-component></footer-component>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue