Add Licenses
This commit is contained in:
		
							
								
								
									
										22
									
								
								LICENSE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								LICENSE
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| MIT License | ||||
|  | ||||
| Copyright (c) 2022 Michal Vanko | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| of this software and associated documentation files (the "Software"), to deal | ||||
| in the Software without restriction, including without limitation the rights | ||||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| copies of the Software, and to permit persons to whom the Software is | ||||
| furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
| SOFTWARE. | ||||
|  | ||||
| @@ -71,10 +71,6 @@ export const sectionListSectionClass = sprinkles({ | ||||
|   marginY: '3x', | ||||
| }) | ||||
|  | ||||
| export const noWrapClass = sprinkles({ | ||||
|   whiteSpace: 'nowrap', | ||||
| }) | ||||
|  | ||||
| export const listUlClass = sprinkles({ | ||||
|   listStyle: 'none', | ||||
|   padding: 'none', | ||||
| @@ -148,6 +144,12 @@ export const hrClass = style([ | ||||
|   }, | ||||
| ]) | ||||
|  | ||||
| export const licenceText = sprinkles({ | ||||
|   textAlign: 'center', | ||||
|   width: 'parent', | ||||
|   fontSize: 'xs', | ||||
| }) | ||||
|  | ||||
| export const latestPostsClass = style({}) | ||||
|  | ||||
| globalStyle(`${siteFooterClass} a`, { | ||||
| @@ -165,4 +167,3 @@ globalStyle(`${siteFooterClass} a:hover`, { | ||||
| globalStyle(`${latestPostsClass} li a:visited:not(:hover)`, { | ||||
|   color: vars.color.linkVisited, | ||||
| }) | ||||
|  | ||||
|   | ||||
| @@ -12,7 +12,6 @@ | ||||
|     listLiClass, | ||||
|     listUlClass, | ||||
|     nestedListLiClass, | ||||
|     noWrapClass, | ||||
|     sectionListsClass, | ||||
|     sectionListSectionClass, | ||||
|     siteFooterClass, | ||||
| @@ -20,6 +19,7 @@ | ||||
|     socialLinkLabelClass, | ||||
|     strokeSvgClass, | ||||
|     svgClass, | ||||
|     licenceText, | ||||
|   } from './Footer.css' | ||||
|  | ||||
|   export let latestPosts: PostContent[] | ||||
| @@ -154,7 +154,46 @@ | ||||
|     </section> | ||||
|   </div> | ||||
|   <footer class={bottomLineClass}> | ||||
|     <span class={noWrapClass}>Created by @michalvankodev</span> | ||||
|     <span class={noWrapClass}>© 2020</span> | ||||
|     <p | ||||
|       class={licenceText} | ||||
|       xmlns:cc="http://creativecommons.org/ns#" | ||||
|       xmlns:dct="http://purl.org/dc/terms/" | ||||
|     > | ||||
|       <a | ||||
|         property="dct:title" | ||||
|         rel="cc:attributionURL" | ||||
|         href="https://michalvanko.dev/">michalvanko.dev</a | ||||
|       > | ||||
|       by | ||||
|       <a | ||||
|         rel="cc:attributionURL dct:creator" | ||||
|         property="cc:attributionName" | ||||
|         href="https://michalvanko.dev/">Michal Vanko</a | ||||
|       > | ||||
|       is licensed under | ||||
|       <a | ||||
|         href="http://creativecommons.org/licenses/by-nc-nd/4.0/?ref=chooser-v1" | ||||
|         target="_blank" | ||||
|         rel="license noopener noreferrer" | ||||
|         style="display:inline-block;" | ||||
|         >CC BY-NC-ND 4.0<img | ||||
|           style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" | ||||
|           src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" | ||||
|           alt="cc" | ||||
|         /><img | ||||
|           style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" | ||||
|           src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" | ||||
|           alt="by" | ||||
|         /><img | ||||
|           style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" | ||||
|           src="https://mirrors.creativecommons.org/presskit/icons/nc.svg?ref=chooser-v1" | ||||
|           alt="nc" | ||||
|         /><img | ||||
|           style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" | ||||
|           src="https://mirrors.creativecommons.org/presskit/icons/nd.svg?ref=chooser-v1" | ||||
|           alt="nd" | ||||
|         /></a | ||||
|       > | ||||
|     </p> | ||||
|   </footer> | ||||
| </footer> | ||||
|   | ||||
| @@ -9,7 +9,10 @@ const dev = mode === 'development' | ||||
| const config = { | ||||
|   kit: { | ||||
|     adapter: adapterStatic(), | ||||
|     vite: { plugins: [vanillaExtractPlugin()] }, | ||||
|     vite: { | ||||
|       plugins: [vanillaExtractPlugin()], | ||||
|       server: { fs: { allow: ['static/build'] } }, | ||||
|     }, | ||||
|     prerender: { default: true }, | ||||
|   }, | ||||
|   preprocess: preprocess({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user