152 lines
7.3 KiB
HTML
152 lines
7.3 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
|
||
<head>
|
||
|
||
<!-- Page Information
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||
<meta charset="utf-8">
|
||
<title>Syrell</title>
|
||
|
||
<!-- Mobile Specific Metas
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
||
<!-- CSS
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||
<link rel="stylesheet" href="css/normalize.css">
|
||
|
||
<!-- Themes:
|
||
Auto: css/skeleton-auto.css
|
||
Light: css/skeleton-light.css
|
||
Dark: css/skeleton-dark.css
|
||
-->
|
||
<script>
|
||
function setTheme() {
|
||
var decider = document.getElementById('darkmode-toggle').checked ? 'dark' : 'light';
|
||
document.head.insertAdjacentHTML(
|
||
'beforeend',
|
||
`<link rel="stylesheet" href="css/skeleton-${decider}.css" onload="document.documentElement.style.display = \'\'">`
|
||
);
|
||
}
|
||
</script>
|
||
<link rel="stylesheet" href="css/skeleton-auto.css">
|
||
|
||
<!-- Brand Styles -->
|
||
<link rel="stylesheet" href="css/brands.css">
|
||
|
||
<!-- Favicon
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||
<link rel="icon" type="image/png" href="images/littlelink.png">
|
||
|
||
</head>
|
||
|
||
<body>
|
||
|
||
<!-- Primary Page Layout
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||
<div class="container">
|
||
<div class="row">
|
||
<div class="column" style="margin-top: 10%">
|
||
|
||
<!--
|
||
|
||
## Getting Started with LittleLink
|
||
|
||
This page has been built with every pre-designed button available in LittleLink by default. You can rearrange and delete as needed.
|
||
|
||
You can add your own brand or others brands you may need in the `css/brands.css` file.
|
||
|
||
You can add custom icons to `images/icons/...`. It is recommended to use a 24x24 .SVG.
|
||
|
||
Edit the "Your Image Here" section to add your own personal branding, like a picture of yourself or your brand logo!
|
||
|
||
Edit the "Title" section to change the page heading. You can use something like your name, your social handle, or your brand name.
|
||
|
||
Edit the "Short Bio" section tell users about yourself or your brand.
|
||
|
||
-->
|
||
|
||
<!-- Your Image Here -->
|
||
<img src="images/parrot.png" class="avatar" srcset="images/parrot.png 2x" alt="">
|
||
|
||
<!-- Title -->
|
||
<h1 role="heading">Syrell</h1>
|
||
|
||
<!-- Short Bio -->
|
||
|
||
<!--
|
||
|
||
## Breaking down <a> attributes:
|
||
|
||
1.) class="button button-default" | The first "button" here is telling this <a> tag that it should make this element a button and applies the default styling in `css/brands.css`.
|
||
The second portion, button-default, is declaring the specific brand style you would like to apply. Here we're applying the "default" style and color.
|
||
If you want to make this button to use the brand colors for Discord, just change "button-default" to "button-discord". Brands are found in `css/brands.css`. You can always edit & add your own there.
|
||
|
||
2.) Replace the # in href="#" with the desired target URL for the button.
|
||
|
||
3.) target="_blank" | This attribute opens links in a new tab. Remove this attribute to prevent links from opening in a new tab.
|
||
|
||
4.) rel="noopener" | This attribute instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it.
|
||
This is especially useful when opening untrusted links. https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/noopener
|
||
|
||
5.) role="button" | The button role identifies an element as a button to assistive technology such as screen readers.
|
||
|
||
## Breaking down the <img> attributes:
|
||
|
||
1.) class="icon" | This class is telling the <img> tag that it should use the styling for icons found in `css/brands.css`.
|
||
|
||
2.) src="images/icons/[icon-name].svg" | This defines the icon you would like to display from the 'images/icons/' folder. For example, you can change this to src="images/icons/discord.svg" to use the Discord icon.
|
||
Add your own 24x24 icons to the "icons" folder to reference them. We recommend providing a SVG.
|
||
|
||
3.) alt="" | Since the text at the end of the snippet, "..>[Button Text]</a><br>", explains what the button is, we use "alt=""" to nullify the icon annoucement from the accessibility tree.
|
||
This can improve the experience for assistive technology users by hiding what is essentially duplicated
|
||
|
||
-->
|
||
<input type="checkbox" id="darkmode-toggle" onclick="setTheme()"/>
|
||
<label for="darkmode-toggle"></label>
|
||
|
||
<script>
|
||
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||
document.getElementById("darkmode-toggle").checked = true;
|
||
}
|
||
else {
|
||
document.getElementById("darkmode-toggle").checked = false;
|
||
}
|
||
</script>
|
||
|
||
<!-- Email -->
|
||
<a class="button button-default" href="mailto:contact@syyrell.com" target="_blank" rel="noopener" role="button"><img class="icon" src="images/icons/generic-email.svg" alt="">Email</a><br>
|
||
|
||
<!-- GPG -->
|
||
<a class="button button-gpg" href="https://git.syyrell.com/syrell.gpg" target="_blank" rel="noopener" role="button"><img class="icon" src="images/icons/gpg.svg" alt="">GPG</a><br>
|
||
|
||
<!-- Gitea -->
|
||
<a class="button button-gitea" href="https://git.syyrell.com/syrell" target="_blank" rel="noopener" role="button"><img class="icon" src="images/icons/gitea.svg" alt="">Gitea</a><br>
|
||
|
||
<!-- GitLab -->
|
||
<a class="button button-gitlab" href="https://gitlab.com/syrell" target="_blank" rel="noopener" role="button"><img class="icon" src="images/icons/gitlab.svg" alt="">GitLab</a><br>
|
||
|
||
<!-- Hedgedoc -->
|
||
<a class="button button-hedgedoc" href="https://hedgedoc.syyrell.com/" target="_blank" rel="noopener" role="button"><img class="icon icon-hedgedoc" src="images/icons/hedgedoc.png" alt="">Hedgedoc</a><br>
|
||
|
||
<!-- Mealie -->
|
||
<a class="button button-mealie" href="https://food.syyrell.com/" target="_blank" rel="noopener" role="button"><img class="icon icon-mealie" src="images/icons/mealie.png" alt="">Mealie</a><br>
|
||
|
||
<!--
|
||
Footer:
|
||
This includes a link to privacy.html page which can be setup for your Privacy Policy.
|
||
This also includes a link to the LittleLink repository to make forking LittleLink easier.
|
||
You can edit or remove anything here to make your own footer.
|
||
-->
|
||
<p>© Syrell</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- End Document
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||
</body>
|
||
|
||
</html>
|