Skip to content

Commit bc281e7

Browse files
Page responsiveness
* Worked on the landing page's responsiveness Signed-off-by: Stanley Masinde <[email protected]>
1 parent de3b85e commit bc281e7

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ module.exports = {
6666
/*
6767
** You can extend webpack config here
6868
*/
69-
extend(config, ctx) { }
69+
extend(config, ctx) {}
7070
}
7171
}

pages/index.vue

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@
77
src="/logo.png"
88
class="mx-auto img-fluid"
99
></b-img>
10-
<h2 class="title">opensource254</h2>
11-
<h2 class="subtitle">official website for opensource254</h2>
10+
<h1 class="title">
11+
open<span class="green-color">source</span><span class="red">254</span>
12+
</h1>
1213
<div class="links">
1314
<a
1415
href="https://github.com/Opensource254"
1516
target="_blank"
16-
class="button--green"
17+
class="btn btn-outline-primary btn-lg"
1718
>Github</a
1819
>
1920
<a
2021
href="https://join.slack.com/t/opensource254/shared_invite/zt-dfkd2h0m-zWzQn8WSeYoUICl3GNOncw"
2122
target="_blank"
22-
class="button--primary"
23+
class="btn btn-outline-secondary btn-lg"
2324
>Slack</a
2425
>
2526
</div>
@@ -34,6 +35,12 @@ export default {
3435
</script>
3536

3637
<style>
38+
.red {
39+
color: #ff0000;
40+
}
41+
.green-color {
42+
color: #00ff4c;
43+
}
3744
.container {
3845
margin: 0 auto;
3946
min-height: 100vh;
@@ -44,12 +51,12 @@ export default {
4451
}
4552
4653
.title {
47-
font-family: 'Quicksand', 'Source Sans Pro', -apple-system, BlinkMacSystemFont,
48-
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
54+
font-family: 'Ubuntu', 'Quicksand', 'Source Sans Pro', -apple-system,
55+
BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
4956
display: block;
50-
font-weight: 300;
51-
font-size: 70px;
52-
color: #35495e;
57+
font-weight: 500;
58+
font-size: 45px;
59+
color: #080808;
5360
letter-spacing: 1px;
5461
}
5562

server/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const consola = require('consola')
33
const { Nuxt, Builder } = require('nuxt')
44
const app = express()
55
const config = require('../nuxt.config.js')
6-
//const apiRoutes = require('./routes/api')
6+
// const apiRoutes = require('./routes/api')
77

88
// Import and Set Nuxt.js options
99
config.dev = process.env.NODE_ENV !== 'production'
@@ -13,7 +13,7 @@ config.dev = process.env.NODE_ENV !== 'production'
1313
* API ROUTES called before NUXT
1414
* ============================================================
1515
*/
16-
//app.use('/api', apiRoutes)
16+
// app.use('/api', apiRoutes)
1717

1818
async function start() {
1919
// Init Nuxt.js

0 commit comments

Comments
 (0)