Skip to content

Commit 09d6a7c

Browse files
author
Greg Bowler
committed
Style empty repo list
1 parent f75feec commit 09d6a7c

File tree

7 files changed

+50
-5
lines changed

7 files changed

+50
-5
lines changed

log.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ Check accessibility of controls
1212
Add hero section and iframe for presentation
1313
Smooth scroll clicking logo
1414
Begin styling concertina (complex due to different display on mobile/desktop)
15-
Add pips to centre of concertina circles
15+
Add pips to centre of concertina circles
16+
Style empty repo list

page/index.html

+19
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,25 @@ <h1>
122122
The repositories of PHP.Gt
123123
</h1>
124124

125+
<p>
126+
PHP.Gt is a collection of open source programming tools that bring modern web development to PHP.
127+
</p>
128+
<p>
129+
Each PHP.Gt code repository can be used individually within existing projects, or used together within WebEngine.
130+
</p>
131+
<p>
132+
Sorted by number of Github stars.
133+
</p>
134+
135+
<ul>
136+
<li>
137+
<a href="/docs/{repo}">
138+
<h1>Repo Name</h1>
139+
<p>Repo description.</p>
140+
</a>
141+
</li>
142+
</ul>
143+
125144
</section>
126145

127146
<section class="_contributing">

page/index.php

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
namespace Gt\Website\Page;
3+
4+
use Gt\WebEngine\Logic\Page;
5+
6+
class IndexPage extends Page {
7+
public function go() {
8+
$this->document->querySelector("._repo-list");
9+
}
10+
}

style/component/intro-features.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
> div {
7676
position: relative;
77-
width: 100vw;
77+
//width: 100vw;
7878
height: 75vw;
7979
max-width: $break-s;
8080
max-height: 26rem;

style/component/repo-list.scss

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
._repo-list {
2+
background: $palette-panel-dark;
3+
color: $palette-text-alt;
4+
5+
>h1 {
6+
@extend %gutter, %padding-m;
7+
color: $palette-6;
8+
font-size: $font-size-l;
9+
}
10+
11+
>p {
12+
@extend %gutter, %padding-m, %padding-horizontal, %reading-column-s;
13+
}
14+
}

style/main.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@
3131
@import "component/site-nav";
3232
@import "component/hero";
3333
@import "component/intro";
34-
@import "component/intro-features";
34+
@import "component/intro-features";
35+
@import "component/repo-list";

style/var/palette.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ $palette-1-dark: #034B67;
1111
$palette-panel-light: #F0F4F4;
1212
$palette-panel-dark: #3D3D44;
1313

14-
$palette-positive: $palette-5;
15-
$palette-negative: $palette-3;
14+
$palette-text: #034B67;
15+
$palette-text-alt: #F0F4F4

0 commit comments

Comments
 (0)