mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-11 00:24:12 +02:00
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
.DS_Store
|
||||
.netlify
|
||||
dist
|
||||
node_modules
|
||||
|
@@ -13,7 +13,7 @@ const Footer: React.FC<{}> = () => {
|
||||
<div className="container">
|
||||
<div className="footer__about">
|
||||
<div className="footer__author">
|
||||
<div>© 2020-{new Date().getFullYear()} Nguyen Huu Phuoc.</div>
|
||||
<div>© 2019-{new Date().getFullYear()} Nguyen Huu Phuoc.</div>
|
||||
<div>All rights reserved</div>
|
||||
</div>
|
||||
<a className="footer__social" href="https://twitter.com/nghuuphuoc" rel="noopener noreferrer" target="_blank">
|
||||
|
@@ -1,26 +0,0 @@
|
||||
/**
|
||||
* A collection of popular layouts and patterns made with CSS (https://csslayout.io)
|
||||
* (c) 2019 - 2020 Nguyen Huu Phuoc <https://twitter.com/nghuuphuoc>
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
|
||||
const ProductHuntBadge: React.FC<{}> = () => {
|
||||
return (
|
||||
<a
|
||||
href="https://www.producthunt.com/posts/css-layout?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-css-layout"
|
||||
target="_blank"
|
||||
>
|
||||
<img
|
||||
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=176424&theme=light"
|
||||
alt="CSS Layout - Most popular layouts and patterns that can be built with CSS | Product Hunt Embed"
|
||||
style={{
|
||||
height: '54px',
|
||||
width: '250px',
|
||||
}}
|
||||
/>
|
||||
</a>
|
||||
);
|
||||
};
|
||||
|
||||
export default ProductHuntBadge;
|
@@ -1,59 +0,0 @@
|
||||
/**
|
||||
* A collection of popular layouts and patterns made with CSS (https://csslayout.io)
|
||||
* (c) 2019 - 2020 Nguyen Huu Phuoc <https://twitter.com/nghuuphuoc>
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
|
||||
const SubscribeForm: React.FC<{}> = () => {
|
||||
return (
|
||||
<div className='text-center mb-8'>
|
||||
<div className='mb-4'>
|
||||
Hit the Subscribe button for the latest news on my tools. No spam. Ever!
|
||||
</div>
|
||||
<form
|
||||
action="https://csslayout.us4.list-manage.com/subscribe/post?u=77d0bf6497a2cdbb36f08587c&id=e8a912009a"
|
||||
method="post"
|
||||
name="mc-embedded-subscribe-form"
|
||||
target="_blank"
|
||||
noValidate={true}
|
||||
style={{
|
||||
margin: 0,
|
||||
}}
|
||||
>
|
||||
<input
|
||||
type="email"
|
||||
name="EMAIL"
|
||||
placeholder="Email address"
|
||||
required={true}
|
||||
style={{
|
||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
||||
borderBottomLeftRadius: '4px',
|
||||
borderTopLeftRadius: '4px',
|
||||
padding: '8px',
|
||||
width: '200px',
|
||||
}}
|
||||
/>
|
||||
<div style={{ left: '-5000px', position: 'absolute' }} aria-hidden="true">
|
||||
<input type="text" name="b_77d0bf6497a2cdbb36f08587c_e8a912009a" tabIndex={-1} />
|
||||
</div>
|
||||
<button
|
||||
type="submit"
|
||||
name="subscribe"
|
||||
style={{
|
||||
backgroundColor: '#00449E',
|
||||
borderBottomRightRadius: '4px',
|
||||
borderColor: 'transparent',
|
||||
borderTopRightRadius: '4px',
|
||||
color: '#FFF',
|
||||
padding: '8px 16px',
|
||||
}}
|
||||
>
|
||||
Subscribe
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SubscribeForm;
|
Reference in New Issue
Block a user