feat(certs): Convert certification views to gatsby
This commit is contained in:
committed by
mrugesh mohapatra
parent
dc00eb8555
commit
77a4452437
@@ -1,10 +1,20 @@
|
||||
import React, { Component } from 'react';
|
||||
import { Router } from '@reach/router';
|
||||
|
||||
import Redirecthome from '../components/RedirectHome';
|
||||
import ShowCertification from '../client-only-routes/ShowCertification';
|
||||
|
||||
import './certification.css';
|
||||
|
||||
|
||||
class Certification extends Component {
|
||||
render() {
|
||||
return <h2>Certs</h2>;
|
||||
return (
|
||||
<Router>
|
||||
<ShowCertification path='/certification/:username/:certName' />
|
||||
<Redirecthome default={true} />
|
||||
</Router>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user