Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create example what FAQ page might be like #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 102 additions & 0 deletions faq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />

<title>HelsinkiJS - FAQ</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="author" content="HelsinkiJS team" />
<meta
name="description"
content="Regular monthly JavaScript meetups in Helsinki"
/>
<meta property="og:title" content="HelsinkiJS - FAQ" />
<meta
property="og:description"
content="Regular monthly JavaScript meetups in Helsinki"
/>
<meta
property="og:image"
content="https://helsinkijs.org/assets/helsinki-js.wide.png"
/>
<meta property="og:url" content="https://helsinkijs.org" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@helsinkijs" />
<meta
name="twitter:image"
content="https://helsinkijs.org/assets/helsinki-js.png"
/>

<link
rel="apple-touch-icon"
sizes="180x180"
href="./apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./favicon-16x16.png"
/>
<link rel="manifest" href="./site.webmanifest" />
<link rel="mask-icon" href="./safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#ffc40d" />
<meta name="theme-color" content="#F7DF1E" />

<link rel="stylesheet" href="./style.min.css" />

<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-131030386-1"
></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())
gtag('config', 'UA-131030386-1')
</script>
</head>

<body>
<div class="wrapper">
<div class="placeholder">
<div class="image">
<img src="./assets/cathedral2.svg" alt="HelsinkiJS logo" />
</div>

<h1>FAQ</h1>
<section class="faq">
<div>
<p class="question">Where are meetups held?</p>
<p class="answer">Different place every month.</p>
</div>
<div>
<p class="question">
Is there a fixed date for the event every month?
</p>
<p class="answer">No</p>
</div>
<div>
<p class="question">
How many talks are there per event?
</p>
<p class="answer">Usually three.</p>
</div>
<div>
<p class="question">How long should my talk be?</p>
<p class="answer">...</p>
</div>
</section>
</div>
</div>
</body>
</html>
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ <h1>HelsinkiJS</h1>
<p class="link">
<a href="https://meetabit.com/communities/helsinkijs/talk_proposals/new">Become a speaker</a>
</p>
<p class="link">
<a href="faq.html">FAQ</a>
</p>
</div>
</div>
</body>
Expand Down
22 changes: 17 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*the font is selected based on the suggestion from here: https://www.quora.com/What-Google-Font-looks-most-similar-to-Neutraface-Text*/
@import url("https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,600,700");
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,600,700');

* {
margin: 0;
Expand All @@ -15,7 +15,7 @@ body {
position: relative;
width: 100%;
height: 100vh;
background-color:#F7DF1E; /* #fde201*/
background-color: #f7df1e; /* #fde201*/
}

@media (min-width: 320px) and (max-width: 767px) {
Expand Down Expand Up @@ -65,7 +65,7 @@ body {

p {
vertical-align: middle;
font-family: "Josefin Sans", sans-serif;
font-family: 'Josefin Sans', sans-serif;
font-weight: 300;
min-height: 40px;
-webkit-box-flex: 1;
Expand All @@ -83,7 +83,7 @@ p {

p.about {
text-align: center;
font-family: "Josefin Sans", sans-serif;
font-family: 'Josefin Sans', sans-serif;
font-weight: 400;
font-size: 1em;
line-height: 1.5;
Expand Down Expand Up @@ -118,7 +118,7 @@ img {

h1 {
text-align: center;
font-family: "Josefin Sans", sans-serif;
font-family: 'Josefin Sans', sans-serif;
font-weight: 700;
font-size: 6em;
-webkit-box-flex: 3;
Expand Down Expand Up @@ -158,3 +158,15 @@ p.link > a {
p.link > a:hover {
padding-bottom: 10px;
}

.faq {
display: flex;
flex-flow: column wrap;
min-width: 360px;
margin: 0 auto;
padding-top: 1rem;
}

.faq .question {
font-weight: 400;
}
2 changes: 1 addition & 1 deletion style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.