Improve welcome page
This commit is contained in:
		
							parent
							
								
									11f25ea2e7
								
							
						
					
					
						commit
						380cf0de69
					
				
					 6 changed files with 295 additions and 186 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								assets/about/drive.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/about/drive.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 110 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/about/post.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/about/post.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 344 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/about/reaction.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/about/reaction.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 24 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/about/ui.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/about/ui.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 125 KiB | 
|  | @ -6,6 +6,19 @@ common: | |||
|   misskey: "A ⭐ of fediverse" | ||||
|   about-title: "A ⭐ of fediverse." | ||||
|   about: "Misskeyを見つけていただき、ありがとうございます。Misskeyは、地球で生まれた<b>分散マイクロブログSNS</b>です。Fediverse(様々なSNSで構成される宇宙)の中に存在するため、他のSNSと相互に繋がっています。暫し都会の喧騒から離れて、新しいインターネットにダイブしてみませんか。" | ||||
|   intro: | ||||
|     title: "Misskeyって?" | ||||
|     about: "Misskeyはオープンソースの<b>分散型マイクロブログSNS</b>です。リッチで高度にカスタマイズできるUI、投稿へのリアクション、ファイルを一元管理できるドライブなど、先進的な機能を揃えています。また、Fediverseと呼ばれるネットワークに接続できるため、他のSNSともやり取りできます。例えば、あなたが何か投稿すると、その投稿はMisskeyだけでなく他のSNSにも伝わります。ちょうどある惑星から他の惑星に電波を発信している様子をイメージしてください。" | ||||
|     features: "特徴" | ||||
|     rich-contents: "投稿" | ||||
|     rich-contents-desc: "自分の考え、話題の出来事、皆と共有したいことについて発信してください。必要であれば、様々な構文を使って投稿を装飾したり、好きな画像、動画などのファイルやアンケートを添付することもできます。" | ||||
|     reaction: "リアクション" | ||||
|     reaction-desc: "あなたの気持ちを伝える最も簡単な方法です。Misskeyは、他のユーザーの投稿に様々なリアクションを付けることができます。いちどMisskeyのリアクション機能を体験してしまうと、もう「いいね」の概念しか存在しないSNSには戻れなくなるかもしれません。" | ||||
|     ui: "インターフェース" | ||||
|     ui-desc: "どのようなUIが使いやすいかは人それぞれです。だから、Misskeyは自由度の高いUIを持っています。レイアウトやデザインを調整したり、カスタマイズ可能な様々なウィジェットを配置したりして、自分だけのホームを作ってください。" | ||||
|     drive: "ドライブ" | ||||
|     drive-desc: "以前投稿したことのある画像をまた投稿したくなったことはありませんか?もしくは、アップロードしたファイルをフォルダ分けして整理したくなったことはありませんか?Misskeyの根幹に組み込まれたドライブ機能によってそれらが解決します。ファイルの共有も簡単です。" | ||||
|     outro: "他にもMisskeyにしかない機能はまだまだあるので、ぜひあなた自身の目で確かめてください。Misskeyは分散型SNSなので、このインスタンスが気に入らなければ他のインスタンスを試すこともできます。それでは、GLHF!" | ||||
|   adblock: | ||||
|     detected: "広告ブロッカーを無効にしてください" | ||||
|     warning: "<strong>Misskeyは広告を掲載していません</strong>が、広告をブロックする機能が有効だと一部の機能が利用できなかったり、不具合が発生する場合があります。" | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ | |||
| 
 | ||||
| 	<mk-forkit class="forkit"/> | ||||
| 
 | ||||
| 	<main> | ||||
| 		<div class="body"> | ||||
| 			<div class="main block"> | ||||
| 				<div> | ||||
|  | @ -22,6 +23,7 @@ | |||
| 					</div> | ||||
| 
 | ||||
| 					<p class="desc" v-html="description || '%i18n:common.about%'"></p> | ||||
| 					<a class="about" @click="about">%i18n:@about%</a> | ||||
| 
 | ||||
| 					<p class="sign"> | ||||
| 						<span class="signup" @click="signup">%i18n:@signup%</span> | ||||
|  | @ -87,6 +89,46 @@ | |||
| 				</div> | ||||
| 			</div> | ||||
| 		</div> | ||||
| 	</main> | ||||
| 
 | ||||
| 	<modal name="about" :class="$store.state.device.darkmode ? ['about', 'modal-dark'] : ['about', 'modal-light']" width="800px" height="auto" scrollable> | ||||
| 		<article class="fpdezooorhntlzyeszemrsqdlgbysvxq"> | ||||
| 			<h1>%i18n:common.intro.title%</h1> | ||||
| 			<p v-html="'%i18n:common.intro.about%'"></p> | ||||
| 			<section> | ||||
| 				<h2>%i18n:common.intro.features%</h2> | ||||
| 				<section> | ||||
| 					<div class="body"> | ||||
| 						<h3>%i18n:common.intro.rich-contents%</h3> | ||||
| 						<p v-html="'%i18n:common.intro.rich-contents-desc%'"></p> | ||||
| 					</div> | ||||
| 					<div class="image"><img src="/assets/about/post.png" alt=""></div> | ||||
| 				</section> | ||||
| 				<section> | ||||
| 					<div class="body"> | ||||
| 						<h3>%i18n:common.intro.reaction%</h3> | ||||
| 						<p v-html="'%i18n:common.intro.reaction-desc%'"></p> | ||||
| 					</div> | ||||
| 					<div class="image"><img src="/assets/about/reaction.png" alt=""></div> | ||||
| 				</section> | ||||
| 				<section> | ||||
| 					<div class="body"> | ||||
| 						<h3>%i18n:common.intro.ui%</h3> | ||||
| 						<p v-html="'%i18n:common.intro.ui-desc%'"></p> | ||||
| 					</div> | ||||
| 					<div class="image"><img src="/assets/about/ui.png" alt=""></div> | ||||
| 				</section> | ||||
| 				<section> | ||||
| 					<div class="body"> | ||||
| 						<h3>%i18n:common.intro.drive%</h3> | ||||
| 						<p v-html="'%i18n:common.intro.drive-desc%'"></p> | ||||
| 					</div> | ||||
| 					<div class="image"><img src="/assets/about/drive.png" alt=""></div> | ||||
| 				</section> | ||||
| 			</section> | ||||
| 			<p v-html="'%i18n:common.intro.outro%'"></p> | ||||
| 		</article> | ||||
| 	</modal> | ||||
| 
 | ||||
| 	<modal name="signup" :class="$store.state.device.darkmode ? 'modal-dark' : 'modal-light'" width="450px" height="auto" scrollable> | ||||
| 		<header class="formHeader">%i18n:@signup%</header> | ||||
|  | @ -147,6 +189,10 @@ export default Vue.extend({ | |||
| 	}, | ||||
| 
 | ||||
| 	methods: { | ||||
| 		about() { | ||||
| 			this.$modal.show('about'); | ||||
| 		}, | ||||
| 
 | ||||
| 		signup() { | ||||
| 			this.$modal.show('signup'); | ||||
| 		}, | ||||
|  | @ -199,6 +245,54 @@ export default Vue.extend({ | |||
| 		margin 0 48px | ||||
| 		font-size 1.5em | ||||
| 
 | ||||
| .v--modal-overlay.about | ||||
| 	.v--modal-box.v--modal | ||||
| 		margin 32px 0 | ||||
| 
 | ||||
| .fpdezooorhntlzyeszemrsqdlgbysvxq | ||||
| 	padding 64px | ||||
| 
 | ||||
| 	> p:last-child | ||||
| 		margin-bottom 0 | ||||
| 
 | ||||
| 	> h1 | ||||
| 		margin-top 0 | ||||
| 
 | ||||
| 	> section | ||||
| 		> h2 | ||||
| 			border-bottom 1px solid isDark ? rgba(#000, 0.2) : rgba(#000, 0.05) | ||||
| 
 | ||||
| 		> section | ||||
| 			display grid | ||||
| 			grid-template-rows 1fr | ||||
| 			grid-template-columns 180px 1fr | ||||
| 			gap 32px | ||||
| 			margin-bottom 32px | ||||
| 			padding-bottom 32px | ||||
| 			border-bottom 1px solid isDark ? rgba(#000, 0.2) : rgba(#000, 0.05) | ||||
| 
 | ||||
| 			&:nth-child(odd) | ||||
| 				grid-template-columns 1fr 180px | ||||
| 
 | ||||
| 				> .body | ||||
| 					grid-column 1 | ||||
| 
 | ||||
| 				> .image | ||||
| 					grid-column 2 | ||||
| 
 | ||||
| 			> .body | ||||
| 				grid-row 1 | ||||
| 				grid-column 2 | ||||
| 
 | ||||
| 			> .image | ||||
| 				grid-row 1 | ||||
| 				grid-column 1 | ||||
| 
 | ||||
| 				> img | ||||
| 					display block | ||||
| 					width 100% | ||||
| 					height 100% | ||||
| 					object-fit cover | ||||
| </style> | ||||
| 
 | ||||
| <style lang="stylus" scoped> | ||||
|  | @ -226,16 +320,11 @@ root(isDark) | |||
| 		font-size 18px | ||||
| 		color isDark ? #fff : #444 | ||||
| 
 | ||||
| 	> .body | ||||
| 		display grid | ||||
| 		grid-template-rows 1fr 1fr 256px 64px | ||||
| 		grid-template-columns 1fr 1fr 350px | ||||
| 		gap 16px | ||||
| 		width 100% | ||||
| 		max-width 1200px | ||||
| 		height 1200px | ||||
| 	> main | ||||
| 		margin 0 auto | ||||
| 		padding 64px | ||||
| 		width 100% | ||||
| 		max-width 1200px | ||||
| 
 | ||||
| 		.block | ||||
| 			color isDark ? #fff : #444 | ||||
|  | @ -259,6 +348,13 @@ root(isDark) | |||
| 			> div | ||||
| 				overflow auto | ||||
| 
 | ||||
| 		> .body | ||||
| 			display grid | ||||
| 			grid-template-rows 1fr 1fr 256px 64px | ||||
| 			grid-template-columns 1fr 1fr 350px | ||||
| 			gap 16px | ||||
| 			height 1200px | ||||
| 
 | ||||
| 			> .main | ||||
| 				grid-row 1 | ||||
| 				grid-column 1 / 3 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue