Made subtitles more readable after video was added.

This commit is contained in:
Warwick 2020-11-09 18:26:48 +00:00
parent ae7daa5588
commit 3dd74fe4a1
2 changed files with 10 additions and 2 deletions

View file

@ -2,6 +2,7 @@ import { h, render, Component } from "preact";
import { import {
Grid, Grid,
Container, Container,
Paper,
Card, Card,
CardHeader, CardHeader,
CardMedia, CardMedia,
@ -49,7 +50,10 @@ memory footprint returning to this project in my final year of university.`,
return ( return (
<Container> <Container>
<p /> <p />
<Typography variant="h4">Game Projects</Typography> <Card>
<CardHeader title="Game Development Projects" />
</Card>
<p />
<Grid container spacing={3}> <Grid container spacing={3}>
{this.content.map((project) => { {this.content.map((project) => {
return ( return (

View file

@ -1,6 +1,7 @@
import { h, render, Component } from "preact"; import { h, render, Component } from "preact";
import { import {
Container, Container,
Paper,
Card, Card,
CardHeader, CardHeader,
CardMedia, CardMedia,
@ -15,7 +16,10 @@ class WebProjects extends Component {
return ( return (
<Container> <Container>
<p /> <p />
<Typography variant="h4">Web Development Projects</Typography> <Card>
<CardHeader title="Web Development Projects" />
</Card>
<p />
<Card> <Card>
<CardHeader <CardHeader
title="ramble.fm" title="ramble.fm"